**General:** - Added VScode tasks **Minisatip:** - Updated minisatip versions to 2.0.88 - Build system was changed to CMake since 2.0.72 - Switched away from static builds Reviewed-on: #1 Co-authored-by: Bram Prieshof <bram@bprieshof.nl> Co-committed-by: Bram Prieshof <bram@bprieshof.nl>
44 lines
1.4 KiB
Bash
44 lines
1.4 KiB
Bash
# Maintainer: Bram Prieshof <bram@bprieshof.nl>
|
|
pkgname=minisatip
|
|
pkgver=2.0.88
|
|
pkgrel=0
|
|
pkgdesc="SATIP server"
|
|
url="https://github.com/catalinii/minisatip"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends="linux-headers openssl curl libdvbcsa libxml2"
|
|
makedepends="openssl-dev openssl-libs-static libdvbcsa-dev libxml2-dev cmake ninja-build ninja-is-really-ninja"
|
|
options=" !check !archcheck"
|
|
|
|
source="minisatip-src.tar.gz::https://codeload.github.com/catalinii/minisatip/tar.gz/v$pkgver
|
|
minisatip.initd
|
|
"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "${_builddir}"
|
|
if [ "$CARCH" = "armhf" ] || [ "$CARCH" = "armv7" ]; then
|
|
#cmake -B build -DCXX23=OFF -DSTATIC=ON
|
|
cmake -B build -DCXX23=OFF
|
|
else
|
|
cmake -B build
|
|
#cmake -B build -DSTATIC=ON
|
|
fi
|
|
cd build
|
|
sed -i "s/\~/${pkgver}-r${pkgrel}/" config.h
|
|
ninja
|
|
}
|
|
|
|
package() {
|
|
install -D -m755 "$srcdir"/minisatip.initd "$pkgdir"/etc/init.d/minisatip
|
|
install -D -m755 "${_builddir}"/build/minisatip "$pkgdir"/usr/sbin/minisatip
|
|
mkdir -p "$pkgdir"/usr/share/minisatip
|
|
mv "${_builddir}"/html "$pkgdir"/usr/share/minisatip
|
|
}
|
|
|
|
sha512sums="
|
|
e45dc96ac72b01e634e7990abe3d59b915e1905b2e6f4fe5130afa2e671a96582e29f212a69025af49f270698ae08b17eba69dc01155ebe9168dbbb6b0393a3f minisatip-src.tar.gz
|
|
970823cd26821af97bd099104b8c2b5376a21701b0e3d0e8947b6784091c4bfb179af8064d9bcfc18d9629705b5b3999d6cbfcb19bf2f4d20593d08f95e3d849 minisatip.initd
|
|
"
|