summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-04-18 12:32:48 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-04-18 12:32:48 +0000
commit3462b6ded7ed7a8b985fed28156f8894f4c22860 (patch)
tree2717f95620fc2d9b29aee02d3b11cffd4123afd5 /games-puzzle
parentmask app-emulation/virtualbox for broken hardened compiler support (diff)
downloadgentoo-2-3462b6ded7ed7a8b985fed28156f8894f4c22860.tar.gz
gentoo-2-3462b6ded7ed7a8b985fed28156f8894f4c22860.tar.bz2
gentoo-2-3462b6ded7ed7a8b985fed28156f8894f4c22860.zip
Version bump wrt bug #172176
(Portage version: 2.1.2.3)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/ksudoku/ChangeLog9
-rw-r--r--games-puzzle/ksudoku/files/digest-ksudoku-0.43
-rw-r--r--games-puzzle/ksudoku/ksudoku-0.4.ebuild43
3 files changed, 53 insertions, 2 deletions
diff --git a/games-puzzle/ksudoku/ChangeLog b/games-puzzle/ksudoku/ChangeLog
index 8902239d7463..cd30533d00ad 100644
--- a/games-puzzle/ksudoku/ChangeLog
+++ b/games-puzzle/ksudoku/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-puzzle/ksudoku
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ksudoku/ChangeLog,v 1.4 2006/08/19 09:16:28 dertobi123 Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ksudoku/ChangeLog,v 1.5 2007/04/18 12:32:48 jokey Exp $
+
+*ksudoku-0.4 (18 Apr 2007)
+
+ 18 Apr 2007; Markus Ullmann <jokey@gentoo.org> +ksudoku-0.4.ebuild:
+ Version bump wrt bug #172176
19 Aug 2006; Tobias Scherbaum <dertobi123@gentoo.org> ksudoku-0.3.ebuild:
Added ~ppc, bug #144193
diff --git a/games-puzzle/ksudoku/files/digest-ksudoku-0.4 b/games-puzzle/ksudoku/files/digest-ksudoku-0.4
new file mode 100644
index 000000000000..af5a1404fb09
--- /dev/null
+++ b/games-puzzle/ksudoku/files/digest-ksudoku-0.4
@@ -0,0 +1,3 @@
+MD5 418f9ecac5756f7bc79863596dee7f34 ksudoku-0.4.tar.gz 316486
+RMD160 9b5a1c20ff2afb75d7c7380029103c71da5dba8a ksudoku-0.4.tar.gz 316486
+SHA256 6dc1b247fba46ccd08a79f7f9b711143f4cce837484bf5230221a2225ab9922b ksudoku-0.4.tar.gz 316486
diff --git a/games-puzzle/ksudoku/ksudoku-0.4.ebuild b/games-puzzle/ksudoku/ksudoku-0.4.ebuild
new file mode 100644
index 000000000000..8c211fc9b59f
--- /dev/null
+++ b/games-puzzle/ksudoku/ksudoku-0.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ksudoku/ksudoku-0.4.ebuild,v 1.1 2007/04/18 12:32:48 jokey Exp $
+
+inherit kde
+
+DESCRIPTION="Sudoku Puzzle Generator and Solver for KDE"
+HOMEPAGE="http://ksudoku.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+need-kde 3.3
+
+DEPEND=">=dev-util/cmake-2.4"
+
+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
+}