[arch-commits] Commit in opencore-amr/repos/extra-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Tue Aug 2 08:26:10 UTC 2022
Date: Tuesday, August 2, 2022 @ 08:26:10
Author: dvzrv
Revision: 451895
archrelease: copy trunk to extra-x86_64
Added:
opencore-amr/repos/extra-x86_64/PKGBUILD
(from rev 451894, opencore-amr/trunk/PKGBUILD)
Deleted:
opencore-amr/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 40 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-02 08:25:45 UTC (rev 451894)
+++ PKGBUILD 2022-08-02 08:26:10 UTC (rev 451895)
@@ -1,36 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Ionut Biru <ionut at archlinux.ro>
-# Contributor: WAntilles <wantilles at adslgr.com>
-
-pkgname=opencore-amr
-pkgver=0.1.5
-pkgrel=5
-pkgdesc="Open source implementation of the Adaptive Multi Rate (AMR) speech codec"
-arch=('x86_64')
-license=('Apache')
-url="https://sourceforge.net/projects/opencore-amr/"
-source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
-depends=('glibc')
-provides=('libopencore-amrwb.so' 'libopencore-amrnb.so')
-sha512sums=('c324db9dcac5a31bfac633153bc054bfe42d5ff98202c4adb3c75a3fae9792f07f60d48cd659acf106dacd307174a62b2aeee22a4af53caa20d2bfba46488faf')
-b2sums=('4943a27f0df3d874720c87f48c523d9aa4cce849dd0a3c9183466416a0629aa02dac8f01646e469e8c45438bf3c57047eb11e69f3f1b261449a0989a36639e59')
-
-prepare() {
- cd "$pkgname-$pkgver"
- autoreconf -vfi
-}
-
-build() {
- cd "$pkgname-$pkgver"
- ./configure --prefix=/usr \
- --disable-static \
- --enable-examples
- make
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -vDm 644 {ChangeLog,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
Copied: opencore-amr/repos/extra-x86_64/PKGBUILD (from rev 451894, opencore-amr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-02 08:26:10 UTC (rev 451895)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ionut Biru <ionut at archlinux.ro>
+# Contributor: WAntilles <wantilles at adslgr.com>
+
+pkgname=opencore-amr
+pkgver=0.1.6
+pkgrel=1
+pkgdesc="Open source implementation of the Adaptive Multi Rate (AMR) speech codec"
+arch=(x86_64)
+license=(Apache)
+url="https://sourceforge.net/projects/opencore-amr/"
+source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+depends=(glibc)
+provides=(libopencore-amrwb.so libopencore-amrnb.so)
+options=(debug)
+sha512sums=('8955169954b09d2d5e2190888602c75771b72455290db131ab7f40b587df32ea6a60f205126b09193b90064d0fd82b7d678032e2b4c684189788e175b83d0aa7')
+b2sums=('5f2f618b6d80d667fd99f1df8793cf0260d582e2fc8021f4af35d60b2b1db7be7c897d4b78589da5a442e684161cecef005ec4247cef7a9c3df797c68db97d52')
+
+prepare() {
+ cd $pkgname-$pkgver
+ autoreconf -fiv
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --disable-static \
+ --enable-examples
+
+ # prevent excessive overlinking due to libtool
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
+ install -vDm 644 $pkgname-$pkgver/{ChangeLog,README} -t "$pkgdir/usr/share/doc/$pkgname/"
+}
+
More information about the arch-commits
mailing list