archrelease: copy trunk to community-any
[ArchLinux/community.git] / kaffeine / trunk / PKGBUILD
blob4c5678a8d6593ec93ff46d9ef0d9b9d4a071a048
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Pierre Schmitz <pierre@archlinux.de>
4 pkgname=kaffeine
5 pkgver=2.0.18
6 pkgrel=3
7 pkgdesc='KDE media player'
8 license=(GPL)
9 arch=(x86_64)
10 url='https://kde.org/applications/multimedia/org.kde.kaffeine'
11 depends=(kio libxss vlc)
12 makedepends=(extra-cmake-modules kidletime kdoctools)
13 source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
14         https://invent.kde.org/multimedia/kaffeine/-/commit/209a263a.patch)
15 sha256sums=('d9799a5b7b94a55963f94938b36b8fcb1be3e753b2be110989934ab15386b681'
16             'SKIP'
17             '90efceacb58d8ac6fee32f563269fc525958783b1310f97295fdb8526802fc78')
18 validpgpkeys=(F909AE68FC11DF09C1755C00085F3EBD8EE4E115) # Mauro Carvalho Chehab <mchehab@s-opensource.com>
20 prepare() {
21   patch -d $pkgname-$pkgver -p1 < 209a263a.patch # Fix DVB-T scan data update
24 build() {
25   cmake -B build -S $pkgname-$pkgver \
26     -DBUILD_TESTING=OFF
27   cmake --build build
30 package() {
31   DESTDIR="$pkgdir" cmake --install build