aports/testing/amber-mpris/APKBUILD
2024-12-22 16:45:10 +00:00

33 lines
825 B
Text

maintainer="Bart Ribbers <bribbers@disroot.org>"
pkgname=amber-mpris
pkgver=1.2.9
pkgrel=0
pkgdesc="MPRIS v.2 specification implementation for Qt and QML plugin"
url="https://github.com/sailfishos/amber-mpris"
# armhf blocked by qt6-qtdeclarative
arch="all !armhf"
license="LGPL-2.1-or-later"
depends=""
makedepends="
chrpath
qt6-qtbase-dev
qt6-qtdeclarative-dev
"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/sailfishos/amber-mpris/archive/refs/tags/$pkgver.tar.gz"
build() {
qmake6 \
PREFIX=/usr
make
}
package() {
INSTALL_ROOT="$pkgdir" make install
chrpath -d "$pkgdir"/usr/lib/libambermpris.so.1.0.0
}
sha512sums="
d68b105b39cd5c2a7829fa687bf29b6626110de9059258a1fefa58d9680d79d216f4d8a2fe9a0c7d5c8b255087b88a4c67e0b4afe4ba4baec0d84a3e2c5f91d7 amber-mpris-1.2.9.tar.gz
"