36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=elisa
|
|
pkgver=0_git20180716
|
|
pkgrel=0
|
|
_commit="f3f15b0f62a15da783e0137e7ae042711249867a"
|
|
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="103db8e270d9d1aa862a5201ba3c14f40929aa01879b41804265a5e67ae05fa7fe9cd07221d414ea989e9a1ed40502aa049b116e28015adc5b7fc3ea21f17460 f3f15b0f62a15da783e0137e7ae042711249867a.tar.gz"
|