summaryrefslogtreecommitdiff
path: root/testing/xfce4-mixer
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-30 00:01:38 +0000
committerroot <root@rshg054.dnsready.net>2012-04-30 00:01:38 +0000
commitb7cd4b184f75d3d2b54b356e08f296df3a9afb38 (patch)
treedc5e84c1f7271cf0c8ec0221b5a22e48a884081a /testing/xfce4-mixer
parent4412991f6b4fd655fc1f51f8d79a0be0c10158b7 (diff)
Mon Apr 30 00:01:38 UTC 2012
Diffstat (limited to 'testing/xfce4-mixer')
-rw-r--r--testing/xfce4-mixer/PKGBUILD38
-rw-r--r--testing/xfce4-mixer/xfce4-mixer.install11
2 files changed, 49 insertions, 0 deletions
diff --git a/testing/xfce4-mixer/PKGBUILD b/testing/xfce4-mixer/PKGBUILD
new file mode 100644
index 000000000..5f6cf2d9c
--- /dev/null
+++ b/testing/xfce4-mixer/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 157677 2012-04-29 02:54:35Z foutrelis $
+# Maintainer: Tobias Kieslich <tobias funnychar archlinux.org>
+
+pkgname=xfce4-mixer
+pkgver=4.8.0
+pkgrel=3
+pkgdesc="The volume control plugin for the Xfce panel"
+arch=(i686 x86_64)
+license=('GPL2')
+url="http://www.xfce.org/"
+groups=('xfce4')
+depends=("xfce4-panel>=4.8.0" 'gstreamer0.10-base>=0.10.22' 'hicolor-icon-theme')
+makedepends=('intltool')
+optdepends=('gstreamer0.10-base-plugins: to support basic audio hardware' \
+ 'gstreamer0.10-good-plugins: well supported hardware'\
+ 'gstreamer0.10-bad-plugins: not so well supported hardware'\
+ 'gstreamer0.10-ugly-plugins: might contain questionable license hardware')
+options=('!libtool')
+install=${pkgname}.install
+source=(http://archive.xfce.org/src/apps/${pkgname}/4.8/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('3fa3a9973e18c04da26709a654e242ff')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --disable-static \
+ --with-sound=alsa \
+ --disable-debug
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
diff --git a/testing/xfce4-mixer/xfce4-mixer.install b/testing/xfce4-mixer/xfce4-mixer.install
new file mode 100644
index 000000000..21b79d2d4
--- /dev/null
+++ b/testing/xfce4-mixer/xfce4-mixer.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}