Date: Sunday, December 15, 2019 @ 22:29:53
  Author: arojas
Revision: 537815

Update to 1.7.0, switch to cmake - autotools is broken

Modified:
  frei0r-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-12-15 19:46:16 UTC (rev 537814)
+++ PKGBUILD    2019-12-15 22:29:53 UTC (rev 537815)
@@ -2,28 +2,29 @@
 # Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com>
 
 pkgname=frei0r-plugins
-pkgver=1.6.1
-pkgrel=7
+pkgver=1.7.0
+pkgrel=1
 pkgdesc="Minimalistic plugin API for video effects"
 arch=('x86_64')
 url="https://frei0r.dyne.org/";
 license=('GPL')
 depends=('cairo' 'gavl')
-makedepends=('doxygen') # opencv - not compatible with 4.0
+makedepends=('cmake' 'doxygen') # opencv - not compatible with 4.0
 #optdepends=('opencv: for facebl0r and facedetect plugins')
 source=(https://files.dyne.org/frei0r/$pkgname-$pkgver.tar.gz{,.asc})
 validpgpkeys=('6113D89CA825C5CEDD02C87273B35DA54ACB7D10') # Denis Roio 
(Jaromil)
-sha256sums=('e0c24630961195d9bd65aa8d43732469e8248e8918faa942cfb881769d11515e'
+sha256sums=('1b1ff8f0f9bc23eed724e94e9a7c1d8f0244bfe33424bb4fe68e6460c088523a'
             'SKIP')
 
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  mkdir -p build
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd build
   make DESTDIR="$pkgdir" install
 }

Reply via email to