2015-09-15 14:41:44 +08:00
|
|
|
# Contributions from ArchLinux: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kaffeine
|
2016-06-09 07:58:54 +08:00
|
|
|
# Source global configuration
|
|
|
|
source ../kdeapps.conf
|
2010-06-12 07:22:53 +08:00
|
|
|
|
|
|
|
pkgname=kaffeine
|
2016-10-05 03:36:03 +08:00
|
|
|
pkgver=2.0.5
|
2016-06-11 22:26:32 +08:00
|
|
|
pkgrel=1
|
2016-06-09 02:08:34 +08:00
|
|
|
pkgdesc='Media player with support for digital television (DVB-C/S/S2/T and ATSC, decryption with CI/CAM)'
|
2010-06-12 07:22:53 +08:00
|
|
|
license=('GPL')
|
2013-10-06 05:17:45 +08:00
|
|
|
arch=('x86_64')
|
2010-06-12 07:22:53 +08:00
|
|
|
url="http://kaffeine.kde.org"
|
2016-06-09 02:08:34 +08:00
|
|
|
depends=('kio' 'hicolor-icon-theme' 'libxss' 'vlc')
|
2016-06-09 07:58:54 +08:00
|
|
|
makedepends=('extra-cmake-modules' 'kidletime' 'kdoctools')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('multimedia')
|
2016-06-09 07:58:54 +08:00
|
|
|
options=('debug')
|
2013-10-06 05:17:45 +08:00
|
|
|
install=kaffeine.install
|
2016-06-11 22:26:32 +08:00
|
|
|
#source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
|
|
|
|
source=("https://github.com/KDE/${pkgname}/archive/${pkgver}.tar.gz")
|
2016-10-05 03:36:03 +08:00
|
|
|
sha1sums=('9e82a163183c1b83c535bcfba9ca6c38c8b24043')
|
2016-06-09 02:08:34 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
2010-06-12 07:22:53 +08:00
|
|
|
|
|
|
|
build() {
|
2016-06-09 02:08:34 +08:00
|
|
|
cd build
|
2016-06-09 07:58:54 +08:00
|
|
|
cmake_kf5 ../$pkgname-$pkgver
|
2016-06-09 02:08:34 +08:00
|
|
|
make
|
2010-06-12 07:22:53 +08:00
|
|
|
}
|
2013-10-06 05:17:45 +08:00
|
|
|
|
|
|
|
package() {
|
2016-06-09 02:08:34 +08:00
|
|
|
cd build
|
|
|
|
make DESTDIR="$pkgdir" install
|
2013-10-06 05:17:45 +08:00
|
|
|
}
|