2019-02-19 18:54:38 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=plasma-videoplayer
|
|
|
|
_pkgname=videoplayer
|
2019-04-05 09:31:13 +00:00
|
|
|
pkgver=0_git20190403
|
2019-02-19 18:54:38 +00:00
|
|
|
pkgrel=0
|
2019-04-05 09:31:13 +00:00
|
|
|
_commit="fb2501691b73aad040807cae09e1b04178a885a1"
|
2019-02-19 18:54:38 +00:00
|
|
|
pkgdesc="Video Player for Plasma Mobile"
|
|
|
|
url="https://invent.kde.org/jbbgameich/videoplayer"
|
|
|
|
arch="all"
|
|
|
|
license="GPL-2.0 LGPL-2.1"
|
|
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev plasma-framework-dev kdeclarative-dev ki18n-dev kdbusaddons-dev"
|
2019-04-05 09:31:13 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/jbbgameich/$_pkgname/-/archive/$_commit/$_pkgname-$_commit.tar.gz"
|
2019-02-19 18:54:38 +00:00
|
|
|
builddir="$srcdir/$_pkgname-$_commit"
|
|
|
|
|
2019-04-05 09:31:13 +00:00
|
|
|
prepare() {
|
|
|
|
mkdir "$builddir"/build
|
|
|
|
}
|
|
|
|
|
2019-02-19 18:54:38 +00:00
|
|
|
build() {
|
2019-04-05 09:31:13 +00:00
|
|
|
cd "$builddir"/build
|
|
|
|
cmake .. \
|
2019-02-19 18:54:38 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2019-04-05 09:31:13 +00:00
|
|
|
cd "$builddir"/build
|
2019-02-19 18:54:38 +00:00
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-04-05 09:31:13 +00:00
|
|
|
cd "$builddir"/build
|
2019-02-19 18:54:38 +00:00
|
|
|
DESTDIR="$pkgdir" make install
|
|
|
|
}
|
2019-04-05 09:31:13 +00:00
|
|
|
sha512sums="70f143fe4c3294a28d7b7802825e02bb34a5b3a475e5b8a0e6f3f4469f721ed5c8f82fa7b2025b591892fa8e8fa789a86d2ffab7fcf86b69b1730e562fae0d50 plasma-videoplayer-fb2501691b73aad040807cae09e1b04178a885a1.tar.gz"
|