[arch-commits] Commit in gqrx/repos (4 files)
Kyle Keen
kkeen at archlinux.org
Tue Sep 12 10:43:35 UTC 2017
Date: Tuesday, September 12, 2017 @ 10:43:34
Author: kkeen
Revision: 257106
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
gqrx/repos/community-staging-i686/
gqrx/repos/community-staging-i686/PKGBUILD
(from rev 257105, gqrx/trunk/PKGBUILD)
gqrx/repos/community-staging-x86_64/
gqrx/repos/community-staging-x86_64/PKGBUILD
(from rev 257105, gqrx/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
Copied: gqrx/repos/community-staging-i686/PKGBUILD (from rev 257105, gqrx/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-09-12 10:43:34 UTC (rev 257106)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+
+pkgname=gqrx
+pkgver=2.7
+pkgrel=2
+pkgdesc="Interactive SDR receiver waterfall for many devices."
+arch=('i686' 'x86_64')
+url="http://gqrx.dk/"
+license=('GPL')
+depends=('qt5-svg' 'libpulse' 'gnuradio-osmosdr' 'libxkbcommon-x11')
+makedepends=('boost')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/csete/gqrx/archive/v$pkgver.tar.gz")
+md5sums=('cc9d918fab02e94457d9c85582ca3929')
+
+prepare() {
+ cd "$srcdir"
+ echo "StartupNotify=false" >> gqrx-$pkgver/gqrx.desktop
+ cp -r gqrx-$pkgver gqrx-$pkgver-alsa
+ cd gqrx-$pkgver-alsa
+ sed -i 's/AUDIO_BACKEND = pulse/#&/' gqrx.pro
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ rm -rf build
+ mkdir build
+ cd build
+ qmake PREFIX=/usr/ ..
+ make
+ cd "$srcdir/$pkgname-$pkgver-alsa"
+ rm -rf build
+ mkdir build
+ cd build
+ qmake PREFIX=/usr/ ..
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "resources/icons/gqrx.svg" "$pkgdir/usr/share/pixmaps/gqrx.svg"
+
+ cd "$srcdir/$pkgname-$pkgver/build"
+ make install INSTALL_ROOT="$pkgdir"
+
+ cd "$srcdir/$pkgname-$pkgver-alsa/build"
+ install -Dm755 gqrx "$pkgdir/usr/bin/gqrx-alsa"
+}
+
Copied: gqrx/repos/community-staging-x86_64/PKGBUILD (from rev 257105, gqrx/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-09-12 10:43:34 UTC (rev 257106)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+
+pkgname=gqrx
+pkgver=2.7
+pkgrel=2
+pkgdesc="Interactive SDR receiver waterfall for many devices."
+arch=('i686' 'x86_64')
+url="http://gqrx.dk/"
+license=('GPL')
+depends=('qt5-svg' 'libpulse' 'gnuradio-osmosdr' 'libxkbcommon-x11')
+makedepends=('boost')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/csete/gqrx/archive/v$pkgver.tar.gz")
+md5sums=('cc9d918fab02e94457d9c85582ca3929')
+
+prepare() {
+ cd "$srcdir"
+ echo "StartupNotify=false" >> gqrx-$pkgver/gqrx.desktop
+ cp -r gqrx-$pkgver gqrx-$pkgver-alsa
+ cd gqrx-$pkgver-alsa
+ sed -i 's/AUDIO_BACKEND = pulse/#&/' gqrx.pro
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ rm -rf build
+ mkdir build
+ cd build
+ qmake PREFIX=/usr/ ..
+ make
+ cd "$srcdir/$pkgname-$pkgver-alsa"
+ rm -rf build
+ mkdir build
+ cd build
+ qmake PREFIX=/usr/ ..
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "resources/icons/gqrx.svg" "$pkgdir/usr/share/pixmaps/gqrx.svg"
+
+ cd "$srcdir/$pkgname-$pkgver/build"
+ make install INSTALL_ROOT="$pkgdir"
+
+ cd "$srcdir/$pkgname-$pkgver-alsa/build"
+ install -Dm755 gqrx "$pkgdir/usr/bin/gqrx-alsa"
+}
+
More information about the arch-commits
mailing list