28c64079db
[ci:skip-vercheck]: should not affect the resulting binary package [ci:ignore-count]
37 lines
1.3 KiB
Text
37 lines
1.3 KiB
Text
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-videoplayer
|
|
_pkgname=videoplayer
|
|
pkgver=0.3_git20190505
|
|
pkgrel=2
|
|
_commit="efd715ef60ab321035ab44ddca36a95a8aad176f"
|
|
pkgdesc="Video Player for Plasma Mobile"
|
|
url="https://invent.kde.org/jbbgameich/videoplayer"
|
|
arch="all !armhf" # armhf blocked by extra-cmake-modules
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev plasma-framework-dev kdeclarative-dev ki18n-dev kdbusaddons-dev"
|
|
source="https://invent.kde.org/jbbgameich/videoplayer/-/archive/$_commit/videoplayer-$_commit.tar.gz"
|
|
options="!check" # No tests
|
|
builddir="$srcdir/$_pkgname-$_commit"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
# qmlplugindump fails for armv7+qemu (pmb#1970). This is purely for
|
|
# packager knowledge and doesn't affect runtime, so we can disable it.
|
|
if [ "$CARCH" = "armv7" ]; then
|
|
sed -i "s/ecm_find_qmlmodule/# ecm_find_qmlmodule/g" CMakeLists.txt
|
|
fi
|
|
}
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make -C build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make -C build install
|
|
}
|
|
sha512sums="fbd4d320264ae820f3e7f64b41df93a3242ec47d5ad05a241f293926509bdd8799eb90295fe18cbd4ac80c4f7ab87c29b53528c671023ddcd9c42ccbafc99ca7 videoplayer-efd715ef60ab321035ab44ddca36a95a8aad176f.tar.gz"
|