summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-07-09 18:18:43 -0600
committerBrian Bidulock2015-07-09 18:18:43 -0600
commit100cfe3b62da9d256399b2337201dd7e2154b102 (patch)
treeef5a2d1b76983da6a066c1b40d42335f0ceb189c
downloadaur-100cfe3b62da9d256399b2337201dd7e2154b102.tar.gz
initial version
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD38
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e04cc7dd85c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = gst123
+ pkgdesc = A more flexible command line player in the spirit of ogg123 and mpg123, based on gstreamer
+ pkgver = 0.3.3
+ pkgrel = 1
+ url = http://space.twc.de/~stefan/gst123.php
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = ncurses
+ depends = gst-plugins-base-libs
+ depends = gtk2
+ optdepends = gst-libav: more codecs support
+ optdepends = gst-plugins-base: more codecs support
+ optdepends = gst-plugins-good: more codecs support
+ optdepends = gst-plgusin-bad: more codecs support
+ optdepends = gst-plugins-ugly: more codecs support
+ source = http://space.twc.de/~stefan/gst123/gst123-0.3.3.tar.bz2
+ md5sums = 42fb711480238b89db8889847c1ec99e
+
+pkgname = gst123
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1875faef556
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: speps <speps at aur dot archlinux dot org>
+# Contributor: paterbrown <paterbrown at silberhelme dot de>
+
+pkgname=gst123
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="A more flexible command line player in the spirit of ogg123 and mpg123, based on gstreamer"
+arch=('i686' 'x86_64')
+url="http://space.twc.de/~stefan/gst123.php"
+license=('LGPL')
+depends=('gst-plugins-base-libs' 'gtk2')
+optdepends=('xdg-utils: disable screensaver during playback')
+makedepends=('ncurses')
+optdepends=('gst-libav: more codecs support'
+ 'gst-plugins-base: more codecs support'
+ 'gst-plugins-good: more codecs support'
+ 'gst-plgusin-bad: more codecs support'
+ 'gst-plugins-ugly: more codecs support')
+source=("http://space.twc.de/~stefan/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=('42fb711480238b89db8889847c1ec99e')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # replace ncurses5 with ncursesw5
+ sed -i "s_ncurses5_ncursesw5_g" configure*
+
+ # gtkwindow appears twice (workaround fix) - seems to be gone?
+# sed -i '/ rc/d' src/gtkinterface.cc
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}