summaryrefslogtreecommitdiff
path: root/pulseaudio/Pkgfile
diff options
context:
space:
mode:
authorAlan Mizrahi <alan+crux@mizrahi.com.ve>2013-08-07 16:48:39 +0900
committerAlan Mizrahi <alan+crux@mizrahi.com.ve>2013-08-07 16:48:39 +0900
commit8503170ccd99e42f0a2b63c8b704abbfd2783a04 (patch)
tree9789b987f33346b9fc230bbe994e74e3297d9ab6 /pulseaudio/Pkgfile
parent4bf9b9eb7ba54ff5c66407b87d5763986c7ef3f4 (diff)
downloadopt-8503170ccd99e42f0a2b63c8b704abbfd2783a04.tar.gz
opt-8503170ccd99e42f0a2b63c8b704abbfd2783a04.tar.xz
pulseaudio: Initial commit
Diffstat (limited to 'pulseaudio/Pkgfile')
-rw-r--r--pulseaudio/Pkgfile44
1 files changed, 44 insertions, 0 deletions
diff --git a/pulseaudio/Pkgfile b/pulseaudio/Pkgfile
new file mode 100644
index 000000000..9afffff96
--- /dev/null
+++ b/pulseaudio/Pkgfile
@@ -0,0 +1,44 @@
+# Description: PulseAudio is a cross-platform, networked sound server
+# URL: http://pulseaudio.org/
+# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
+# Depends on: libsndfile speex json-c orc tdb
+# Optional: lirc bluez openssl sbc
+
+name=pulseaudio
+version=4.0
+release=1
+source=(http://freedesktop.org/software/pulseaudio/releases/pulseaudio-$version.tar.xz)
+
+build() {
+ cd $name-$version
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/man \
+ --localstatedir=/var \
+ --disable-nls \
+ --disable-rpath \
+ --disable-tcpwrap \
+ --disable-esound \
+ --disable-x11 \
+ --disable-gtk3 \
+ --disable-oss-output \
+ --disable-oss-wrapper \
+ --disable-ipv6 \
+ --disable-legacy-database-entry-format \
+ --disable-hal-compat \
+ --disable-systemd \
+ --with-database=tdb
+
+ # fight unused direct deps
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+ make -j 1 DESTDIR="$PKG" install
+
+ # Workaround the /usr/etc CRUX oddity
+ mkdir $PKG/usr/etc
+ mv $PKG/etc/dbus-1 $PKG/usr/etc
+
+ rm -rf $PKG/etc/bash_completion.d
+}

Generated by cgit