2013-12-16 14:46:13 +01:00
|
|
|
# Template file for 'cinnamon-control-center'
|
|
|
|
pkgname=cinnamon-control-center
|
2015-06-07 20:16:28 +02:00
|
|
|
version=2.6.0
|
2015-07-11 10:42:45 +02:00
|
|
|
revision=2
|
2013-12-16 14:46:13 +01:00
|
|
|
short_desc="The Cinnamon Control Center"
|
|
|
|
build_style=gnu-configure
|
2015-07-11 10:42:45 +02:00
|
|
|
configure_args="--disable-static --disable-update-mimedb --disable-systemd"
|
2013-12-16 14:46:13 +01:00
|
|
|
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
|
2015-01-24 10:31:34 +01:00
|
|
|
gettext-devel glib-devel intltool xmlto docbook-xsl"
|
2014-08-30 18:38:37 +02:00
|
|
|
makedepends="dbus-glib-devel cinnamon-menus-devel libgnomekbd-devel
|
2014-08-30 20:44:05 +02:00
|
|
|
cinnamon-desktop-devel cinnamon-settings-daemon-devel libXxf86misc-devel
|
|
|
|
network-manager-applet-devel libSM-devel libnotify-devel upower0-devel
|
2014-08-31 12:29:08 +02:00
|
|
|
polkit-devel colord-devel ibus-devel pulseaudio-devel libwacom-devel tzdata
|
2015-07-11 10:42:45 +02:00
|
|
|
libcanberra-devel cups-devel ModemManager-devel network-manager-applet-devel"
|
2015-07-11 10:44:31 +02:00
|
|
|
depends="libcinnamon-control-center>=${version}_${revision} cinnamon-settings-daemon>=2.4
|
2015-01-24 10:31:34 +01:00
|
|
|
cinnamon-translations>=2.4 desktop-file-utils hicolor-icon-theme"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-12-16 14:46:13 +01:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://cinnamon.linuxmint.com/"
|
2015-01-24 10:31:34 +01:00
|
|
|
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
|
2015-06-07 20:16:28 +02:00
|
|
|
checksum=bbc39ac8ddcbc06b6aada1ef271f95f5f0d0fe439bec38b9cd847af420305c49
|
2013-12-16 14:46:13 +01:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|