pmaports/kde/elisa/APKBUILD
2018-06-11 21:52:16 +00:00

36 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=elisa
pkgver=0_git20180609
pkgrel=0
_commit="0701a7c6a665a07acda036fade3891a5460a37bc"
pkgdesc='Elisa Music Player'
arch="all"
url='https://github/com/kde/elisa'
license="LGPL-3"
depends=""
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtmultimedia-dev
qt5-qtsvg-dev ki18n-dev kdeclarative-dev baloo-dev kfilemetadata-dev kxmlgui-dev
kconfig-dev kcmutils-dev kpackage-dev qt5-qtquickcontrols2-dev"
source="https://github.com/kde/$pkgname/archive/$_commit.tar.gz"
options="!check" # Fails for unknown reasons
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="${pkgdir}" install
}
sha512sums="0f5ac958ce59333228d71e35c971b5857a12998495e2a38146398ae226675e419e508ceef5577fbb2a4b927470e7ab78237efcf4fcff44f6e7ff057dfc95deaf 0701a7c6a665a07acda036fade3891a5460a37bc.tar.gz"