summaryrefslogtreecommitdiffstats
path: root/main/xfce4-mixer
diff options
context:
space:
mode:
Diffstat (limited to 'main/xfce4-mixer')
-rw-r--r--main/xfce4-mixer/APKBUILD30
l---------main/xfce4-mixer/xfce4-mixer.post-deinstall1
-rw-r--r--main/xfce4-mixer/xfce4-mixer.post-install4
l---------main/xfce4-mixer/xfce4-mixer.post-upgrade1
4 files changed, 36 insertions, 0 deletions
diff --git a/main/xfce4-mixer/APKBUILD b/main/xfce4-mixer/APKBUILD
new file mode 100644
index 000000000..1541cb92b
--- /dev/null
+++ b/main/xfce4-mixer/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xfce4-mixer
+pkgver=4.6.1
+pkgrel=0
+pkgdesc="The volume control plugin for the Xfce panel"
+url="http://www.xfce.org/"
+license="GPL2"
+depends="hicolor-icon-theme"
+makedepends="pkgconfig xfce4-panel-dev gstreamer-dev intltool
+ gst-plugins-base-dev expat-dev libsm-dev e2fsprogs-dev"
+install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
+source="http://www.xfce.org/archive/xfce-$pkgver/src/$pkgname-$pkgver.tar.bz2
+ $install"
+
+build ()
+{
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --disable-static \
+ --with-sound=alsa || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="a99e2455445480ef5081fe69454a46fc xfce4-mixer-4.6.1.tar.bz2
+db51db79681eadc47be4932355a77c25 xfce4-mixer.post-install
+db51db79681eadc47be4932355a77c25 xfce4-mixer.post-upgrade
+db51db79681eadc47be4932355a77c25 xfce4-mixer.post-deinstall"
diff --git a/main/xfce4-mixer/xfce4-mixer.post-deinstall b/main/xfce4-mixer/xfce4-mixer.post-deinstall
new file mode 120000
index 000000000..59bfac9d7
--- /dev/null
+++ b/main/xfce4-mixer/xfce4-mixer.post-deinstall
@@ -0,0 +1 @@
+xfce4-mixer.post-install \ No newline at end of file
diff --git a/main/xfce4-mixer/xfce4-mixer.post-install b/main/xfce4-mixer/xfce4-mixer.post-install
new file mode 100644
index 000000000..c523d78da
--- /dev/null
+++ b/main/xfce4-mixer/xfce4-mixer.post-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+
diff --git a/main/xfce4-mixer/xfce4-mixer.post-upgrade b/main/xfce4-mixer/xfce4-mixer.post-upgrade
new file mode 120000
index 000000000..59bfac9d7
--- /dev/null
+++ b/main/xfce4-mixer/xfce4-mixer.post-upgrade
@@ -0,0 +1 @@
+xfce4-mixer.post-install \ No newline at end of file