cinnamon-control-center: add systemd build option (off).

This commit is contained in:
Juan RP 2014-08-30 20:44:05 +02:00
parent b1e5baf578
commit dd420bb12c

View file

@ -1,31 +1,31 @@
# Template file for 'cinnamon-control-center' # Template file for 'cinnamon-control-center'
pkgname=cinnamon-control-center pkgname=cinnamon-control-center
version=2.2.10 version=2.2.10
revision=1 revision=2
patch_args="-Np1" patch_args="-Np1"
short_desc="The Cinnamon Control Center" short_desc="The Cinnamon Control Center"
build_style=gnu-configure build_style=gnu-configure
configure_args=" --disable-static --disable-update-mimedb --enable-systemd" configure_args=" --disable-static --disable-update-mimedb $(vopt_enable systemd)"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
gettext-devel intltool which xmlto docbook-xsl git" gettext-devel intltool which xmlto docbook-xsl git"
makedepends="dbus-glib-devel cinnamon-menus-devel libgnomekbd-devel makedepends="dbus-glib-devel cinnamon-menus-devel libgnomekbd-devel
cinnamon-desktop-devel cinnamon-settings-daemon-devel systemd-devel cinnamon-desktop-devel cinnamon-settings-daemon-devel libXxf86misc-devel
network-manager-applet-devel libSM-devel libnotify-devel upower-devel network-manager-applet-devel libSM-devel libnotify-devel upower0-devel
polkit-devel colord-devel ibus-devel pulseaudio-devel polkit-devel colord-devel ibus-devel pulseaudio-devel tzdata
libcanberra-devel cups-devel cheese-devel libXxf86misc-devel tzdata" libcanberra-devel cups-devel cheese-devel $(vopt_if systemd systemd-devel)"
depends="cinnamon-settings-daemon cinnamon-translations desktop-file-utils hicolor-icon-theme" depends="cinnamon-settings-daemon cinnamon-translations desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3" license="GPL-3"
homepage="http://cinnamon.linuxmint.com/" homepage="http://cinnamon.linuxmint.com/"
build_options="systemd"
do_fetch() { do_fetch() {
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version} git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
} }
pre_configure() { pre_configure() {
NOCONFIGURE=1 ./autogen.sh NOCONFIGURE=1 ./autogen.sh
} }
post_install() { post_install() {
# Remove unused stuff # Remove unused stuff
make -C panels/sound DESTDIR="$DESTDIR" uninstall make -C panels/sound DESTDIR="$DESTDIR" uninstall
@ -41,7 +41,6 @@ libcinnamon-control-center_package() {
vmove "usr/lib/*.so.*" vmove "usr/lib/*.so.*"
} }
} }
cinnamon-control-center-devel_package() { cinnamon-control-center-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="libglib-devel gtk+3-devel lib${sourcepkg}>=${version}_${revision}" depends="libglib-devel gtk+3-devel lib${sourcepkg}>=${version}_${revision}"