void-packages/srcpkgs/muffin/template

43 lines
1.4 KiB
Bash

# Template file for 'muffin'
pkgname=muffin
version=4.8.1
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="https://github.com/linuxmint/muffin"
distfiles="https://github.com/linuxmint/muffin/archive/${version}.tar.gz"
checksum=d342165270690c8565004cd6aa26aa79620d99e442ee6207061c26a505690407
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/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
}
}