2013-12-16 14:46:13 +01:00
|
|
|
# Template file for 'cinnamon-control-center'
|
|
|
|
pkgname=cinnamon-control-center
|
2014-08-31 12:29:08 +02:00
|
|
|
version=2.2.11
|
2014-09-01 15:28:02 +02:00
|
|
|
revision=3
|
2013-12-16 14:46:13 +01:00
|
|
|
patch_args="-Np1"
|
|
|
|
short_desc="The Cinnamon Control Center"
|
|
|
|
build_style=gnu-configure
|
2014-08-30 20:44:05 +02:00
|
|
|
configure_args=" --disable-static --disable-update-mimedb $(vopt_enable systemd)"
|
2013-12-16 14:46:13 +01:00
|
|
|
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
|
2014-08-31 12:29:08 +02:00
|
|
|
gettext-devel intltool xmlto docbook-xsl git"
|
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
|
2014-08-30 20:44:05 +02:00
|
|
|
libcanberra-devel cups-devel cheese-devel $(vopt_if systemd systemd-devel)"
|
2014-08-31 13:29:59 +02:00
|
|
|
depends="lib${sourcepkg}>=${version}_${revision} GConf cinnamon-settings-daemon
|
|
|
|
cinnamon-translations desktop-file-utils hicolor-icon-theme"
|
2013-12-16 14:46:13 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://cinnamon.linuxmint.com/"
|
2014-11-01 19:44:30 +01:00
|
|
|
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
|
|
|
|
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
|
2013-12-16 14:46:13 +01:00
|
|
|
|
2014-08-30 20:44:05 +02:00
|
|
|
build_options="systemd"
|
|
|
|
|
2013-12-16 14:46:13 +01:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|