added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,131 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Based on gtksourceview 'classic'
This file is part of GtkSourceView
Copyright (C) 2006-2007 GtkSourceView team
Author: Yevgen Muntyan <muntyan@tamu.edu>
GtkSourceView is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
GtkSourceView is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-->
<style-scheme id="classic-light" _name="Classic-Light" version="1.0">
<author>GtkSourceView team</author>
<_description>Classic color scheme light</_description>
<!-- The scheme tries to look like the default GVim scheme,
since it is also what the hardwired GtkSourceView 1 color
scheme did -->
<!-- Palette -->
<color name="black" value="#000000"/>
<color name="white" value="#FFFFFF"/>
<color name="blue" value="#0000FF"/>
<color name="magenta" value="#FF00FF"/>
<color name="violet" value="#6A5ACD"/>
<color name="cyan" value="#008A8C"/>
<color name="gray" value="#BEBEBE"/>
<color name="lightgray" value="#E0E0E0"/>
<color name="green" value="#2E8B57"/>
<color name="bordeaux" value="#A52A2A"/>
<color name="red" value="#FF0000"/>
<color name="yellow" value="#FFFF00"/>
<color name="purple" value="#A020F0"/>
<!-- Global Settings -->
<style name="current-line" background="#eeeeec"/>
<style name="current-line-number" background="#eeeeec"/>
<style name="draw-spaces" foreground="#babdb6"/>
<style name="background-pattern" background="#f3f3f3"/>
<style name="text" foreground="black" background="white"/>
<style name="selection" background="gray"/>
<style name="cursor" foreground="black"/>
<style name="line-numbers" foreground="black" background="gray"/>
<!-- Bracket Matching -->
<style name="bracket-match" foreground="white" background="gray"/>
<style name="bracket-mismatch" foreground="white" background="red"/>
<!-- Right Margin -->
<style name="right-margin" foreground="#000000" background="#000000"/>
<!-- Search Matching -->
<style name="search-match" background="yellow"/>
<!-- Comments -->
<style name="def:comment" foreground="blue"/>
<style name="def:shebang" foreground="blue" bold="true"/>
<style name="def:doc-comment-element" italic="true"/>
<!-- Constants -->
<style name="def:constant" foreground="magenta"/>
<style name="def:special-char" foreground="violet"/>
<!-- Identifiers -->
<style name="def:identifier" foreground="cyan"/>
<!-- Statements -->
<style name="def:statement" foreground="bordeaux" bold="true"/>
<!-- Types -->
<style name="def:type" foreground="green" bold="true"/>
<!-- Others -->
<style name="def:preprocessor" foreground="purple"/>
<style name="def:error" background="red" bold="true"/>
<style name="def:warning" background="yellow"/>
<style name="def:note" foreground="blue" background="yellow" bold="true"/>
<style name="def:underlined" italic="true" underline="single"/>
<!-- Heading styles, uncomment to enable -->
<!--
<style name="def:heading0" scale="5.0"/>
<style name="def:heading1" scale="2.5"/>
<style name="def:heading2" scale="2.0"/>
<style name="def:heading3" scale="1.7"/>
<style name="def:heading4" scale="1.5"/>
<style name="def:heading5" scale="1.3"/>
<style name="def:heading6" scale="1.2"/>
-->
<!-- Language specific styles -->
<style name="diff:added-line" foreground="#008B8B"/>
<style name="diff:removed-line" foreground="#6A5ACD"/>
<style name="diff:changed-line" use-style="def:preprocessor"/>
<style name="diff:special-case" use-style="def:constant"/>
<style name="diff:location" use-style="def:statement"/>
<style name="diff:diff-file" use-style="def:type"/>
<style name="xml:tags" foreground="cyan"/>
<style name="xml:attribute-name" foreground="violet"/>
<style name="xml:namespace" foreground="green" bold="true"/>
<style name="js:object" foreground="#2E8B57" bold="true"/>
<style name="js:constructors" foreground="#008B8B"/>
<style name="latex:display-math" foreground="#6A5ACD"/>
<style name="latex:command" foreground="#2E8B57" bold="true"/>
<style name="latex:include" use-style="def:preprocessor"/>
<style name="sh:variable" foreground="#6A5ACD"/>
<!-- legacy styles for old lang files -->
<style name="Others" foreground="#2E8B57" bold="true"/>
<style name="Others 2" foreground="#008B8B"/>
<style name="Others 3" foreground="#6A5ACD"/>
</style-scheme>

