2013-12-16 13:46:13 +00:00
|
|
|
# Template file for 'cinnamon-control-center'
|
|
|
|
pkgname=cinnamon-control-center
|
|
|
|
version=2.0.9
|
|
|
|
revision=1
|
|
|
|
patch_args="-Np1"
|
|
|
|
short_desc="The Cinnamon Control Center"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args=" --disable-static --disable-update-mimedb --enable-systemd"
|
|
|
|
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
|
2014-07-27 14:05:16 +00:00
|
|
|
gettext-devel intltool which xmlto docbook-xsl git"
|
2013-12-16 13:46:13 +00:00
|
|
|
makedepends="dbus-glib-devel gnome-menus-devel libgnomekbd-devel cinnamon-desktop-devel
|
|
|
|
cinnamon-settings-daemon-devel systemd-devel network-manager-applet-devel libSM-devel
|
|
|
|
libnotify-devel upower-devel polkit-devel colord-devel ibus-devel pulseaudio-devel
|
|
|
|
libcanberra-devel cups-devel cheese-devel libXxf86misc-devel
|
|
|
|
desktop-file-utils hicolor-icon-theme"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="cinnamon-settings-daemon cinnamon-translations desktop-file-utils hicolor-icon-theme"
|
2013-12-16 13:46:13 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://cinnamon.linuxmint.com/"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# Remove unused stuff
|
|
|
|
make -C panels/sound DESTDIR="$DESTDIR" uninstall
|
|
|
|
make -C panels/sound/data DESTDIR="$DESTDIR" install
|
|
|
|
make -C shell DESTDIR="$DESTDIR" uninstall-binPROGRAMS uninstall-directoryDATA uninstall-uiDATA
|
|
|
|
rm -R "$DESTDIR/usr/share/applications"
|
|
|
|
rm -R "$DESTDIR/etc"
|
|
|
|
}
|
|
|
|
|
|
|
|
libcinnamon-control-center_package() {
|
|
|
|
short_desc+=" - runtime library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
cinnamon-control-center-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="libglib-devel gtk+3-devel lib${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|