Created
June 1, 2023 14:32
-
-
Save dnaeon/065c842e73b99a8338af9d6953849c94 to your computer and use it in GitHub Desktop.
sdrpp-git diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.SRCINFO b/.SRCINFO | |
index 281841c..a66ff62 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -1,29 +1,33 @@ | |
pkgbase = sdrpp-git | |
- pkgdesc = The Bloat-free SDR Receiver | |
- pkgver = 1.0.4.r462.3336ae4 | |
+ pkgdesc = Cross-Platform SDR Software | |
+ pkgver = 1.0.4.r479.3a06612 | |
pkgrel = 1 | |
- url = https://github.com/AlexandreRouma/SDRPlusPlus | |
+ url = https://www.sdrpp.org/ | |
arch = x86_64 | |
license = GPL3 | |
makedepends = cmake | |
makedepends = git | |
+ makedepends = codec2 | |
+ makedepends = portaudio | |
makedepends = airspy | |
makedepends = airspyhf-git | |
makedepends = bladerf | |
+ makedepends = hackrf | |
makedepends = libad9361 | |
makedepends = libiio | |
makedepends = libsdrplay | |
makedepends = limesuite | |
makedepends = rtl-sdr | |
makedepends = soapysdr | |
- depends = fftw | |
depends = glfw | |
+ depends = fftw | |
depends = glew | |
depends = libvolk | |
depends = rtaudio | |
optdepends = airspy | |
optdepends = airspyhf-git | |
optdepends = bladerf | |
+ optdepends = hackrf | |
optdepends = libad9361 | |
optdepends = libiio | |
optdepends = libsdrplay | |
@@ -32,7 +36,7 @@ pkgbase = sdrpp-git | |
optdepends = soapysdr | |
provides = sdrpp | |
conflicts = sdrpp | |
- source = sdrpp::git+https://github.com/AlexandreRouma/SDRPlusPlus.git | |
+ source = sdrpp::git+https://github.com/AlexandreRouma/SDRPlusPlus | |
b2sums = SKIP | |
pkgname = sdrpp-git | |
diff --git a/PKGBUILD b/PKGBUILD | |
index 616cea1..9352845 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -1,36 +1,41 @@ | |
# Maintainer: Alexandre Rouma <[email protected]> | |
# Maintainer: éclairevoyant | |
+# Contributor: Marin Atanasov Nikolov <[email protected]> | |
_pkgname=sdrpp | |
-pkgname="$_pkgname-git" | |
-pkgver=1.0.4.r462.3336ae4 | |
+pkgname="${_pkgname}-git" | |
+pkgver=1.0.4.r479.3a06612 | |
pkgrel=1 | |
-pkgdesc="The Bloat-free SDR Receiver" | |
-arch=(x86_64) | |
-url="https://github.com/AlexandreRouma/SDRPlusPlus" | |
-license=(GPL3) | |
-depends=(fftw glfw glew libvolk rtaudio) | |
+pkgdesc='Cross-Platform SDR Software' | |
+arch=('x86_64') | |
+url='https://www.sdrpp.org/' | |
+license=('GPL3') | |
+depends=(glfw fftw glew libvolk rtaudio) | |
_plugindeps=(airspy airspyhf-git bladerf hackrf libad9361 libiio libsdrplay limesuite rtl-sdr soapysdr) | |
-makedepends=(cmake git "${_plugindeps[@]}") | |
+makedepends=(cmake git codec2 portaudio "${_plugindeps[@]}") | |
optdepends=("${_plugindeps[@]}") | |
-provides=("$_pkgname") | |
-conflicts=("$_pkgname") | |
-source=("$_pkgname::git+$url.git") | |
+provides=("${_pkgname}") | |
+conflicts=("${_pkgname}") | |
+source=("${_pkgname}::git+https://github.com/AlexandreRouma/SDRPlusPlus") | |
b2sums=('SKIP') | |
pkgver() { | |
- cd $_pkgname | |
- git describe --long --tags --exclude nightly | sed 's/\([^-]*-\)g/r\1/;s/-/./g' | |
+ cd "${_pkgname}" | |
+ git describe --long --tags --exclude nightly | sed 's/\([^-]*-\)g/r\1/;s/-/./g' | |
} | |
build() { | |
- cmake -B build -S $_pkgname \ | |
- -DOPT_BUILD_SDRPLAY_SOURCE=ON \ | |
- -DOPT_BUILD_BLADERF_SOURCE=ON \ | |
- -DOPT_BUILD_LIMESDR_SOURCE=ON | |
- make -C build $MAKEOPTS | |
+ cmake -B build \ | |
+ -S "${_pkgname}" \ | |
+ -DOPT_BUILD_BLADERF_SOURCE=ON \ | |
+ -DOPT_BUILD_LIMESDR_SOURCE=ON \ | |
+ -DOPT_BUILD_SDRPLAY_SOURCE=ON \ | |
+ -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON \ | |
+ -DOPT_BUILD_M17_DECODER=ON | |
+ | |
+ make -C build VERBOSE=1 | |
} | |
package() { | |
- make -C build DESTDIR="$pkgdir/" install | |
+ make -C build DESTDIR="${pkgdir}/" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment