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}.
This commit is contained in:
Đoàn Trần Công Danh 2020-02-05 21:24:28 +07:00 committed by Juan RP
parent 471d6013b6
commit 0cfe37798f
2 changed files with 15 additions and 2 deletions

View file

@ -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@

View file

@ -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 <orphan@voidlinux.org>"
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"