summaryrefslogtreecommitdiff
path: root/community/qtmpc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/qtmpc
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/qtmpc')
-rw-r--r--community/qtmpc/PKGBUILD33
-rw-r--r--community/qtmpc/qtmpc-0.6.1-underlinking.patch40
-rw-r--r--community/qtmpc/qtmpc.install11
3 files changed, 0 insertions, 84 deletions
diff --git a/community/qtmpc/PKGBUILD b/community/qtmpc/PKGBUILD
deleted file mode 100644
index 4755f681e..000000000
--- a/community/qtmpc/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 67768 2012-03-14 11:08:26Z giovanni $
-# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Contributor: Shaika-Dzari <shaikadzari at gmail dot com>
-
-pkgname=qtmpc
-pkgver=0.6.1
-pkgrel=3
-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
-}
diff --git a/community/qtmpc/qtmpc-0.6.1-underlinking.patch b/community/qtmpc/qtmpc-0.6.1-underlinking.patch
deleted file mode 100644
index 881187d1f..000000000
--- a/community/qtmpc/qtmpc-0.6.1-underlinking.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-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 )
diff --git a/community/qtmpc/qtmpc.install b/community/qtmpc/qtmpc.install
deleted file mode 100644
index 1c0de2e4f..000000000
--- a/community/qtmpc/qtmpc.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}