void-packages/srcpkgs/muffin/template
Đoàn Trần Công Danh 0cfe37798f 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}.
2020-02-15 07:13:01 +01:00

35 lines
1.3 KiB
Bash

# Template file for 'muffin'
pkgname=muffin
version=4.4.2
revision=1
build_style=gnu-configure
build_helper=gir
configure_args="--disable-static --disable-schemas-compile --disable-gtk-doc
--enable-compile-warnings=minimum ac_cv_path_ZENITY=/usr/bin/zenity"
hostmakedepends="automake gdk-pixbuf-devel gettext-devel glib-devel
gnome-doc-utils gobject-introspection gtk-doc intltool libtool pkg-config"
makedepends="cinnamon-desktop-devel gnome-doc-utils libSM-devel libinput-devel
libcanberra-devel startup-notification-devel libXtst-devel json-glib-devel"
depends="zenity"
short_desc="Cinnamon window manager based on Mutter"
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=1c7a98e1a0fa9356d7c166166830bdb043079cdb7ff8d3dd6dc817e29852a52a
shlib_provides="libmuffin-clutter-0.so libmuffin-cogl-pango-0.so
libmuffin-cogl-path-0.so libmuffin-cogl-0.so"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
muffin-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
}
}