summaryrefslogtreecommitdiff
path: root/libre/xmms2
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-07 19:33:54 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-07 19:33:54 -0500
commit0740e72940a47455d94d9084f819524cbfc05359 (patch)
tree1d61eebf8e8f9c4ed319e5b7a8275323df819a16 /libre/xmms2
parent942fdc61f75eab8927bbe2c8bbd8f75a3d22e61e (diff)
downloadabslibre-0740e72940a47455d94d9084f819524cbfc05359.tar.gz
abslibre-0740e72940a47455d94d9084f819524cbfc05359.tar.bz2
abslibre-0740e72940a47455d94d9084f819524cbfc05359.zip
xmms2-0.8DrO_o.949.gca15e830-7.parabola1: rebuild
Diffstat (limited to 'libre/xmms2')
-rw-r--r--libre/xmms2/PKGBUILD24
-rw-r--r--libre/xmms2/install.sh8
2 files changed, 15 insertions, 17 deletions
diff --git a/libre/xmms2/PKGBUILD b/libre/xmms2/PKGBUILD
index da856ab27..fa4d1bbfc 100644
--- a/libre/xmms2/PKGBUILD
+++ b/libre/xmms2/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer (Arch):
# Contributor: (Arch) Storm Dragon <stormdragon2976@gmail.com>
# Contributor (Arch): Aaron 'venisonslurpee' Laursen <venisonslurpee@gmail.com>
# Contributor (Arch): Christopher Rosell <chrippa@tanuki.se>
@@ -11,7 +11,7 @@
pkgname=xmms2
pkgver=0.8DrO_o.949.gca15e830
_commit=ca15e830bd1b18e26772657b0a057cfedb91d2eb
-pkgrel=6.parabola1
+pkgrel=7.parabola1
pkgdesc="X-platform Music Multiplexing System 2, without nonfree mac recommendation"
arch=(i686 x86_64 armv7h)
url="https://xmms2.org/"
@@ -52,26 +52,24 @@ _depends=('alsa-lib: ALSA output'
'wavpack: WavPack support')
depends=(glib2 readline)
makedepends=("${_depends[@]%%:*}" libpulse python2 git)
-optdepends=("${_depends[@]}" 'oss: OSS output' 'pulseaudio: PulseAudio output')
-provides=(xmms2)
-conflicts=(xmms2 xmms2-devel)
+optdepends=("${_depends[@]}" 'pulseaudio: PulseAudio output')
install=install.sh
source=(git://git.xmms2.org/xmms2/xmms2-devel.git#commit=${_commit}
tmpfiles.conf
system.service
user.service)
-md5sums=('SKIP'
- 'd3ab09ed8d1cf982468d1ceb141d4a9d'
- '4b026ab80e853f24b5cf13b310afb83c'
- 'f773f674882946065c02e36e9548eb00')
+sha256sums=('SKIP'
+ 'fd37bd48c61bb71ec03566d740c52dcedd95a37d6c92008606ff7e76c261224f'
+ 'a159b18c5959cfe76ca87990ff6879d082bfe9a4c6d674c493461f7f2781f348'
+ '76f1a06b81cec0f5942430401998f6c8cd9cb95d798f97b854f88afd73ffe61d')
pkgver() {
- cd "$srcdir/xmms2-devel"
+ cd xmms2-devel
git describe --always | sed 's/-/./g'
}
prepare() {
- cd "$srcdir/xmms2-devel"
+ cd xmms2-devel
git submodule update --init
sed -i '$a#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 /* 1 second of 48kHz 32bit audio */' src/plugins/avcodec/avcodec_compat.h
sed -i 's,#include <cdio/cdda.h>,#include <cdio/paranoia/cdda.h>,' src/plugins/cdda/cdda.c
@@ -80,7 +78,7 @@ prepare() {
}
build() {
- cd "$srcdir/xmms2-devel"
+ cd xmms2-devel
CXXFLAGS="-Wall" CFLAGS="-Wall" ./waf configure --prefix=/usr --sbindir=/usr/bin --without-ldconfig \
--with-ruby-archdir=`ruby -e 'puts RbConfig::CONFIG["vendorarchdir"]'` \
--with-ruby-libdir=`ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]'` \
@@ -91,7 +89,7 @@ build() {
}
package() {
- cd "$srcdir/xmms2-devel"
+ cd xmms2-devel
./waf --destdir="$pkgdir" install
install -dm0755 "$pkgdir/var/lib/xmms2"
install -Dm0644 "$srcdir/tmpfiles.conf" \
diff --git a/libre/xmms2/install.sh b/libre/xmms2/install.sh
index ca4e13f14..7ee2bf2c2 100644
--- a/libre/xmms2/install.sh
+++ b/libre/xmms2/install.sh
@@ -1,10 +1,10 @@
post_install() {
- getent group xmms2 > /dev/null || groupadd -r -g 46 xmms2
- getent passwd xmms2 > /dev/null || useradd -r -u 46 -g xmms2 -d /var/lib/xmms2 -s /bin/false -G audio xmms2
- usr/bin/systemd-tmpfiles --create xmms2.conf
+ getent group xmms2 > /dev/null || groupadd -r xmms2
+ getent passwd xmms2 > /dev/null || useradd -r -g xmms2 -d /var/lib/xmms2 -s /bin/false -G audio xmms2
+ chown -R xmms2:xmms2 var/lib/xmms2
true
}
post_upgrade() {
post_install
-} \ No newline at end of file
+}