mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 12:47:05 +02:00
45 lines
1 KiB
Text
45 lines
1 KiB
Text
# Maintainer: Juergen Mang <mail@jcgames.de>
|
|
pkgname=mympd
|
|
pkgver=21.0.1
|
|
pkgrel=0
|
|
pkgdesc="Standalone and mobile friendly web-based MPD client"
|
|
url="https://jcorporation.github.io/myMPD/"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
depends="newt"
|
|
makedepends="
|
|
cmake
|
|
flac-dev
|
|
gzip
|
|
jq
|
|
lua5.4
|
|
lua5.4-dev
|
|
libid3tag-dev
|
|
linux-headers
|
|
openssl-dev
|
|
pcre2-dev
|
|
perl
|
|
samurai
|
|
"
|
|
install="$pkgname.pre-install"
|
|
subpackages="$pkgname-doc $pkgname-openrc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/jcorporation/myMPD/archive/refs/tags/v$pkgver.tar.gz"
|
|
options="!check" # no test suite
|
|
builddir="$srcdir/myMPD-$pkgver"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
-DMYMPD_STARTUP_SCRIPT=OPENRC
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
3e6ba143b5e2a09dd4a0514904c1a78e05cf583ca23785ed32932ff2041cb495bd2438a9f635376b97fb80c4aea1b9e2c1b4f24f98e9e87c29a2f413048ac898 mympd-21.0.1.tar.gz
|
|
"
|