summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-misc/kdocker/ChangeLog10
-rw-r--r--kde-misc/kdocker/files/kdocker-desktop_file.patch19
-rw-r--r--kde-misc/kdocker/files/kdocker-installdir.patch23
-rw-r--r--kde-misc/kdocker/kdocker-1.3.ebuild65
-rw-r--r--kde-misc/kdocker/kdocker-4.2.2.1.ebuild29
5 files changed, 37 insertions, 109 deletions
diff --git a/kde-misc/kdocker/ChangeLog b/kde-misc/kdocker/ChangeLog
index 20afb7c22bcc..d505acd7184f 100644
--- a/kde-misc/kdocker/ChangeLog
+++ b/kde-misc/kdocker/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-misc/kdocker
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdocker/ChangeLog,v 1.4 2008/07/27 20:52:18 carlo Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdocker/ChangeLog,v 1.5 2009/10/13 17:57:43 ssuominen Exp $
+
+*kdocker-4.2.2.1 (13 Oct 2009)
+
+ 13 Oct 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +kdocker-4.2.2.1.ebuild:
+ Version bump wrt #288214, thanks to Daniel Lin for initial ebuild.
27 Jul 2008; Carsten Lohrke <carlo@gentoo.org> kdocker-1.3.ebuild:
QA: Get rid of deprecated qt_min_version().
diff --git a/kde-misc/kdocker/files/kdocker-desktop_file.patch b/kde-misc/kdocker/files/kdocker-desktop_file.patch
deleted file mode 100644
index dc17deccbea5..000000000000
--- a/kde-misc/kdocker/files/kdocker-desktop_file.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Nuar kdocker-orig/kdocker.desktop kdocker/kdocker.desktop
---- kdocker-orig/kdocker.desktop 2004-11-22 16:11:49.000000000 +0000
-+++ kdocker/kdocker.desktop 2006-01-27 19:03:05.000000000 +0000
-@@ -1,10 +1,14 @@
- [Desktop Entry]
- Name=KDocker
-+Name[pl]=KDocker
- GenericName=Docking utility
-+GenericName[pl]=Program dokujący aplikacje
- Comment=Docks any application into system tray
-+Comment[pl]=Pozwala umieścić dowolną aplikację w zasobniku systemowym
- Exec=kdocker
- TryExec=kdocker
--Icon=/usr/local/share/kdocker/icons/kdocker.png
-+Icon=/usr/share/kdocker/icons/kdocker.png
- Terminal=false
- Type=Application
- Categories=Application;Utility;
-+X-KDE-StartupNotify=false
diff --git a/kde-misc/kdocker/files/kdocker-installdir.patch b/kde-misc/kdocker/files/kdocker-installdir.patch
deleted file mode 100644
index 4c0a98fe017e..000000000000
--- a/kde-misc/kdocker/files/kdocker-installdir.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- kdocker.pro.orig 2005-04-06 12:43:59.000000000 +0000
-+++ kdocker.pro 2005-04-06 12:44:29.000000000 +0000
-@@ -4,7 +4,7 @@
- LIBPATH += /usr/X11/lib /usr/X11R6/lib
- LIBS = -lX11 -lXpm -lXmu
- TARGET = kdocker
--INSTALL_PATH = /usr/local/share/kdocker
-+INSTALL_PATH = /usr/share/kdocker
- DOCS_PATH = $$INSTALL_PATH/docs
-
- # Defines
-@@ -27,9 +27,9 @@
- desktop.path = /usr/share/applications
- desktop.files = kdocker.desktop
-
--target.path = /usr/local/bin
-+target.path = /usr/bin
-
--INSTALLS += target icons docs translations desktop
-+INSTALLS += target icons desktop
-
- # Input
- HEADERS += src/customtraylabel.h \
diff --git a/kde-misc/kdocker/kdocker-1.3.ebuild b/kde-misc/kdocker/kdocker-1.3.ebuild
deleted file mode 100644
index 169804c9b38c..000000000000
--- a/kde-misc/kdocker/kdocker-1.3.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdocker/kdocker-1.3.ebuild,v 1.3 2008/07/27 20:52:18 carlo Exp $
-
-EAPI=1
-
-inherit eutils qt3
-
-IUSE=""
-LANGS="cs de en es fr id it pl pt_BR ru"
-for x in ${LANGS}; do
- IUSE="${IUSE} linguas_${x}"
-done;
-
-DESCRIPTION="KDocker will help you dock any application in the system tray"
-HOMEPAGE="http://www.kde-apps.org/content/show.php?content=13356"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-
-DEPEND="x11-libs/qt:3"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-desktop_file.patch
- epatch "${FILESDIR}"/${PN}-installdir.patch
-}
-
-src_compile() {
- ${QTDIR}/bin/qmake ${PN}.pro \
- QMAKE=${QTDIR}/bin/qmake \
- QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
- QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
- QMAKE_RPATH= \
- "CONFIG += no_fixpath release thread" \
- || die "couldn't create fresh Makefiles"
- emake || die "make failed"
-
- # langpacks
- cd "${S}"/i18n
- for i in ${LANGS}; do
- use linguas_${i} && [ -f ${PN}_${i}.ts ] && lrelease ${PN}_${i}.ts
- done;
-}
-
-src_install() {
- make INSTALL_ROOT="${D}" install || die "installation failed"
-
- dodoc AUTHORS BUGS CREDITS ChangeLog HACKING INSTALL README TODO
-
- # langpacks are being installed only if
- # approperiare LINGUAS variable is set
- insinto /usr/share/${PN}/i18n
- cd "${S}"/i18n
- for i in ${LANGS}; do
- use linguas_${i} && [ -f ${PN}_${i}.qm ] && doins ${PN}_${i}.qm
- done;
-}
diff --git a/kde-misc/kdocker/kdocker-4.2.2.1.ebuild b/kde-misc/kdocker/kdocker-4.2.2.1.ebuild
new file mode 100644
index 000000000000..ee59a80eda77
--- /dev/null
+++ b/kde-misc/kdocker/kdocker-4.2.2.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdocker/kdocker-4.2.2.1.ebuild,v 1.1 2009/10/13 17:57:43 ssuominen Exp $
+
+EAPI=2
+inherit qt4
+
+DESCRIPTION="KDocker will help you dock any application into the system tray"
+HOMEPAGE="https://launchpad.net/kdocker/"
+SRC_URI="http://launchpad.net/kdocker/trunk/4.2.2/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_prepare() {
+ qt4_src_prepare
+ sed -i -e 's:/local/:/:g' ${PN}.pro || die
+}
+
+src_configure() {
+ eqmake4
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die
+ dodoc AUTHORS BUGS ChangeLog CREDITS README TODO
+}