2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=elisa
|
2018-02-06 23:18:45 +00:00
|
|
|
pkgver=0_git20180205
|
2018-03-10 15:44:09 +00:00
|
|
|
pkgrel=1
|
2018-02-06 23:18:45 +00:00
|
|
|
_commit=d7c4cdff4565316d690d95b417ab87375cb9b9b2
|
2017-11-26 17:08:10 +00:00
|
|
|
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"
|
|
|
|
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-02-06 23:18:45 +00:00
|
|
|
sha512sums="499c5f3f6b154e98e3f5dde3663c7bab726edccbc2704f7805745f6e6c5c9084e7fe450629bd5a66e90bd4b96f2f23a7ac9d016d9c8e805464741d83800243f7 d7c4cdff4565316d690d95b417ab87375cb9b9b2.tar.gz"
|