added my Recipes
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Babl is a dynamic, any to any, pixel format conversion library"
|
||||
LICENSE = "LGPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
GIR_MESON_OPTION = "enable-gir"
|
||||
|
||||
inherit setuptools3 gnomebase gobject-introspection vala
|
||||
|
||||
DEPENDS += "lcms"
|
||||
|
||||
SRC_URI = "https://download.gimp.org/pub/${BPN}/0.1/${BP}.tar.xz"
|
||||
SRC_URI[sha256sum] = "a88bb28506575f95158c8c89df6e23686e50c8b9fea412bf49fe8b80002d84f0"
|
||||
|
||||
FILES:${PN} += "${libdir}/${BPN}-${@gnome_verdir("${PV}")}"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,63 @@
|
||||
SUMMARY = "GEGL (Generic Graphics Library) is a graph based image processing framework"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f1a8bfcbc85304df454b65d378b299c7"
|
||||
|
||||
DEPENDS = " \
|
||||
intltool-native \
|
||||
babl \
|
||||
glib-2.0 \
|
||||
cairo \
|
||||
expat \
|
||||
zlib \
|
||||
\
|
||||
json-glib \
|
||||
"
|
||||
|
||||
DEPENDS:append:toolchain-clang = " openmp"
|
||||
DEPENDS:remove:toolchain-clang:riscv32 = "openmp"
|
||||
DEPENDS:remove:toolchain-clang:powerpc = "openmp"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
inherit features_check gnomebase vala gobject-introspection
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
SHPV = "${@gnome_verdir("${PV}")}"
|
||||
|
||||
SRC_URI = "https://download.gimp.org/pub/${BPN}/${SHPV}/${BP}.tar.xz"
|
||||
SRC_URI[sha256sum] = "0a4cdb41635e406a0849cd0d3f03caf7d97cab8aa13d28707d532d0089d56126"
|
||||
|
||||
PACKAGECONFIG ??= "gexiv2 jpeg libpng libraw librsvg pango poppler sdl2"
|
||||
PACKAGECONFIG:class-native = "libpng librsvg"
|
||||
|
||||
PACKAGECONFIG[jasper] = "-Djasper=enabled,-Djasper=disabled,jasper"
|
||||
PACKAGECONFIG[gexiv2] = "-Dgexiv2=enabled,-Dgexiv2=disabled,gexiv2"
|
||||
PACKAGECONFIG[graphviz] = "-Dgraphviz=enabled,-Dgraphviz=disabled,graphviz"
|
||||
PACKAGECONFIG[jpeg] = "-Dlibjpeg=enabled,-Dlibjpeg=disabled,jpeg"
|
||||
PACKAGECONFIG[lcms] = "-Dlcms=enabled,-Dlcms=disabled,lcms"
|
||||
PACKAGECONFIG[libav] = "-Dlibav=enabled,-Dlibav=disabled,libav"
|
||||
PACKAGECONFIG[libpng] = "-Dlibpng=enabled,-Dlibpng=disabled,libpng"
|
||||
PACKAGECONFIG[libraw] = "-Dlibraw=enabled,-Dlibraw=disabled,libraw"
|
||||
PACKAGECONFIG[librsvg] = "-Dlibrsvg=enabled,-Dlibrsvg=disabled,librsvg"
|
||||
PACKAGECONFIG[pango] = "-Dpango=enabled -Dpangocairo=enabled,-Dpango=disabled -Dpangocairo=disabled,pango"
|
||||
PACKAGECONFIG[poppler] = "-Dpoppler=enabled,-Dpoppler=disabled,poppler"
|
||||
PACKAGECONFIG[sdl] = "-Dsdl1=enabled,-Dsdl1=disabled,libsdl"
|
||||
PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,libsdl2"
|
||||
PACKAGECONFIG[tiff] = "-Dlibtiff=enabled,-Dlibtiff=disabled,tiff"
|
||||
PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,webp"
|
||||
|
||||
# There are a couple of non-symlink .so files installed into libdir, which need to go into main package
|
||||
FILES:${PN} += " \
|
||||
${libdir}/*.so \
|
||||
${libdir}/gegl-${SHPV}/*.json \
|
||||
${libdir}/gegl-${SHPV}/*.so \
|
||||
"
|
||||
FILES_SOLIBSDEV = "${libdir}/libgegl-${SHPV}${SOLIBSDEV}"
|
||||
|
||||
# Fails to build with thumb-1 (qemuarm)
|
||||
# gegl-0.2.0/operations/common/matting-global.c: In function 'matting_process':
|
||||
# gegl-0.2.0/operations/common/matting-global.c:463:1: internal compiler error: in patch_jump_insn, at cfgrtl.c:1275
|
||||
ARM_INSTRUCTION_SET = "arm"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,30 @@
|
||||
From 5711ccfab40e304ced7f5be39a4083e3fcecff91 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 24 May 2023 22:22:41 -0700
|
||||
Subject: [PATCH] configure: Keep first line of compiler version string
|
||||
|
||||
Full output of cc -v may contain additional information which could
|
||||
contain build path information, which is unnessasary
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/926]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index c25415d..68707a0 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -599,7 +599,7 @@ fi
|
||||
for CC_VERSION_OPT in $CC_VERSION_OPTS; do
|
||||
# We run $CC, and escape and format its output, in a single step,
|
||||
# since some shells expand escape sequences in "echo" arguments.
|
||||
- CC_VERSION="`$CC $CC_VERSION_OPT 2>&1 | sed -e 's/\\\\/\\\\\\\\\\\\\\\\/g;s/^/\\\\t/;s/$/\\\\n/' | tr -d '\n'`"
|
||||
+ CC_VERSION="`$CC $CC_VERSION_OPT 2>&1 | head -1 | sed -e 's/\\\\/\\\\\\\\\\\\\\\\/g;s/^/\\\\t/;s/$/\\\\n/' | tr -d '\n'`"
|
||||
if test $? -eq 0; then
|
||||
break
|
||||
fi
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From c720df90dfe3a3e92e34bfb36a04cc792064a501 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 24 May 2023 22:39:02 -0700
|
||||
Subject: [PATCH] libtool: Do not add build time library paths to
|
||||
LD_LIBRARY_PATH
|
||||
|
||||
This does not serve much purpose on cross builds as it will add build
|
||||
time paths which are only useful when trying to run these tools from
|
||||
build area but when they are cross built this is not possible to run
|
||||
them like this.
|
||||
|
||||
Upstream-Status: Inappropriate [Cross-compile specific]
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
ltmain.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/ltmain.sh b/ltmain.sh
|
||||
index 134902c..068d74a 100644
|
||||
--- a/ltmain.sh
|
||||
+++ b/ltmain.sh
|
||||
@@ -5748,7 +5748,7 @@ func_exec_program ()
|
||||
if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
|
||||
$ECHO "\
|
||||
# Add our own library path to $shlibpath_var
|
||||
- $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
|
||||
+ $shlibpath_var=\"$shlibpath_var\"
|
||||
|
||||
# Some systems cannot cope with colon-terminated $shlibpath_var
|
||||
# The second colon is a workaround for a bug in BeOS R4 sed
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
SUMMARY = "The GIMP is the GNU Image Manipulation Program"
|
||||
HOMEPAGE = "http://www.gimp.org"
|
||||
SECTION = "x11/graphics"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
|
||||
|
||||
DEPENDS = " \
|
||||
alsa-lib \
|
||||
atk \
|
||||
cairo \
|
||||
fontconfig \
|
||||
freetype \
|
||||
gdk-pixbuf-native \
|
||||
intltool-native \
|
||||
libxslt-native \
|
||||
gegl-native \
|
||||
dbus-glib \
|
||||
gtk+ \
|
||||
babl \
|
||||
gegl \
|
||||
libmypaint \
|
||||
mypaint-brushes-1.0 \
|
||||
gexiv2 \
|
||||
jpeg \
|
||||
libmng \
|
||||
libpng \
|
||||
libexif \
|
||||
tiff \
|
||||
lcms \
|
||||
poppler \
|
||||
poppler-data \
|
||||
jasper \
|
||||
bzip2 \
|
||||
libgudev \
|
||||
libmng \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxmu libxpm', '', d)} \
|
||||
"
|
||||
DEPENDS:append:libc-musl = " libexecinfo"
|
||||
|
||||
inherit features_check gnomebase gtk-icon-cache gtk-doc mime-xdg
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
SHPV = "${@gnome_verdir("${PV}")}"
|
||||
|
||||
SRC_URI = "https://download.gimp.org/pub/${BPN}/v${SHPV}/${BP}.tar.bz2 \
|
||||
file://0001-configure-Keep-first-line-of-compiler-version-string.patch \
|
||||
file://0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch"
|
||||
SRC_URI[sha256sum] = "84004642d351b398a4293cd7fd3592044a944f05bb52850ee6068f247c657aa3"
|
||||
|
||||
EXTRA_OECONF = "--disable-python \
|
||||
--without-webkit \
|
||||
--disable-check-update \
|
||||
--without-wmf"
|
||||
|
||||
EXTRA_OECONF += "${@oe.utils.conditional('SITEINFO_BITS', '32', ' --disable-vector-icons', '', d)}"
|
||||
|
||||
do_configure:append() {
|
||||
find ${B} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
|
||||
find ${B} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g
|
||||
}
|
||||
|
||||
do_compile:prepend() {
|
||||
# Let native babl/gegl find their plugins
|
||||
export BABL_PATH=`find ${STAGING_LIBDIR_NATIVE} -maxdepth 1 -name 'babl-*'`
|
||||
export GEGL_PATH=`find ${STAGING_LIBDIR_NATIVE} -maxdepth 1 -name 'gegl-*'`
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/metainfo"
|
||||
|
||||
RDEPENDS:${PN} += "mypaint-brushes-1.0"
|
||||
@@ -0,0 +1,32 @@
|
||||
From 712a101c9aa2eb8548e4d0100a4a2eaf76fad164 Mon Sep 17 00:00:00 2001
|
||||
From: Jesper Lloyd <jpl.lloyd@gmail.com>
|
||||
Date: Wed, 20 Jan 2021 20:21:53 +0100
|
||||
Subject: [PATCH] make build compatible w. autoconf 2.7
|
||||
|
||||
Workaround for stricter behaviour (due to a bugfix) in 2.7,
|
||||
which makes a failing intltoolize macro check fail the build.
|
||||
|
||||
Fix provided by hosiet.
|
||||
|
||||
Upstream-Status: Backport [https://github.com/mypaint/libmypaint/commit/a6bac154db018e1f1cc4dbddc34f6c8422c891fb]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 416d9fe..48b9d02 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -248,7 +248,7 @@ if test "x$enable_i18n" != "xno"; then
|
||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
|
||||
[The prefix for our gettext translation domains.])
|
||||
AC_SUBST(GETTEXT_PACKAGE)
|
||||
- IT_PROG_INTLTOOL
|
||||
+IT_PROG_INTLTOOL
|
||||
AM_GLIB_GNU_GETTEXT
|
||||
|
||||
dnl Debian: stdlib
|
||||
--
|
||||
2.30.0
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
SUMMARY = "libmypaint is a library for making brushstrokes"
|
||||
LICENSE = "ISC"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=9d13203ab4013e5a14dd62105f75d58b"
|
||||
|
||||
DEPENDS = " \
|
||||
glib-2.0-native \
|
||||
intltool-native \
|
||||
glib-2.0 \
|
||||
babl \
|
||||
json-c \
|
||||
"
|
||||
|
||||
inherit autotools gobject-introspection gettext pkgconfig python3native
|
||||
|
||||
SRC_URI = "git://github.com/mypaint/libmypaint.git;protocol=https;branch=libmypaint-v1 \
|
||||
file://0001-make-build-compatible-w.-autoconf-2.7.patch \
|
||||
"
|
||||
SRCREV = "2768251dacce3939136c839aeca413f4aa4241d0"
|
||||
PV = "1.6.1"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_configure:append() {
|
||||
# autogen uses python2 so generate headers ourselves
|
||||
cd ${S}
|
||||
python3 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
SUMMARY = "MyPaint brushes"
|
||||
LICENSE = "CC0-1.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=65d3616852dbf7b1a6d4b53b00626032"
|
||||
|
||||
inherit autotools allarch
|
||||
|
||||
SRC_URI = "git://github.com/mypaint/mypaint-brushes.git;protocol=https;branch=v1.3.x"
|
||||
SRCREV = "8a0124ac0675103eae8fa41fad533851768ae1ce"
|
||||
PV = "1.3.1"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
FILES:${PN} += "${datadir}/mypaint-data"
|
||||
Reference in New Issue
Block a user