void-packages/srcpkgs/muffin/template
2020-10-09 19:24:22 +07:00

43 lines
1.5 KiB
Bash

# Template file for 'muffin'
pkgname=muffin
version=4.6.3
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
gobject-introspection gtk-doc intltool libtool pkg-config"
makedepends="cinnamon-desktop-devel 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=e634209f1a1dfec7efc7c741e65014903ea937926070dba3793cac595df3d5a3
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
}
post_install() {
vmkdir usr/share/gir-1.0
mv ${DESTDIR}/usr/lib/muffin/*.gir ${DESTDIR}/usr/share/gir-1.0
vmkdir usr/lib/girepository-1.0
mv ${DESTDIR}/usr/lib/muffin/*.typelib ${DESTDIR}/usr/lib/girepository-1.0
}
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
vmove usr/share/gir-1.0
}
}