[arch-commits] Commit in kmplayer (5 files)

Antonio Rojas arojas at archlinux.org
Thu Jun 2 21:07:49 UTC 2016


    Date: Thursday, June 2, 2016 @ 23:07:48
  Author: arojas
Revision: 177769

archrelease: copy trunk to community-i686, community-x86_64

Added:
  kmplayer/repos/
  kmplayer/repos/community-i686/
  kmplayer/repos/community-i686/PKGBUILD
    (from rev 177768, kmplayer/trunk/PKGBUILD)
  kmplayer/repos/community-x86_64/
  kmplayer/repos/community-x86_64/PKGBUILD
    (from rev 177768, kmplayer/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: kmplayer/repos/community-i686/PKGBUILD (from rev 177768, kmplayer/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2016-06-02 21:07:48 UTC (rev 177769)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=kmplayer
+pkgver=0.12.0
+_commit=266320a
+pkgrel=1
+pkgdesc="Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE"
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+url="http://kmplayer.kde.org"
+depends=(kmediaplayer kdelibs4support hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdesignerplugin kdoctools python)
+source=($pkgname-$pkgver.tar.gz::"http://quickgit.kde.org/?p=kmplayer.git&a=snapshot&h=$_commit&fmt=tgz")
+md5sums=('c8cdd60b67018954445bd5708a291a83')
+
+prepare() {
+  mkdir -p build
+
+# Don't include kdelibs header
+  sed -e '/kstdaction.h/d' -i $pkgname/src/kmplayerview.cpp -i $pkgname/src/viewarea.cpp
+  sed -e '/ksimpleconfig.h/d' -i $pkgname/src/kmplayerpartbase.cpp
+}
+
+build() {
+  cd build
+  cmake ../$pkgname \
+	-DCMAKE_BUILD_TYPE=Release \
+	-DCMAKE_INSTALL_PREFIX=/usr \
+        -DKDE_INSTALL_LIBDIR=lib \
+        -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}
+

Copied: kmplayer/repos/community-x86_64/PKGBUILD (from rev 177768, kmplayer/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2016-06-02 21:07:48 UTC (rev 177769)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=kmplayer
+pkgver=0.12.0
+_commit=266320a
+pkgrel=1
+pkgdesc="Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE"
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+url="http://kmplayer.kde.org"
+depends=(kmediaplayer kdelibs4support hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdesignerplugin kdoctools python)
+source=($pkgname-$pkgver.tar.gz::"http://quickgit.kde.org/?p=kmplayer.git&a=snapshot&h=$_commit&fmt=tgz")
+md5sums=('c8cdd60b67018954445bd5708a291a83')
+
+prepare() {
+  mkdir -p build
+
+# Don't include kdelibs header
+  sed -e '/kstdaction.h/d' -i $pkgname/src/kmplayerview.cpp -i $pkgname/src/viewarea.cpp
+  sed -e '/ksimpleconfig.h/d' -i $pkgname/src/kmplayerpartbase.cpp
+}
+
+build() {
+  cd build
+  cmake ../$pkgname \
+	-DCMAKE_BUILD_TYPE=Release \
+	-DCMAKE_INSTALL_PREFIX=/usr \
+        -DKDE_INSTALL_LIBDIR=lib \
+        -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}
+



More information about the arch-commits mailing list