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-09-07 21:39:37 +00:00
|
|
|
pkgver=0.3_git20190505
|
|
|
|
pkgrel=0
|
|
|
|
_commit="efd715ef60ab321035ab44ddca36a95a8aad176f"
|
2019-02-19 18:54:38 +00:00
|
|
|
pkgdesc="Video Player for Plasma Mobile"
|
|
|
|
url="https://invent.kde.org/jbbgameich/videoplayer"
|
|
|
|
arch="all"
|
2019-09-07 21:39:37 +00:00
|
|
|
license="LGPL-2.1-or-later"
|
2019-02-19 18:54:38 +00:00
|
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev plasma-framework-dev kdeclarative-dev ki18n-dev kdbusaddons-dev"
|
2019-09-07 21:39:37 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/jbbgameich/videoplayer/-/archive/$_commit/videoplayer-$_commit.tar.gz"
|
|
|
|
options="!check" # No tests
|
2019-02-19 18:54:38 +00:00
|
|
|
builddir="$srcdir/$_pkgname-$_commit"
|
|
|
|
|
2019-04-05 09:31:13 +00:00
|
|
|
prepare() {
|
2019-09-07 21:39:37 +00:00
|
|
|
default_prepare
|
|
|
|
|
2019-04-05 09:31:13 +00:00
|
|
|
mkdir "$builddir"/build
|
|
|
|
}
|
|
|
|
|
2019-02-19 18:54:38 +00:00
|
|
|
build() {
|
2019-04-05 09:31:13 +00:00
|
|
|
cd "$builddir"/build
|
2019-09-07 21:39:37 +00:00
|
|
|
cmake "$builddir" \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
2019-02-19 18:54:38 +00:00
|
|
|
-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-09-07 21:39:37 +00:00
|
|
|
sha512sums="fbd4d320264ae820f3e7f64b41df93a3242ec47d5ad05a241f293926509bdd8799eb90295fe18cbd4ac80c4f7ab87c29b53528c671023ddcd9c42ccbafc99ca7 plasma-videoplayer-efd715ef60ab321035ab44ddca36a95a8aad176f.tar.gz"
|