5267dd0301
All packages are now built as RelWithDebugInfo rather than Release. This should make debugging these packages easier. I've also updated all Plasma packages without releases (git-based) to their latest masters. plasma-angelfish now has it's first release, and a new dependency called "purpose". Calindori had a typo in the pkgver causing it to look like it was released in the 30th month of the year. Because of this, the old package will have to explicitly be removed from the repository. Let's hope no one uses that package yet, or they will have to wait till 2020 before it'll get updated again on their system lol. [skip ci]: it does not finish in time. ollieparanoid made sure that it builds on all arches. Usually we would use [ci:skip-build] instead of [skip-ci], but now that [ci:skip-build] also verifies that downloading sources is working as expected, and for some reason gitlab CI can't download one source file even when retrying [1] (cache on their end?), let's skip it this time. [1] https://gitlab.com/postmarketOS/pmaports/-/jobs/219539514
38 lines
1.2 KiB
Text
38 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-videoplayer
|
|
_pkgname=videoplayer
|
|
pkgver=0_git20190403
|
|
pkgrel=1
|
|
_commit="fb2501691b73aad040807cae09e1b04178a885a1"
|
|
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"
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/jbbgameich/$_pkgname/-/archive/$_commit/$_pkgname-$_commit.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$_commit"
|
|
|
|
prepare() {
|
|
mkdir "$builddir"/build
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"/build
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"/build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"/build
|
|
DESTDIR="$pkgdir" make install
|
|
}
|
|
sha512sums="70f143fe4c3294a28d7b7802825e02bb34a5b3a475e5b8a0e6f3f4469f721ed5c8f82fa7b2025b591892fa8e8fa789a86d2ffab7fcf86b69b1730e562fae0d50 plasma-videoplayer-fb2501691b73aad040807cae09e1b04178a885a1.tar.gz"
|