[arch-commits] Commit in kaffeine/repos (8 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Dec 7 16:03:36 UTC 2015
Date: Monday, December 7, 2015 @ 17:03:36
Author: foutrelis
Revision: 150019
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
kaffeine/repos/community-staging-i686/
kaffeine/repos/community-staging-i686/PKGBUILD
(from rev 150018, kaffeine/trunk/PKGBUILD)
kaffeine/repos/community-staging-i686/include-CheckIncludeFiles.patch
(from rev 150018, kaffeine/trunk/include-CheckIncludeFiles.patch)
kaffeine/repos/community-staging-i686/kaffeine.install
(from rev 150018, kaffeine/trunk/kaffeine.install)
kaffeine/repos/community-staging-x86_64/
kaffeine/repos/community-staging-x86_64/PKGBUILD
(from rev 150018, kaffeine/trunk/PKGBUILD)
kaffeine/repos/community-staging-x86_64/include-CheckIncludeFiles.patch
(from rev 150018, kaffeine/trunk/include-CheckIncludeFiles.patch)
kaffeine/repos/community-staging-x86_64/kaffeine.install
(from rev 150018, kaffeine/trunk/kaffeine.install)
----------------------------------------------------------+
community-staging-i686/PKGBUILD | 39 +++++++++++++
community-staging-i686/include-CheckIncludeFiles.patch | 23 +++++++
community-staging-i686/kaffeine.install | 12 ++++
community-staging-x86_64/PKGBUILD | 39 +++++++++++++
community-staging-x86_64/include-CheckIncludeFiles.patch | 23 +++++++
community-staging-x86_64/kaffeine.install | 12 ++++
6 files changed, 148 insertions(+)
Copied: kaffeine/repos/community-staging-i686/PKGBUILD (from rev 150018, kaffeine/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-07 16:03:36 UTC (rev 150019)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer:
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=kaffeine
+pkgver=1.3.1
+pkgrel=2
+pkgdesc='KDE media player'
+license=(GPL)
+arch=(i686 x86_64)
+url="http://kaffeine.kde.org"
+depends=(kdebase-runtime vlc)
+makedepends=(cmake automoc4)
+install=kaffeine.install
+source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz
+ include-CheckIncludeFiles.patch)
+md5sums=('f2308cf7abf5ec7ad5c724593594c198'
+ '1deeb1bff0e9ed705a9fc0552487ae2c')
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgname-$pkgver
+ patch -p1 -i ../include-CheckIncludeFiles.patch
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kaffeine/repos/community-staging-i686/include-CheckIncludeFiles.patch (from rev 150018, kaffeine/trunk/include-CheckIncludeFiles.patch)
===================================================================
--- community-staging-i686/include-CheckIncludeFiles.patch (rev 0)
+++ community-staging-i686/include-CheckIncludeFiles.patch 2015-12-07 16:03:36 UTC (rev 150019)
@@ -0,0 +1,23 @@
+From 4a1a90ee1b2b4d13302046f043adf1c2a1de758d Mon Sep 17 00:00:00 2001
+From: Raphael Kubo da Costa <rakuco at FreeBSD.org>
+Date: Thu, 26 Nov 2015 15:36:26 +0100
+Subject: [PATCH] Explicitly include CheckIncludeFiles.
+
+This fixes the build with CMake 3.4.0. We were calling check_include_files()
+and implicitly relying on CheckIncludeFiles being included.
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d9be8db..b74b44d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -21,6 +21,7 @@ if(STRICT_BUILD)
+ -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS)
+ endif(STRICT_BUILD)
+
++include(CheckIncludeFiles)
+ check_include_files(${CMAKE_CURRENT_SOURCE_DIR}/include/frontend.h HAVE_DVB)
+
+ if(NOT HAVE_DVB)
Copied: kaffeine/repos/community-staging-i686/kaffeine.install (from rev 150018, kaffeine/trunk/kaffeine.install)
===================================================================
--- community-staging-i686/kaffeine.install (rev 0)
+++ community-staging-i686/kaffeine.install 2015-12-07 16:03:36 UTC (rev 150019)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kaffeine/repos/community-staging-x86_64/PKGBUILD (from rev 150018, kaffeine/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-07 16:03:36 UTC (rev 150019)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer:
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=kaffeine
+pkgver=1.3.1
+pkgrel=2
+pkgdesc='KDE media player'
+license=(GPL)
+arch=(i686 x86_64)
+url="http://kaffeine.kde.org"
+depends=(kdebase-runtime vlc)
+makedepends=(cmake automoc4)
+install=kaffeine.install
+source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz
+ include-CheckIncludeFiles.patch)
+md5sums=('f2308cf7abf5ec7ad5c724593594c198'
+ '1deeb1bff0e9ed705a9fc0552487ae2c')
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgname-$pkgver
+ patch -p1 -i ../include-CheckIncludeFiles.patch
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kaffeine/repos/community-staging-x86_64/include-CheckIncludeFiles.patch (from rev 150018, kaffeine/trunk/include-CheckIncludeFiles.patch)
===================================================================
--- community-staging-x86_64/include-CheckIncludeFiles.patch (rev 0)
+++ community-staging-x86_64/include-CheckIncludeFiles.patch 2015-12-07 16:03:36 UTC (rev 150019)
@@ -0,0 +1,23 @@
+From 4a1a90ee1b2b4d13302046f043adf1c2a1de758d Mon Sep 17 00:00:00 2001
+From: Raphael Kubo da Costa <rakuco at FreeBSD.org>
+Date: Thu, 26 Nov 2015 15:36:26 +0100
+Subject: [PATCH] Explicitly include CheckIncludeFiles.
+
+This fixes the build with CMake 3.4.0. We were calling check_include_files()
+and implicitly relying on CheckIncludeFiles being included.
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d9be8db..b74b44d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -21,6 +21,7 @@ if(STRICT_BUILD)
+ -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS)
+ endif(STRICT_BUILD)
+
++include(CheckIncludeFiles)
+ check_include_files(${CMAKE_CURRENT_SOURCE_DIR}/include/frontend.h HAVE_DVB)
+
+ if(NOT HAVE_DVB)
Copied: kaffeine/repos/community-staging-x86_64/kaffeine.install (from rev 150018, kaffeine/trunk/kaffeine.install)
===================================================================
--- community-staging-x86_64/kaffeine.install (rev 0)
+++ community-staging-x86_64/kaffeine.install 2015-12-07 16:03:36 UTC (rev 150019)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list