summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-05-23 18:26:43 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-05-23 18:26:43 +0000
commitd4a4584d61dca9abfe42c21a1c8e8b6d89cfd28b (patch)
tree7ece420a5586c64b04ebbe7d7a70075be488924a /dev-util/kdesvn/kdesvn-0.12.0.ebuild
parentAdd ~x86-fbsd keyword. Bug #176906. (diff)
downloadgentoo-2-d4a4584d61dca9abfe42c21a1c8e8b6d89cfd28b.tar.gz
gentoo-2-d4a4584d61dca9abfe42c21a1c8e8b6d89cfd28b.tar.bz2
gentoo-2-d4a4584d61dca9abfe42c21a1c8e8b6d89cfd28b.zip
version bump thanks to Jannick Kuhr <jakuhr-linux@gmx.de> in bug 179507
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-util/kdesvn/kdesvn-0.12.0.ebuild')
-rw-r--r--dev-util/kdesvn/kdesvn-0.12.0.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-util/kdesvn/kdesvn-0.12.0.ebuild b/dev-util/kdesvn/kdesvn-0.12.0.ebuild
new file mode 100644
index 000000000000..2c256f97c9a4
--- /dev/null
+++ b/dev-util/kdesvn/kdesvn-0.12.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/kdesvn/kdesvn-0.12.0.ebuild,v 1.1 2007/05/23 18:26:43 genstef Exp $
+
+inherit eutils kde-functions toolchain-funcs
+
+DESCRIPTION="KDESvn is a frontend to the subversion vcs."
+HOMEPAGE="http://www.alwins-world.de/wiki/programs/kdesvn"
+SRC_URI="http://www.alwins-world.de/programs/download/${PN}/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-util/subversion-1.3
+ net-misc/neon
+ >=dev-util/cmake-2.4"
+
+need-kde 3.3
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i -e 's:LINK_FLAGS "${APR_EXTRA_LIBFLAGS} ${APU_EXTRA_LIBFLAGS} ${LINK_NO_UNDEFINED} ${_BASE_LDADD}"):LINK_FLAGS "${_BASE_LDADD} ${APR_EXTRA_LIBFLAGS} ${APU_EXTRA_LIBFLAGS} ${LINK_NO_UNDEFINED}"):' \
+ src/CMakeLists.txt
+}
+
+src_compile() {
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \
+ -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCXX)) \
+ -DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT" \
+ -DLIB_INSTALL_DIR=/usr/$(get_libdir) \
+ || die
+
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+}
+
+pkg_postinst() {
+ if ! has_version 'kde-base/kompare'; then
+ echo
+ elog "For nice graphical diffs, install kde-base/kompare."
+ echo
+ fi
+}