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

Felix Yan felixonmars at archlinux.org
Tue Jun 16 14:12:47 UTC 2020


    Date: Tuesday, June 16, 2020 @ 14:12:46
  Author: felixonmars
Revision: 389321

archrelease: copy trunk to testing-x86_64

Added:
  mpg123/repos/testing-x86_64/
  mpg123/repos/testing-x86_64/PKGBUILD
    (from rev 389320, mpg123/trunk/PKGBUILD)

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

Copied: mpg123/repos/testing-x86_64/PKGBUILD (from rev 389320, mpg123/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-06-16 14:12:46 UTC (rev 389321)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=mpg123
+pkgver=1.26.0
+pkgrel=1
+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})
+sha512sums=('0b58b02228f950320fa948fde17730f22a27e7bf6185fe678632281ca230fa5b84358382acb0f1f438631fcdfb93d1dce252d4fbfe616711144f181deb9f2a3e'
+            '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