diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-12-24 13:19:14 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-12-24 15:13:37 +0100 |
commit | 30a5ebf569f3e1de9aa66ab6f12c0b0a92acf909 (patch) | |
tree | 68a5dde9f4dedc42fa247eefce67387a5ebcaaeb /testing/elisa | |
parent | a7e8a0b32d0cb152966a10578201b4e30811e227 (diff) | |
download | aports-30a5ebf569f3e1de9aa66ab6f12c0b0a92acf909.tar.bz2 aports-30a5ebf569f3e1de9aa66ab6f12c0b0a92acf909.tar.xz |
testing/elisa: new aport
Diffstat (limited to 'testing/elisa')
-rw-r--r-- | testing/elisa/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/elisa/APKBUILD b/testing/elisa/APKBUILD new file mode 100644 index 0000000000..0a72bbb034 --- /dev/null +++ b/testing/elisa/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=elisa +pkgver=19.12.0 +pkgrel=0 +arch="all" +url="https://kde.org/applications/multimedia/org.kde.elisa" +pkgdesc="A simple music player aiming to provide a nice experience for its users" +license="LGPL-3.0-or-later" +depends="kirigami2" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtmultimedia-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kirigami2-dev ki18n-dev kdeclarative-dev kcoreaddons-dev baloo-dev kfilemetadata-dev kdoctools-dev kxmlgui-dev kconfig-dev kconfigwidgets-dev kcrash-dev kdbusaddons-dev kcmutils-dev kpackage-dev kio-dev" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/release-service/$pkgver/src/elisa-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +prepare() { + default_prepare + + mkdir "$builddir"/build +} + +build() { + cd "$builddir"/build + cmake "$builddir" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + cd "$builddir"/build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + cd "$builddir"/build + DESTDIR="$pkgdir" make install +} + +sha512sums="bac5693e10d0db4389aeb7fcf555914d5613ec29549b5de6dbcc16b4d2d07d513157c819525f2fad61864adf7da37ad1b0ee1294e09eda79a2953e199767b14f elisa-19.12.0.tar.xz" |