716e6c10eb
This commit adds a test case, which makes sure that the KDE framework and plasma framework version are always the same. Additional changes: * APKBUILD parser parses the URL now (that's the best way I found to categorize the KDE aports in frameworks and other) * Changed single quotes to double quotes in KDE APKBUILDs, so the parser doesn't include the single quotes in the parsed result * Added the test case to the gitlab CI config
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_git20180715
|
|
pkgrel=0
|
|
_commit="c0412f3f3779ac2f93e93741403ec16575c04b19"
|
|
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="dfd8305d991ac089fc20fb5c2bed95ebbdbf7ad814ac8bd233ad8b3f321d6dc5a949ddce15e1e91067d9647fbf053460957e1da29905bd5bbab22a628e45460f c0412f3f3779ac2f93e93741403ec16575c04b19.tar.gz"
|