summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-05-25 13:15:31 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-05-25 13:15:31 +0000
commitee157dae5909c17edcd7c9ad3297a60f2979f7d4 (patch)
tree66cab5e04a1bc53b3467fe3e86d2008eb6bc060b
parentInitial commit of radiotray application (diff)
downloadgentoo-2-ee157dae5909c17edcd7c9ad3297a60f2979f7d4.tar.gz
gentoo-2-ee157dae5909c17edcd7c9ad3297a60f2979f7d4.tar.bz2
gentoo-2-ee157dae5909c17edcd7c9ad3297a60f2979f7d4.zip
Version bump. Drop unused patch.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r--net-misc/kvpnc/ChangeLog8
-rw-r--r--net-misc/kvpnc/files/kvpnc-0.9.0-gcc43.patch21
-rw-r--r--net-misc/kvpnc/kvpnc-0.9.6a.ebuild46
3 files changed, 53 insertions, 22 deletions
diff --git a/net-misc/kvpnc/ChangeLog b/net-misc/kvpnc/ChangeLog
index 33804e2790a1..18ec5e08d791 100644
--- a/net-misc/kvpnc/ChangeLog
+++ b/net-misc/kvpnc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/kvpnc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/ChangeLog,v 1.43 2010/03/12 18:02:47 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/ChangeLog,v 1.44 2010/05/25 13:15:31 scarabeus Exp $
+
+*kvpnc-0.9.6a (25 May 2010)
+
+ 25 May 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ -files/kvpnc-0.9.0-gcc43.patch, +kvpnc-0.9.6a.ebuild:
+ Version bump. Drop unused patch.
*kvpnc-0.9.6 (12 Mar 2010)
diff --git a/net-misc/kvpnc/files/kvpnc-0.9.0-gcc43.patch b/net-misc/kvpnc/files/kvpnc-0.9.0-gcc43.patch
deleted file mode 100644
index a0bad6e749e4..000000000000
--- a/net-misc/kvpnc/files/kvpnc-0.9.0-gcc43.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/kvpnc.h 2008-05-29 09:58:45.000000000 +0200
-+++ src/kvpnc.h 2008-05-29 09:59:07.000000000 +0200
-@@ -77,7 +77,7 @@
- * @param parent Parent widget
- * @param name Name of the Mainwindow
- */
-- KVpnc( KApplication *parent, QWidget*parent = 0, const char *name = 0 );
-+ KVpnc( KApplication *parent, QWidget*qparent = 0, const char *name = 0 );
-
- /**
- * Destruktor
---- src/toolinfo.cpp 2008-05-29 09:59:19.000000000 +0200
-+++ src/toolinfo.cpp 2008-05-29 09:59:37.000000000 +0200
-@@ -21,6 +21,7 @@
- #include "toolinfo.h"
- #include <qfile.h>
- #include <iostream>
-+#include <cstdlib>
- #include <klocale.h>
- #include <kstandarddirs.h>
- #include <kmessagebox.h>
diff --git a/net-misc/kvpnc/kvpnc-0.9.6a.ebuild b/net-misc/kvpnc/kvpnc-0.9.6a.ebuild
new file mode 100644
index 000000000000..d04e37e7257e
--- /dev/null
+++ b/net-misc/kvpnc/kvpnc-0.9.6a.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/kvpnc-0.9.6a.ebuild,v 1.1 2010/05/25 13:15:31 scarabeus Exp $
+
+EAPI=2
+KDE_LINGUAS="ar br cs da de el en_GB eo es et eu fr ga gl hi hne it ja ka lt
+ms nb nds nl nn pa pl pt pt_BR ro ru sv tr uk zh_CN zh_TW"
+inherit kde4-base
+
+DESCRIPTION="KDE frontend for various VPN clients"
+HOMEPAGE="http://home.gna.org/kvpnc/"
+SRC_URI="http://download.gna.org/kvpnc/${P}-kde4.tar.bz2
+ http://download.gna.org/kvpnc/${P/a}-kde4-locale.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="+crypt debug"
+
+RDEPEND="crypt? ( dev-libs/libgcrypt )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+S=${WORKDIR}/${P}-kde4
+
+src_prepare() {
+ mv -vf "${WORKDIR}"/${P/a}-kde4-locale/po . || die
+
+ echo "find_package ( Msgfmt REQUIRED )" >> CMakeLists.txt
+ echo "find_package ( Gettext REQUIRED )" >> CMakeLists.txt
+ echo "add_subdirectory ( po )" >> CMakeLists.txt
+
+ sed -i \
+ -e "s:0.9.2-svn:${PV}:" \
+ CMakeLists.txt || die
+
+ kde4-base_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with crypt libgcrypt)
+ )
+
+ kde4-base_src_configure
+}