View File

@@ -0,0 +1,21 @@
DESCRIPTION = "Gtksourceview Classic-Light theme"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://classic-light.xml;beginline=6;endline=23;md5=2b4f75364fad00a4d752214dcbd7d7c3"
inherit allarch
SRC_URI = "file://classic-light.xml"
S = "${WORKDIR}"
do_install() {
install -d ${D}${datadir}/gtksourceview-3.0/styles
install -m 0644 ${WORKDIR}/classic-light.xml ${D}${datadir}/gtksourceview-3.0/styles/
install -d ${D}${datadir}/gtksourceview-4/styles
install -m 0644 ${WORKDIR}/classic-light.xml ${D}${datadir}/gtksourceview-4/styles/
}
FILES:${PN} = " \
${datadir}/gtksourceview-3.0/styles \
${datadir}/gtksourceview-4/styles \
"

View File

@@ -0,0 +1,21 @@
SUMMARY = "Portable C library for multiline text editing"
HOMEPAGE = "http://projects.gnome.org/gtksourceview/"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
DEPENDS = "gtk+3 libxml2 intltool-native gnome-common-native glib-2.0-native"
PNAME = "gtksourceview"
S = "${WORKDIR}/${PNAME}-${PV}"
inherit gnomebase lib_package gettext features_check gtk-doc gobject-introspection upstream-version-is-even
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtksourceview/3.24/${PNAME}-${PV}.tar.xz"
SRC_URI[md5sum] = "b748da426a7d64e1304f0c532b0f2a67"
SRC_URI[sha256sum] = "691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd"
FILES:${PN} += " ${datadir}/gtksourceview-3.0"

View File

@@ -0,0 +1,37 @@
SUMMARY = "Portable C library for multiline text editing"
HOMEPAGE = "http://projects.gnome.org/gtksourceview/"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
DEPENDS = "gtk+3 libxml2 intltool-native gnome-common-native glib-2.0-native"
PNAME = "gtksourceview"
S = "${WORKDIR}/${PNAME}-${PV}"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase lib_package gettext features_check gtk-doc gobject-introspection vala
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
SRC_URI = "https://download.gnome.org/sources/gtksourceview/4.8/${PNAME}-${PV}.tar.xz"
SRC_URI[sha256sum] = "842de7e5cb52000fd810e4be39cd9fe29ffa87477f15da85c18f7b82d45637cc"
GIR_MESON_OPTION = 'gir'
GTKDOC_MESON_OPTION = "gtk_doc"
# Override the definition in meson.bbclass. The dependencies in mason.build are incomplete
# and the recipe will not build with "-j 1". This fix is benign but should be reviewed when
# updating versions.
#
meson_do_compile() {
bbnote "========== generating gtksourceview-gresources.h ========"
bbnote "PARALLEL_MAKE is ${PARALLEL_MAKE}"
ninja ${PARALLEL_MAKE} gtksourceview/gtksourceview-gresources.h
bbnote "========== compiling target all ========"
ninja ${PARALLEL_MAKE}
}
FILES:${PN} += "${datadir}/gtksourceview-4"

View File

@@ -0,0 +1,38 @@
SUMMARY = "Portable C library for multiline text editing"
HOMEPAGE = "http://projects.gnome.org/gtksourceview/"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
DEPENDS = " \
fribidi \
glib-2.0-native \
gnome-common-native \
fontconfig \
gtk4 \
libxml2 \
libpcre2 \
pango \
"
PNAME = "gtksourceview"
S = "${WORKDIR}/${PNAME}-${PV}"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase lib_package gettext features_check gtk-doc gtk-icon-cache gobject-introspection vala
REQUIRED_DISTRO_FEATURES = "opengl"
SRC_URI = "https://download.gnome.org/sources/gtksourceview/5.7/${PNAME}-${PV}.tar.xz"
SRC_URI[sha256sum] = "3b42541964db9c2fa50a9658d4886bdf77d023fe4e96c5b17bce51c9f58c48e6"
GIR_MESON_ENABLE_FLAG = 'enabled'
GIR_MESON_DISABLE_FLAG = 'disabled'
GTKDOC_MESON_OPTION = "gtk_doc"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}"
PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers"
FILES:${PN} += "${datadir}/gtksourceview-5"