[arch-commits] Commit in bcg729/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Wed Mar 20 22:42:28 UTC 2019


    Date: Wednesday, March 20, 2019 @ 22:42:27
  Author: anthraxx
Revision: 442991

upgpkg: bcg729 1.0.4-4

Modified:
  bcg729/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-20 22:10:09 UTC (rev 442990)
+++ PKGBUILD	2019-03-20 22:42:27 UTC (rev 442991)
@@ -5,7 +5,7 @@
 
 pkgname=bcg729
 pkgver=1.0.4
-pkgrel=3
+pkgrel=4
 pkgdesc='Encoder and decoder of the ITU G.729 Annex A/B speech codec'
 url='https://www.linphone.org/technical-corner/bcg729/overview'
 arch=('x86_64')
@@ -13,24 +13,27 @@
 makedepends=('cmake')
 depends=('glibc')
 source=(https://github.com/BelledonneCommunications/bcg729/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
-        ${pkgname}-cmake-symbol-visibility.patch::https://github.com/Lekensteyn/bcg729/commit/5e70712297ad2df58a035728da07c440c8ab5fcf.patch
-        ${pkgname}-cmake-install-pkgconfig.patch::https://github.com/Lekensteyn/bcg729/commit/58e60cff7fd5829f26fcf6d7b4d80de440b1b151.patch)
+        ${pkgname}-cmake-install-pkgconfig.patch::https://github.com/BelledonneCommunications/bcg729/commit/a5907daf1b111e4ad7aab4f558f57e2af1e37e55.patch
+        ${pkgname}-cmake-symbol-visibility.patch::https://github.com/BelledonneCommunications/bcg729/commit/697bf6653a8c7421f0e821ee8d42471246e6850f.patch
+        ${pkgname}-cmake-symbol-visibility-test.patch::https://github.com/BelledonneCommunications/bcg729/commit/d63ce04a93711820d9a6985b1d11d8d91ed8e6b6.patch)
 sha256sums=('94b3542a06cbd96306efc19f959f9febae62806a22599063f82a8c33e989d48b'
-            '6696d6f3a768a6ad1c3f48439ae26a1f7cda170b010095032cd391efe457deff'
-            '22292952b6c7db426cec99bcabac87ef8b4b2bc8f4ef3c43924578878f59ce68')
+            'cf28103bab1896f3c7fa408b3f33f8db6a5ee701cc8cfb20f08741f33967e0cd'
+            '9a41a1917dfc599dfd2f4f299a762d0cc991f00d54990b9fc342ae3c07e6dd40'
+            'fbed00c37539d09002ff413fc9e9ca0413746d962c512e20f02a96bf665fb85e')
 
 prepare() {
   cd ${pkgname}-${pkgver}
-  # CMake build fixes https://github.com/BelledonneCommunications/bcg729/pull/7
+  # CMake: install pkg-config files for parity with autotools
+  patch -Np 1 < "${srcdir}/${pkgname}-cmake-install-pkgconfig.patch"
   # cmake: fix symbol visibility
   patch -Np 1 < "${srcdir}/${pkgname}-cmake-symbol-visibility.patch"
-  # CMake: install pkg-config files for parity with autotools
-  patch -Np 1 < "${srcdir}/${pkgname}-cmake-install-pkgconfig.patch"
+  patch -Np 1 < "${srcdir}/${pkgname}-cmake-symbol-visibility-test.patch"
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
-  cmake . \
+  install -d ${pkgname}-${pkgver}/build
+  cd ${pkgname}-${pkgver}/build
+  cmake .. \
       -DCMAKE_INSTALL_PREFIX=/usr \
       -DCMAKE_INSTALL_LIBDIR=lib \
       -DENABLE_STATIC=OFF
@@ -38,7 +41,7 @@
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}/build
   make DESTDIR="${pkgdir}" install
 }
 


More information about the arch-commits mailing list