summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrobot Viktor2019-04-08 22:19:30 +0300
committerDrobot Viktor2019-04-08 22:19:30 +0300
commitf325f4620a1414e08df86375a0827b24a7b0b347 (patch)
tree517a8bb5f01be5527ef83e40e2144c54f4f98303
downloadaur-sdrsharp.tar.gz
First release
-rw-r--r--.SRCINFO39
-rw-r--r--PKGBUILD81
-rw-r--r--adsbspy.desktop9
-rw-r--r--adsbspy.pngbin0 -> 4762 bytes
-rw-r--r--airspycalibrate.desktop9
-rw-r--r--airspycalibrate.pngbin0 -> 8457 bytes
-rw-r--r--astrospy.desktop9
-rw-r--r--astrospy.pngbin0 -> 2009 bytes
-rw-r--r--sdrsharp.desktop9
-rw-r--r--sdrsharp.pngbin0 -> 4305 bytes
-rw-r--r--spectrumspy.desktop9
-rw-r--r--spectrumspy.pngbin0 -> 2009 bytes
12 files changed, 165 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8a6e1f1b412
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,39 @@
+pkgbase = sdrsharp
+ pkgdesc = The most popular SDR program
+ pkgver = 1.0.0.1457
+ pkgrel = 1
+ url = https://airspy.com
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = unzip
+ depends = mono
+ depends = portaudio
+ depends = rtl-sdr
+ depends = alsa-lib
+ noextract = sdrsharp.zip
+ source = sdrsharp.zip::https://www.iz3mez.it/software/SDRSharp/SDRSharp_v1457.zip
+ source = sdrsharp.png
+ source = sdrsharp.desktop
+ source = adsbspy.png
+ source = adsbspy.desktop
+ source = airspycalibrate.png
+ source = airspycalibrate.desktop
+ source = astrospy.png
+ source = astrospy.desktop
+ source = spectrumspy.png
+ source = spectrumspy.desktop
+ md5sums = 9502200562c15b2ecb318a175f2a367e
+ md5sums = 5e4b80ffe82a62461397e5106f6710e5
+ md5sums = 4794615b40632d93c2aecd8fdc9c9653
+ md5sums = 81264312aed7912d6c74d9fbb42484c7
+ md5sums = 90af32ab874feddd416680f932c6ec3c
+ md5sums = baf3d4a8f5c84db62887f976df6933cb
+ md5sums = 9bc143b4a43e9694fb68573ffa95a6f2
+ md5sums = c8154e76dc02b501dfc156f19202ad62
+ md5sums = 84a012b4ffa33f57e948ebbbb4ead92a
+ md5sums = 94e2fa174d9858083f2e4949b458bffb
+ md5sums = bffd93dd3dedbddcc73d953031fb2098
+
+pkgname = sdrsharp
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a7ea81d8f5f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,81 @@
+# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
+
+pkgname=sdrsharp
+pkgver=1.0.0.1457
+pkgrel=1
+pkgdesc="The most popular SDR program"
+arch=('i686' 'x86_64')
+url="https://airspy.com"
+license=('custom')
+depends=('mono' 'portaudio' 'rtl-sdr' 'alsa-lib')
+makedepends=('unzip')
+source=("sdrsharp.zip::https://www.iz3mez.it/software/SDRSharp/SDRSharp_v${pkgver:(-4)}.zip"
+ "sdrsharp.png"
+ "sdrsharp.desktop"
+ "adsbspy.png"
+ "adsbspy.desktop"
+ "airspycalibrate.png"
+ "airspycalibrate.desktop"
+ "astrospy.png"
+ "astrospy.desktop"
+ "spectrumspy.png"
+ "spectrumspy.desktop")
+noextract=("sdrsharp.zip")
+md5sums=('9502200562c15b2ecb318a175f2a367e'
+ '5e4b80ffe82a62461397e5106f6710e5'
+ '4794615b40632d93c2aecd8fdc9c9653'
+ '81264312aed7912d6c74d9fbb42484c7'
+ '90af32ab874feddd416680f932c6ec3c'
+ 'baf3d4a8f5c84db62887f976df6933cb'
+ '9bc143b4a43e9694fb68573ffa95a6f2'
+ 'c8154e76dc02b501dfc156f19202ad62'
+ '84a012b4ffa33f57e948ebbbb4ead92a'
+ '94e2fa174d9858083f2e4949b458bffb'
+ 'bffd93dd3dedbddcc73d953031fb2098')
+
+prepare() {
+ cd "${srcdir}"
+
+ unzip sdrsharp.zip -d sdrsharp
+ cd sdrsharp
+ rm httpget.exe install-rtlsdr.bat unzip.exe
+ mv LICENSE.txt ${srcdir}/LICENSE
+}
+
+package() {
+ # create directories
+ mkdir -p "${pkgdir}"/opt/sdrsharp
+ mkdir -p "${pkgdir}"/usr/share/applications
+ mkdir -p "${pkgdir}"/usr/share/icons/hicolor/48x48/apps
+ mkdir -p "${pkgdir}"/usr/share/icons/hicolor/64x64/apps
+ mkdir -p "${pkgdir}"/usr/share/icons/hicolor/128x128/apps
+
+ # install stuff
+ install -Dm644 "${srcdir}"/sdrsharp/* "${pkgdir}"/opt/sdrsharp
+
+ # fix permissions for config files
+ chmod o+w "${pkgdir}"/opt/sdrsharp/*.config
+
+ # link libraries
+ cd "${pkgdir}"/opt/sdrsharp
+ ln -s /usr/lib/librtlsdr.so librtlsdr.dll
+ ln -s /usr/lib/libportaudio.so libportaudio.so
+
+ # compile and optimize executables
+ mono --aot --optimize=all --optimize=float32 SDRSharp.exe
+ mono --aot --optimize=all --optimize=float32 ADSBSpy.exe
+ mono --aot --optimize=all --optimize=float32 AirspyCalibrate.exe
+ mono --aot --optimize=all --optimize=float32 AstroSpy.exe
+ mono --aot --optimize=all --optimize=float32 SpectrumSpy.exe
+
+ # install icons and desktop entries
+ install -Dm644 "${srcdir}"/*.desktop "${pkgdir}"/usr/share/applications
+ install -Dm644 "${srcdir}"/adsbspy.png "${pkgdir}"/usr/share/icons/hicolor/48x48/apps/adsbspy.png
+ install -Dm644 "${srcdir}"/airspycalibrate.png "${pkgdir}"/usr/share/icons/hicolor/128x128/apps/airspycalibrate.png
+ install -Dm644 "${srcdir}"/astrospy.png "${pkgdir}"/usr/share/icons/hicolor/64x64/apps/astrospy.png
+ install -Dm644 "${srcdir}"/sdrsharp.png "${pkgdir}"/usr/share/icons/hicolor/64x64/apps/sdrsharp.png
+ install -Dm644 "${srcdir}"/spectrumspy.png "${pkgdir}"/usr/share/icons/hicolor/64x64/apps/spectrumspy.png
+
+ # install license
+ install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
diff --git a/adsbspy.desktop b/adsbspy.desktop
new file mode 100644
index 00000000000..7000c52a52c
--- /dev/null
+++ b/adsbspy.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=ADSBSpy
+Type=Application
+Comment=ADSBSpy application
+Exec=mono --optimize=float32 /opt/sdrsharp/ADSBSpy.exe
+Icon=adsbspy
+GenericName=ADSBSpy
+Categories=AudioVideo;Network;
diff --git a/adsbspy.png b/adsbspy.png
new file mode 100644
index 00000000000..65540ae3e9f
--- /dev/null
+++ b/adsbspy.png
Binary files differ
diff --git a/airspycalibrate.desktop b/airspycalibrate.desktop
new file mode 100644
index 00000000000..0783f1aa74c
--- /dev/null
+++ b/airspycalibrate.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=AirspyCalibrate
+Type=Application
+Comment=AirspyCalibrate application
+Exec=mono --optimize=float32 /opt/sdrsharp/AirspyCalibrate.exe
+Icon=airspycalibrate
+GenericName=AirspyCalibrate
+Categories=AudioVideo;Network;
diff --git a/airspycalibrate.png b/airspycalibrate.png
new file mode 100644
index 00000000000..61ae6e26525
--- /dev/null
+++ b/airspycalibrate.png
Binary files differ
diff --git a/astrospy.desktop b/astrospy.desktop
new file mode 100644
index 00000000000..53aaca0c2cb
--- /dev/null
+++ b/astrospy.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=AstroSpy
+Type=Application
+Comment=AstroSpy application
+Exec=mono --optimize=float32 /opt/sdrsharp/AstroSpy.exe
+Icon=astrospy
+GenericName=AstroSpy
+Categories=AudioVideo;Network;
diff --git a/astrospy.png b/astrospy.png
new file mode 100644
index 00000000000..80b2ffddaf2
--- /dev/null
+++ b/astrospy.png
Binary files differ
diff --git a/sdrsharp.desktop b/sdrsharp.desktop
new file mode 100644
index 00000000000..c1096846fd6
--- /dev/null
+++ b/sdrsharp.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=SDR#
+Type=Application
+Comment=SDR# application
+Exec=mono --optimize=float32 /opt/sdrsharp/SDRSharp.exe
+Icon=sdrsharp
+GenericName=SDR#
+Categories=AudioVideo;Network;
diff --git a/sdrsharp.png b/sdrsharp.png
new file mode 100644
index 00000000000..a2dfc421a90
--- /dev/null
+++ b/sdrsharp.png
Binary files differ
diff --git a/spectrumspy.desktop b/spectrumspy.desktop
new file mode 100644
index 00000000000..7d47fd4ebf9
--- /dev/null
+++ b/spectrumspy.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=SpectrumSpy
+Type=Application
+Comment=SpectrumSpy application
+Exec=mono --optimize=float32 /opt/sdrsharp/SpectrumSpy.exe
+Icon=spectrumspy
+GenericName=SpectrumSpy
+Categories=AudioVideo;Network;
diff --git a/spectrumspy.png b/spectrumspy.png
new file mode 100644
index 00000000000..e81102d1a73
--- /dev/null
+++ b/spectrumspy.png
Binary files differ