summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eduardo Castillo <hellocodelinux@gmail.com>2025-06-11 00:56:19 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2025-06-11 02:10:08 +0700
commit1a0515efa341451b6add29356789f7cb930209f7 (patch)
tree3f37355b018198acca58c82a3a73f9c2db53fc6e
parent7de9904333c5338dffab141946f9fdbca94ed431 (diff)
downloadslackbuilds-1a0515efa341451b6add29356789f7cb930209f7.tar.gz
slackbuilds-1a0515efa341451b6add29356789f7cb930209f7.tar.xz
ham/DroidStar: Added (DroidStar with GPIO support).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--ham/DroidStar/DroidStar.SlackBuild109
-rw-r--r--ham/DroidStar/DroidStar.info10
-rw-r--r--ham/DroidStar/README16
-rw-r--r--ham/DroidStar/doinst.sh3
-rw-r--r--ham/DroidStar/slack-desc19
5 files changed, 157 insertions, 0 deletions
diff --git a/ham/DroidStar/DroidStar.SlackBuild b/ham/DroidStar/DroidStar.SlackBuild
new file mode 100644
index 0000000000..526a989d22
--- /dev/null
+++ b/ham/DroidStar/DroidStar.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for DroidStar
+
+# Copyright 2025 Eduardo Castillo <hellocodelinux@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=DroidStar
+VERSION=${VERSION:-1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+mkdir -p build
+cd build
+export CXXFLAGS="$SLKCFLAGS"
+git() { :; }
+export -f git
+qmake-qt5 ..
+make
+
+mkdir -p $PKG/usr/bin
+install -m 0755 DroidStar $PKG/usr/bin/DroidStar
+strip $PKG/usr/bin/DroidStar
+
+cd ..
+mkdir -p $PKG/usr/share/pixmaps
+install -m 0644 images/droidstar.png $PKG/usr/share/pixmaps/droidstar.png
+
+mkdir -p $PKG/usr/share/applications
+cat > $PKG/usr/share/applications/droidstar.desktop << EOF
+[Desktop Entry]
+Name=DroidStar
+Comment=Digital Voice for Amateur Radio
+Exec=DroidStar
+Icon=droidstar
+Terminal=false
+Type=Application
+Categories=AudioVideo;HamRadio;
+EOF
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* COPYING* LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION 2>/dev/null || true
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cp $CWD/slack-desc $PKG/install/ 2>/dev/null || true
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/ham/DroidStar/DroidStar.info b/ham/DroidStar/DroidStar.info
new file mode 100644
index 0000000000..ad6e51e964
--- /dev/null
+++ b/ham/DroidStar/DroidStar.info
@@ -0,0 +1,10 @@
+PRGNAM="DroidStar"
+VERSION="1.0"
+HOMEPAGE="https://github.com/hellocodelinux/DroidStar"
+DOWNLOAD="https://github.com/hellocodelinux/DroidStar/archive/v1.0/DroidStar-1.0.tar.gz"
+MD5SUM="c688d706b1ff6a29519bccadb4fd0bfa"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="imbe_vocoder"
+MAINTAINER="Eduardo Castillo"
+EMAIL="hellocodelinux@gmail.com"
diff --git a/ham/DroidStar/README b/ham/DroidStar/README
new file mode 100644
index 0000000000..aadcc9bd23
--- /dev/null
+++ b/ham/DroidStar/README
@@ -0,0 +1,16 @@
+DroidStar
+
+This software connects to M17, Fusion (YSF/FCS, DN and VW
+modes are supported), DMR, P25, NXDN, D-STAR
+(REF/XRF/DCS) reflectors and AllStar nodes (as an IAX2
+client) over UDP. It is compatible with all of the AMBE
+USB devices out there (ThumbDV, DVstick 30, DVSI, etc).
+It also supports MMDVM modems and can be used as a
+hotspot, or as a stand-alone transceiver via direct mode
+to the MMDVM device.
+
+There is a vocoder plugin API available for loading of
+vocoder software. Any vocoder plugin used with DroidStar
+should be properly licensed by the user if any copyright
+patents apply. Do not use any patented vocoder plugin
+that you are not licensed to use.
diff --git a/ham/DroidStar/doinst.sh b/ham/DroidStar/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/ham/DroidStar/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/ham/DroidStar/slack-desc b/ham/DroidStar/slack-desc
new file mode 100644
index 0000000000..ffc5bc5d61
--- /dev/null
+++ b/ham/DroidStar/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+DroidStar: DroidStar (Digital Voice for Amateur Radio)
+DroidStar:
+DroidStar: DroidStar is an application for digital voice modes for amateur radio
+DroidStar:
+DroidStar: It allows connecting to D-STAR, DMR, YSF, NXDN, P25, M17, and other
+DroidStar: digital voice networks.
+DroidStar:
+DroidStar: For more information, visit:
+DroidStar: https://github.com/hellocodelinux/DroidStar
+DroidStar:
+DroidStar: