Mail archive
alpine-aports

[alpine-aports] [PATCH] unmaintained/pulseaudio: remove aport

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Thu, 7 Jan 2016 19:43:24 +0100

Pulseaudio is already present in testing/.
---
 unmaintained/pulseaudio/APKBUILD         | 101 -------------------------------
 unmaintained/pulseaudio/pulseaudio.confd |   7 ---
 unmaintained/pulseaudio/pulseaudio.initd |  81 -------------------------
 3 files changed, 189 deletions(-)
 delete mode 100644 unmaintained/pulseaudio/APKBUILD
 delete mode 100644 unmaintained/pulseaudio/pulseaudio.confd
 delete mode 100644 unmaintained/pulseaudio/pulseaudio.initd
diff --git a/unmaintained/pulseaudio/APKBUILD b/unmaintained/pulseaudio/APKBUILD
deleted file mode 100644
index 60a1737..0000000
--- a/unmaintained/pulseaudio/APKBUILD
+++ /dev/null
_at_@ -1,101 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter_at_gmail.com>
-# Maintainer: Stuart Cardall <developer_at_it-offshore.co.uk>
-pkgname=pulseaudio
-pkgver=5.99.2
-pkgrel=0
-pkgdesc="A featureful, general-purpose sound server"
-url="http://www.freedesktop.org/wiki/Software/PulseAudio"
-arch="all"
-license="LGPL"
-depends=""
-depends_dev="glib-dev json-c-dev libsndfile-dev tdb-dev udev-dev dbus-dev speex-dev
-	bluez-dev gconf-dev avahi-dev gtk+3.0-dev libsamplerate-dev openssl-dev
-	alsa-lib-dev jack-dev check-dev orc-dev libasyncns-dev fftw-dev libice-dev
-	libsm-dev libcap-dev"
-makedepends="$depends_dev autoconf automake libtool intltool"
-install=""
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
-source="http://freedesktop.org/software/pulseaudio/releases/pulseaudio-$pkgver.tar.gz
-	$pkgname.initd
-	$pkgname.confd
-	"
-
-_builddir="$srcdir"/pulseaudio-$pkgver
-prepare() {
-	local i
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-	export LIBS="-lcap"      ### capability.h detection broken in ./configure ###
-	export LDFLAGS="-lintl"  ### https://bugs.gentoo.org/528986?id=528986 ###
-}
-
-build() {
-	cd "$_builddir"
-	./configure --build=$CBUILD \
-                --host=$CHOST \
-		--prefix=/usr \
-		--sysconfdir=/etc \
-		--libexecdir=/usr/lib \
-		--localstatedir=/var \
-		--with-udev-rules-dir=/usr/lib/udev/rules.d \
-		--with-database=tdb \
-		--disable-tcpwrap \
-		--disable-default-build-tests \
-		--without-caps \
-		--enable-x11 \
-		|| return 1
-	make || return 1
-}
-
-package() {
-        cd "$_builddir"
-	export LIBRARY_PATH="$_builddir/src/.libs${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
-	make -j1 DESTDIR="$pkgdir" install \
-		bashcompletiondir=/usr/share/bash-completion/completions || return 1
-        rm -f "$pkgdir"/usr/lib/*.la \
-		"$pkgdir"/usr/lib/*/*.la
-        rm -rf "$pkgdir"/etc/dbus-1
-	install -D -m755 "$srcdir"/$pkgname.initd \
-                "$pkgdir"/etc/init.d/$pkgname || return 1
-        install -D -m644 "$srcdir"/$pkgname.confd \
-                "$pkgdir"/etc/conf.d/$pkgname || return 1
-}
-
-libs() {
-	pkgdesc="Pulseaudio libraries"
-	depends=""
-	cd "$_builddir"
-	mkdir -p "$subpkgdir"/etc/pulse \
-		"$subpkgdir"/usr/bin \
-		"$subpkgdir"/usr/share/bash-completion \
-		"$subpkgdir"/usr/lib/pulseaudio || return 1
-
-	mv "$pkgdir"/etc/pulse/client.conf \
-		"$subpkgdir"/etc/pulse || return 1
-
-	for i in pacat pactl pacmd pamon paplay parec parecord; do
-		mv "$pkgdir"/usr/bin/$i \
-			"$subpkgdir"/usr/bin/ || return 1
-	done
-
-	mv "$pkgdir"/usr/lib/libpulse-simple.so* \
-		"$pkgdir"/usr/lib/libpulse-mainloop-glib.so* \
-		"$subpkgdir"/usr/lib/pulseaudio/ || return 1
-
-	mv "$pkgdir"/usr/share/bash-completion \
-                "$subpkgdir"/usr/share/ || return 1
-}
-
-md5sums="c10bd740da75f8320640482e4a65a782  pulseaudio-5.99.2.tar.gz
-305e790e7eced01d3de681379f8f3bc4  pulseaudio.initd
-bf7487ba2c48fc8a56bca41c97a18934  pulseaudio.confd"
-sha256sums="1ec14af9c4e23b6056caf7cef9ff88300afb553e6b07cab1e1fe8ac8c5ed1756  pulseaudio-5.99.2.tar.gz
-c5e427c438e950353a7037d5784cdb91e6bcdd55def6635d8a6387230fbfca2a  pulseaudio.initd
-c03661e8cc902d27ff6b52f291207f2b008957571b942abdd92a873a52aae0dd  pulseaudio.confd"
-sha512sums="340dfa5fbbf36d9882a15e62fa9eb9c801da19a79c20fe7c89613d8f362782d07adcae139bcf2c4d2f4234338a186ffa942da7da7b421d64d586ca727f6a7f1c  pulseaudio-5.99.2.tar.gz
-d20c1d118a51fa30b28a522ef0e607bd005c098291650aed45ed989d1377326484f1d3549ada38bc5a47f80f339109cdff6a9133359c12fae04b51060b2393e1  pulseaudio.initd
-75b54581591519d63a3362b155c0f9b0501a60763ab394693a456c44d0216138cf3a40bdd0f7442028663bc045e9ffee286f8f8eaf2ee3bb17379b43615fee0e  pulseaudio.confd"
diff --git a/unmaintained/pulseaudio/pulseaudio.confd b/unmaintained/pulseaudio/pulseaudio.confd
deleted file mode 100644
index 1d31d34..0000000
--- a/unmaintained/pulseaudio/pulseaudio.confd
+++ /dev/null
_at_@ -1,7 +0,0 @@
-# Config file for /etc/init.d/pulseaudio
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.conf.d,v 1.6 2006/07/29 15:34:18 flameeyes Exp $
-
-# For more see "pulseaudio -h".
-
-# Startup options
-PA_OPTS="--log-target=syslog --disallow-module-loading=1"
diff --git a/unmaintained/pulseaudio/pulseaudio.initd b/unmaintained/pulseaudio/pulseaudio.initd
deleted file mode 100644
index 21d25ba..0000000
--- a/unmaintained/pulseaudio/pulseaudio.initd
+++ /dev/null
_at_@ -1,81 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-5,v 1.1 2011/03/27 16:58:49 ssuominen Exp $
-
-depend() {
-	need localmount
-	use net
-
-	local script="/etc/pulse/system.pa"
-
-	for opt in ${PA_OPTS}; do
-		case "$opt" in
-			--file=*)	script="${opt#*=}" ;;
-			-F*)		script="${opt#-F}" ;;
-		esac
-	done
-
-	config "$script"
-
-	local needs="$(get_options need)"
-	if [ -n "${needs}" ]; then
-		need ${needs}
-		return
-	fi
-
-	if egrep -q '^[[:space:]]*load-module[[:space:]]+module-console-kit' "$script"; then
-	    needs="${needs} consolekit"
-	fi
-
-#ifdef UDEV
-	if egrep -q '^[[:space:]]*load-module[[:space:]]+module-udev-detect' "$script"; then
-	    needs="${needs} udev"
-	fi
-#endif
-
-#ifdef AVAHI
-	if egrep -q '^[[:space:]]*load-module[[:space:]]+module-zeroconf-publish' "$script"; then
-	    needs="${needs} avahi-daemon"
-	fi
-#endif
-
-#ifdef BLUETOOTH
-	if egrep -q '^[[:space:]]*load-module[[:space:]]+module-bt-proximity' "$script"; then
-	    needs="${needs} bluetooth"
-	fi
-#endif
-
-#ifdef ALSA
-	if egrep -q '^[[:space:]]*load-module[[:space:]]+module-alsa-(sink|source)' "$script" || 
-	    egrep -q '^[[:space:]]*load-module[[:space:]]+module-(udev-)?detect' "$script" ||
-	    egrep -q '^[[:space:]]*add-autoload-source[[:space:]]+(input|output)[[:space:]]+module-alsa-(sink|source)' "$script"; then
-	    needs="${needs} alsa" # in Alpine install alsa-utils to provide /etc/init.d/alsa (not alsasound as in Gentoo).
-	fi
-#endif
-
-	need "${needs}"
-	save_options need "${needs}"
-}
-
-start() {
-	if [ -z "${PULSEAUDIO_SHOULD_NOT_GO_SYSTEMWIDE}" ]; then
-		eerror "Please don't use system wide PulseAudio unless you read the"
-		eerror "documentation available at http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/"
-		eerror ""
-		eerror "When you're done, please set the variable PULSEAUDIO_SHOULD_NOT_GO_SYSTEMWIDE in"
-		eerror "/etc/conf.d/pulseaudio . Please remember that upstream does not support this mode"
-		eerror "when used for standard desktop configurations."
-		return 1
-	fi
-	ebegin "Starting pulseaudio"
-	PA_ALL_OPTS="${PA_OPTS} --fail=1 --daemonize=1 --system"
-	start-stop-daemon --start --exec /usr/bin/pulseaudio -- ${PA_ALL_OPTS}
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping pulseaudio"
-	start-stop-daemon --stop --quiet --exec /usr/bin/pulseaudio --pidfile /var/run/pulse/pid
-	eend $?
-}
-- 
2.7.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Jan 07 2016 - 19:43:24 GMT