Date: Monday, December 7, 2015 @ 16:23:43
  Author: foutrelis
Revision: 149962

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

Added:
  qtmpc/repos/community-staging-i686/
  qtmpc/repos/community-staging-i686/PKGBUILD
    (from rev 149961, qtmpc/trunk/PKGBUILD)
  qtmpc/repos/community-staging-i686/qtmpc-0.6.1-underlinking.patch
    (from rev 149961, qtmpc/trunk/qtmpc-0.6.1-underlinking.patch)
  qtmpc/repos/community-staging-i686/qtmpc.install
    (from rev 149961, qtmpc/trunk/qtmpc.install)
  qtmpc/repos/community-staging-x86_64/
  qtmpc/repos/community-staging-x86_64/PKGBUILD
    (from rev 149961, qtmpc/trunk/PKGBUILD)
  qtmpc/repos/community-staging-x86_64/qtmpc-0.6.1-underlinking.patch
    (from rev 149961, qtmpc/trunk/qtmpc-0.6.1-underlinking.patch)
  qtmpc/repos/community-staging-x86_64/qtmpc.install
    (from rev 149961, qtmpc/trunk/qtmpc.install)

---------------------------------------------------------+
 community-staging-i686/PKGBUILD                         |   33 +++++++++++
 community-staging-i686/qtmpc-0.6.1-underlinking.patch   |   40 ++++++++++++++
 community-staging-i686/qtmpc.install                    |   11 +++
 community-staging-x86_64/PKGBUILD                       |   33 +++++++++++
 community-staging-x86_64/qtmpc-0.6.1-underlinking.patch |   40 ++++++++++++++
 community-staging-x86_64/qtmpc.install                  |   11 +++
 6 files changed, 168 insertions(+)

Copied: qtmpc/repos/community-staging-i686/PKGBUILD (from rev 149961, 
qtmpc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2015-12-07 15:23:43 UTC (rev 149962)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonl...@aur.archlinux.org>
+# Contributor: Shaika-Dzari <shaikadzari at gmail dot com>
+
+pkgname=qtmpc
+pkgver=0.6.1
+pkgrel=5
+pkgdesc="Qt4-based front-end for MPD"
+arch=('i686' 'x86_64')
+url="http://qtmpc.lowblog.nl/";
+license=('GPL')
+depends=('kdebase-runtime')
+makedepends=('automoc4' 'cmake')
+install=$pkgname.install
+source=("http://files.lowblog.nl/$pkgname/QtMPC-$pkgver.tar.bz2";
+        'qtmpc-0.6.1-underlinking.patch')
+sha256sums=('82287a26788b36d49db26518b66203f332cf686eefb81ee2d9be095e61123a62'
+            '8295218ebeeb14372c36c34510a9eed7210e82d8e474ef3caae1bd58327780d3')
+
+build() {
+  cd ${srcdir}/QtMPC
+
+  patch -Np1 -i "${srcdir}/qtmpc-0.6.1-underlinking.patch"
+
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/QtMPC
+
+  make DESTDIR=${pkgdir} install 
+}

Copied: qtmpc/repos/community-staging-i686/qtmpc-0.6.1-underlinking.patch (from 
rev 149961, qtmpc/trunk/qtmpc-0.6.1-underlinking.patch)
===================================================================
--- community-staging-i686/qtmpc-0.6.1-underlinking.patch                       
        (rev 0)
+++ community-staging-i686/qtmpc-0.6.1-underlinking.patch       2015-12-07 
15:23:43 UTC (rev 149962)
@@ -0,0 +1,40 @@
+diff -ruN QtMPC-0-vanilla/CMakeLists.txt QtMPC/CMakeLists.txt
+--- QtMPC-0-vanilla/CMakeLists.txt     2010-11-02 17:00:58.000000000 +0100
++++ QtMPC/CMakeLists.txt       2011-11-20 23:27:18.000000000 +0100
+@@ -81,6 +81,11 @@
+ 
+ # this command finds Qt4 libraries and sets all required variables
+ FIND_PACKAGE( Qt4 REQUIRED )
++
++# add some useful macros and variables
++# (QT_USE_FILE is a variable defined by FIND_PACKAGE( Qt4 ) that contains a 
path to CMake script)
++INCLUDE( ${QT_USE_FILE} )
++
+ FIND_PACKAGE( KDE4 )
+ 
+ IF( NOT DEFINED WANT_KDE_SUPPORT )
+@@ -134,12 +139,6 @@
+       ADD_DEFINITIONS( -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -Wall -Wextra )
+ ENDIF( NOT ENABLE_KDE_SUPPORT )
+ 
+-# add some useful macros and variables
+-# (QT_USE_FILE is a variable defined by FIND_PACKAGE( Qt4 ) that contains a 
path to CMake script)
+-IF( NOT ENABLE_KDE_SUPPORT )
+-      INCLUDE( ${QT_USE_FILE} )
+-ENDIF( NOT ENABLE_KDE_SUPPORT )
+-
+ ADD_SUBDIRECTORY( external/libmaia )
+ 
+ # Compile the resource files
+@@ -169,9 +168,9 @@
+ 
+ # Last but not least, link everything. Based on whether we are using KDE or 
not.
+ IF( ENABLE_KDE_SUPPORT )
+-      TARGET_LINK_LIBRARIES( QtMPC ${QT_LIBRARIES} ${KDE4_KDECORE_LIBS} 
${KDE4_KDEUI_LIBS} Maia )
++      TARGET_LINK_LIBRARIES( QtMPC Maia ${KDE4_KDECORE_LIBS} 
${KDE4_KDEUI_LIBS} ${QT_LIBRARIES} )
+ ELSE( ENABLE_KDE_SUPPORT )
+-      TARGET_LINK_LIBRARIES( QtMPC ${QT_LIBRARIES} Maia )
++      TARGET_LINK_LIBRARIES( QtMPC Maia ${QT_LIBRARIES} )
+ ENDIF( ENABLE_KDE_SUPPORT )
+ 
+ IF( ENABLE_KDE_SUPPORT )

