2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=elisa
|
2018-07-15 09:09:52 +00:00
|
|
|
pkgver=0_git20180715
|
2018-05-13 23:52:43 +00:00
|
|
|
pkgrel=0
|
2018-07-15 09:09:52 +00:00
|
|
|
_commit="c0412f3f3779ac2f93e93741403ec16575c04b19"
|
2018-07-30 22:00:55 +00:00
|
|
|
pkgdesc="Elisa Music Player"
|
2017-11-26 17:08:10 +00:00
|
|
|
arch="all"
|
2018-07-30 22:00:55 +00:00
|
|
|
url="https://github/com/kde/elisa"
|
2017-11-26 17:08:10 +00:00
|
|
|
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
|
2018-06-11 21:52:16 +00:00
|
|
|
kconfig-dev kcmutils-dev kpackage-dev qt5-qtquickcontrols2-dev"
|
2017-11-26 17:08:10 +00:00
|
|
|
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
|
|
|
|
}
|
2018-07-15 09:09:52 +00:00
|
|
|
sha512sums="dfd8305d991ac089fc20fb5c2bed95ebbdbf7ad814ac8bd233ad8b3f321d6dc5a949ddce15e1e91067d9647fbf053460957e1da29905bd5bbab22a628e45460f c0412f3f3779ac2f93e93741403ec16575c04b19.tar.gz"
|