2012-08-09 13:26:52 +00:00
|
|
|
# Template file for 'muffin'
|
|
|
|
pkgname=muffin
|
2012-11-28 19:20:03 +00:00
|
|
|
version=1.1.2
|
2013-03-28 07:50:40 +00:00
|
|
|
revision=2
|
|
|
|
hostmakedepends="automake gettext-devel pkg-config intltool
|
|
|
|
gnome-doc-utils gobject-introspection"
|
|
|
|
makedepends="clutter-devel>=1.14 GConf-devel libcanberra-devel libXxf86vm-devel
|
2013-04-14 16:52:28 +00:00
|
|
|
startup-notification-devel gsettings-desktop-schemas-devel>=3.6.0 zenity"
|
2012-08-09 13:26:52 +00:00
|
|
|
short_desc="The Cinnamon window manager"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
2013-03-28 07:50:40 +00:00
|
|
|
homepage="http://github.com/linuxmint/muffin.git"
|
2012-08-09 13:26:52 +00:00
|
|
|
|
2012-10-19 09:33:09 +00:00
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/linuxmint/muffin.git"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone -b ${version} $url ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2012-08-09 13:26:52 +00:00
|
|
|
pre_configure() {
|
2013-03-28 07:50:40 +00:00
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
CFLAGS="$CFLAGS -Wno-error=switch" \
|
|
|
|
./configure ${CONFIGURE_SHARED_ARGS} --disable-static
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} install
|
2012-08-09 13:26:52 +00:00
|
|
|
}
|
2013-04-14 02:24:51 +00:00
|
|
|
|
|
|
|
libmuffin_package() {
|
|
|
|
short_desc="${short_desc} -- runtime library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
vmove "usr/lib/muffin/*.typelib"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libmuffin-devel_package() {
|
|
|
|
depends="libmuffin-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/muffin/*.gir"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
muffin_package() {
|
2013-04-14 16:52:28 +00:00
|
|
|
depends="zenity desktop-file-utils gsettings-desktop-schemas>=3.6.0"
|
2013-04-14 02:24:51 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|