Copied: qtmpc/repos/community-staging-i686/qtmpc.install (from rev 149961, 
qtmpc/trunk/qtmpc.install)
===================================================================
--- community-staging-i686/qtmpc.install                                (rev 0)
+++ community-staging-i686/qtmpc.install        2015-12-07 15:23:43 UTC (rev 
149962)
@@ -0,0 +1,11 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: qtmpc/repos/community-staging-x86_64/PKGBUILD (from rev 149961, 
qtmpc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-07 15:23:43 UTC (rev 149962)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonl...@aur.archlinux.org>
+# Contributor: Shaika-Dzari <shaikadzari at gmail dot com>
+
+pkgname=qtmpc
+pkgver=0.6.1
+pkgrel=5
+pkgdesc="Qt4-based front-end for MPD"
+arch=('i686' 'x86_64')
+url="http://qtmpc.lowblog.nl/";
+license=('GPL')
+depends=('kdebase-runtime')
+makedepends=('automoc4' 'cmake')
+install=$pkgname.install
+source=("http://files.lowblog.nl/$pkgname/QtMPC-$pkgver.tar.bz2";
+        'qtmpc-0.6.1-underlinking.patch')
+sha256sums=('82287a26788b36d49db26518b66203f332cf686eefb81ee2d9be095e61123a62'
+            '8295218ebeeb14372c36c34510a9eed7210e82d8e474ef3caae1bd58327780d3')
+
+build() {
+  cd ${srcdir}/QtMPC
+
+  patch -Np1 -i "${srcdir}/qtmpc-0.6.1-underlinking.patch"
+
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/QtMPC
+
+  make DESTDIR=${pkgdir} install 
+}

Copied: qtmpc/repos/community-staging-x86_64/qtmpc-0.6.1-underlinking.patch 
(from rev 149961, qtmpc/trunk/qtmpc-0.6.1-underlinking.patch)
===================================================================
--- community-staging-x86_64/qtmpc-0.6.1-underlinking.patch                     
        (rev 0)
+++ community-staging-x86_64/qtmpc-0.6.1-underlinking.patch     2015-12-07 
15:23:43 UTC (rev 149962)
@@ -0,0 +1,40 @@
+diff -ruN QtMPC-0-vanilla/CMakeLists.txt QtMPC/CMakeLists.txt
+--- QtMPC-0-vanilla/CMakeLists.txt     2010-11-02 17:00:58.000000000 +0100
++++ QtMPC/CMakeLists.txt       2011-11-20 23:27:18.000000000 +0100
+@@ -81,6 +81,11 @@
+ 
+ # this command finds Qt4 libraries and sets all required variables
+ FIND_PACKAGE( Qt4 REQUIRED )
++
++# add some useful macros and variables
++# (QT_USE_FILE is a variable defined by FIND_PACKAGE( Qt4 ) that contains a 
path to CMake script)
++INCLUDE( ${QT_USE_FILE} )
++
+ FIND_PACKAGE( KDE4 )
+ 
+ IF( NOT DEFINED WANT_KDE_SUPPORT )
+@@ -134,12 +139,6 @@
+       ADD_DEFINITIONS( -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -Wall -Wextra )
+ ENDIF( NOT ENABLE_KDE_SUPPORT )
+ 
+-# add some useful macros and variables
+-# (QT_USE_FILE is a variable defined by FIND_PACKAGE( Qt4 ) that contains a 
path to CMake script)
+-IF( NOT ENABLE_KDE_SUPPORT )
+-      INCLUDE( ${QT_USE_FILE} )
+-ENDIF( NOT ENABLE_KDE_SUPPORT )
+-
+ ADD_SUBDIRECTORY( external/libmaia )
+ 
+ # Compile the resource files
+@@ -169,9 +168,9 @@
+ 
+ # Last but not least, link everything. Based on whether we are using KDE or 
not.
+ IF( ENABLE_KDE_SUPPORT )
+-      TARGET_LINK_LIBRARIES( QtMPC ${QT_LIBRARIES} ${KDE4_KDECORE_LIBS} 
${KDE4_KDEUI_LIBS} Maia )
++      TARGET_LINK_LIBRARIES( QtMPC Maia ${KDE4_KDECORE_LIBS} 
${KDE4_KDEUI_LIBS} ${QT_LIBRARIES} )
+ ELSE( ENABLE_KDE_SUPPORT )
+-      TARGET_LINK_LIBRARIES( QtMPC ${QT_LIBRARIES} Maia )
++      TARGET_LINK_LIBRARIES( QtMPC Maia ${QT_LIBRARIES} )
+ ENDIF( ENABLE_KDE_SUPPORT )
+ 
+ IF( ENABLE_KDE_SUPPORT )

Copied: qtmpc/repos/community-staging-x86_64/qtmpc.install (from rev 149961, 
qtmpc/trunk/qtmpc.install)
===================================================================
--- community-staging-x86_64/qtmpc.install                              (rev 0)
+++ community-staging-x86_64/qtmpc.install      2015-12-07 15:23:43 UTC (rev 
149962)
@@ -0,0 +1,11 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Reply via email to