summaryrefslogtreecommitdiff
path: root/repo/mpg123
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /repo/mpg123
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
Diffstat (limited to 'repo/mpg123')
-rw-r--r--repo/mpg123/mpg123.xibuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/mpg123/mpg123.xibuild b/repo/mpg123/mpg123.xibuild
new file mode 100644
index 0000000..d83f9cd
--- /dev/null
+++ b/repo/mpg123/mpg123.xibuild
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+NAME="mpg123"
+DESC="Console-based MPEG Audio Player for Layers 1, 2 and 3"
+
+MAKEDEPS="libtool alsa-lib linux-headers"
+
+PKG_VER=1.29.3
+SOURCE="https://www.mpg123.org/download/mpg123-$PKG_VER.tar.bz2"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --disable-dependency-tracking \
+ --with-pic \
+ --with-optimization=0 \
+ --with-cpu=i386_fpu \
+ --with-audio="alsa oss"
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ # Installation is not parallel friendly and will fail
+ # sometimes
+ make -j1 DESTDIR="$PKG_DEST" install
+}
+