[arch-commits] Commit in liquid-dsp/repos/community-x86_64 (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Fri Jun 14 23:55:46 UTC 2019


    Date: Friday, June 14, 2019 @ 23:55:46
  Author: ffy00
Revision: 481591

archrelease: copy trunk to community-x86_64

Added:
  liquid-dsp/repos/community-x86_64/PKGBUILD
    (from rev 481590, liquid-dsp/trunk/PKGBUILD)
Deleted:
  liquid-dsp/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  109 ++++++++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 72 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-14 23:55:33 UTC (rev 481590)
+++ PKGBUILD	2019-06-14 23:55:46 UTC (rev 481591)
@@ -1,37 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=liquid-dsp
-pkgver=1.3.1
-pkgrel=1
-pkgdesc='Open-source signal processing library for software-defined radios'
-arch=('x86_64')
-url='http://liquidsdr.org'
-license=('MIT')
-depends=('glibc')
-optdepends=('fftw: efficient FFT')
-source=("$url/downloads/$pkgname-$pkgver.tar.gz")
-sha512sums=('6da76030fc346e3fadfe70e72be14d1f2ff198d3e9bb5ffb5f4d9b89945686d2474d3bb4911a2b923aad22feabebf2744d47afbffabab87737fe46a24af68917')
-
-build() {
-    cd $pkgname-$pkgver
-
-    autoreconf -vif
-    enable_simdoverride='' ./configure --prefix=/usr
-
-    make
-}
-
-check() {
-    cd $pkgname-$pkgver
-
-    make check
-}
-
-package() {
-    cd $pkgname-$pkgver
-
-    make DESTDIR="$pkgdir" install
-
-    install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: liquid-dsp/repos/community-x86_64/PKGBUILD (from rev 481590, liquid-dsp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-14 23:55:46 UTC (rev 481591)
@@ -0,0 +1,72 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgbase=liquid-dsp
+pkgname=($pkgbase $pkgbase-sse4.1)
+pkgver=1.3.1
+pkgrel=1
+pkgdesc='Open-source signal processing library for software-defined radios'
+arch=('x86_64')
+url='http://liquidsdr.org'
+license=('MIT')
+depends=('glibc')
+optdepends=('fftw: efficient FFT')
+source=("$url/downloads/$pkgbase-$pkgver.tar.gz")
+sha512sums=('6da76030fc346e3fadfe70e72be14d1f2ff198d3e9bb5ffb5f4d9b89945686d2474d3bb4911a2b923aad22feabebf2744d47afbffabab87737fe46a24af68917')
+
+prepare() {
+    mkdir $pkgbase-sse4.1-$pkgver
+    cp -r $pkgbase-$pkgver/* $pkgbase-sse4.1-$pkgver
+
+    sed -i 's|ax_cv_have_sse41_ext=.*|ax_cv_have_sse41_ext=yes|' $pkgbase-sse4.1-$pkgver/scripts/ax_ext.m4
+}
+
+build() {
+    echo 'Building liquid-dsp...'
+    cd "$srcdir"/$pkgbase-$pkgver
+
+    autoreconf -vif
+    enable_simdoverride='' ./configure --prefix=/usr
+
+    make
+
+    echo 'Building liquid-dsp-sse4.1...'
+    cd "$srcdir"/$pkgbase-sse4.1-$pkgver
+
+    autoreconf -vif
+    ./configure --prefix=/usr
+
+    make
+}
+
+check() {
+    echo 'Checking liquid-dsp...'
+    cd "$srcdir"/$pkgbase-$pkgver
+
+    make check
+
+    echo 'Checking liquid-dsp-sse4.1...'
+    cd "$srcdir"/$pkgbase-sse4.1-$pkgver
+
+    make check
+}
+
+package_liquid-dsp() {
+    cd $pkgbase-$pkgver
+
+    make DESTDIR="$pkgdir" install
+
+    install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_liquid-dsp-sse4.1() {
+    pkgdesc="$pkgdesc (with SSE 4.1 extensions)"
+    provides=('liquid-dsp')
+    conflicts=('liquid-dsp')
+
+    cd $pkgbase-sse4.1-$pkgver
+
+    make DESTDIR="$pkgdir" install
+
+    install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+


More information about the arch-commits mailing list