From 0cfe37798f67fe23f0977f4f144bd9e51d631d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 5 Feb 2020 21:24:28 +0700 Subject: [PATCH] muffin: update to 4.4.2. pkg-config: honor sysroot when used to cross-compile From https://autotools.io/pkgconfig/cross-compiling.html > To design a variable to contain a path that needs to be used at build > time, such as the path where a generation script is, you can prefix it > in the .pc file with the built-in variable ${pc_sysrootdir}. --- .../patches/pkgconfig-honor-sysroot-cross.patch | 13 +++++++++++++ srcpkgs/muffin/template | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/muffin/patches/pkgconfig-honor-sysroot-cross.patch diff --git a/srcpkgs/muffin/patches/pkgconfig-honor-sysroot-cross.patch b/srcpkgs/muffin/patches/pkgconfig-honor-sysroot-cross.patch new file mode 100644 index 00000000000..eae9a85ca52 --- /dev/null +++ b/srcpkgs/muffin/patches/pkgconfig-honor-sysroot-cross.patch @@ -0,0 +1,13 @@ +--- src/libmuffin.pc.in ++++ src/libmuffin.pc.in +@@ -2,8 +2,8 @@ + exec_prefix=@exec_prefix@ + libdir=@libdir@ + includedir=@includedir@ +-girdir=@libdir@/muffin +-typelibdir=@libdir@/muffin ++girdir=${pc_sysrootdir}@libdir@/muffin ++typelibdir=${pc_sysrootdir}@libdir@/muffin + apiversion=@MUFFIN_PLUGIN_API_VERSION@ + + muffin_major_version=@MUFFIN_MAJOR_VERSION@ diff --git a/srcpkgs/muffin/template b/srcpkgs/muffin/template index 85b1049168a..cdd866d57f7 100644 --- a/srcpkgs/muffin/template +++ b/srcpkgs/muffin/template @@ -1,6 +1,6 @@ # Template file for 'muffin' pkgname=muffin -version=4.2.2 +version=4.4.2 revision=1 build_style=gnu-configure build_helper=gir @@ -16,7 +16,7 @@ maintainer="Orphaned " license="GPL-2.0-or-later, LGPL-2.0-or-later" homepage="http://developer.linuxmint.com/projects/cinnamon-projects.html/" distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz" -checksum=08c64a7a951fc526d96b4e3b6b53997328904ae2430aad4c2611a4f130a5bd16 +checksum=1c7a98e1a0fa9356d7c166166830bdb043079cdb7ff8d3dd6dc817e29852a52a shlib_provides="libmuffin-clutter-0.so libmuffin-cogl-pango-0.so libmuffin-cogl-path-0.so libmuffin-cogl-0.so"