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

Felix Yan felixonmars at archlinux.org
Fri Jul 31 08:31:23 UTC 2020


    Date: Friday, July 31, 2020 @ 08:31:22
  Author: felixonmars
Revision: 392758

archrelease: copy trunk to testing-x86_64

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

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

Copied: mpg123/repos/testing-x86_64/PKGBUILD (from rev 392757, mpg123/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-07-31 08:31:22 UTC (rev 392758)
@@ -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.2
+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=('aa63fcb08b243a1e09f7701b3d84a19d7412a87253d54d49f014fdb9e75bbc81d152a41ed750fccde901453929b2a001585a7645351b41845ad205c17a73dcc9'
+            '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