[arch-commits] Commit in mpg123/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 13:32:21 UTC 2020


    Date: Saturday, May 16, 2020 @ 13:32:20
  Author: foutrelis
Revision: 384629

archrelease: copy trunk to staging-x86_64

Added:
  mpg123/repos/staging-x86_64/
  mpg123/repos/staging-x86_64/PKGBUILD
    (from rev 384628, mpg123/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: mpg123/repos/staging-x86_64/PKGBUILD (from rev 384628, mpg123/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 13:32:20 UTC (rev 384629)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=mpg123
+pkgver=1.25.13
+pkgrel=2
+pkgdesc='Console based real time MPEG Audio Player for Layer 1, 2 and 3'
+url="https://sourceforge.net/projects/mpg123"
+arch=('x86_64')
+license=('LGPL2.1')
+depends=('libltdl' 'alsa-lib')
+makedepends=('sdl' 'jack' 'libpulse')
+optdepends=('sdl: for sdl audio support'
+            'jack: for jack audio support'
+            'libpulse: for pulse audio support')
+provides=(libmpg123.so libout123.so)
+source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
+sha256sums=('90306848359c793fd43b9906e52201df18775742dc3c81c06ab67a806509890a'
+            'SKIP')
+validpgpkeys=('D021FF8ECF4BE09719D61A27231C4CBC60D5CAFE')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --enable-int-quality \
+    --with-module-suffix=.so \
+    --with-audio="alsa oss sdl jack pulse"
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 755 scripts/conplay "${pkgdir}/usr/bin/conplay"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list