new package: qrsspig
This commit is contained in:
parent
be6198ca79
commit
45273038ba
10
packages/qrsspig/CMakeLists.txt.patch
Normal file
10
packages/qrsspig/CMakeLists.txt.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -24,5 +24,5 @@
|
||||
|
||||
subdirs(src)
|
||||
|
||||
-install(FILES systemd/qrsspig.service DESTINATION /lib/systemd/system/)
|
||||
-install(FILES etc/qrsspig.yaml DESTINATION /etc/qrsspig/)
|
||||
+install(FILES systemd/qrsspig.service DESTINATION @TERMUX_PREFIX@/lib/systemd/system/)
|
||||
+install(FILES etc/qrsspig.yaml DESTINATION @TERMUX_PREFIX@/etc/qrsspig/)
|
24
packages/qrsspig/build.sh
Normal file
24
packages/qrsspig/build.sh
Normal file
@ -0,0 +1,24 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://gitlab.com/hb9fxx/qrsspig
|
||||
TERMUX_PKG_DESCRIPTION="Headless QRSS grabber for Raspberry Pi's"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.7.2
|
||||
TERMUX_PKG_SRCURL=https://gitlab.com/hb9fxx/qrsspig/-/archive/v${TERMUX_PKG_VERSION}/qrsspig-v${TERMUX_PKG_VERSION}.tar.bz2
|
||||
TERMUX_PKG_SHA256=4bf0ad0fb9351587ac9bec87d8977d210dad670e32a8fdb62b1dac7b133d79c2
|
||||
TERMUX_PKG_DEPENDS="boost, fftw, libc++, libcurl, libgd, libliquid-dsp, libssh, libyaml-cpp, pulseaudio"
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="lib/systemd"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
_NEED_DUMMY_LIBPTHREAD_A=
|
||||
_LIBPTHREAD_A=$TERMUX_PREFIX/lib/libpthread.a
|
||||
if [ ! -e $_LIBPTHREAD_A ]; then
|
||||
_NEED_DUMMY_LIBPTHREAD_A=true
|
||||
echo '!<arch>' > $_LIBPTHREAD_A
|
||||
fi
|
||||
}
|
||||
|
||||
termux_step_post_make_install() {
|
||||
if [ $_NEED_DUMMY_LIBPTHREAD_A ]; then
|
||||
rm -f $_LIBPTHREAD_A
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue
Block a user