# 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
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST ksudoku-0.3.tar.gz 704694 RMD160 a20f1896951c1594dac1b1f8582dbc7e5e9ec99e SHA1 fd2260a9220b92c6a3fa472bd70fb185942a29c4 SHA256 18f95cb383a7d313f907eff6a1f23e0cf66627d901cbbb8488c521851c3f2cca
+DIST ksudoku-0.4.tar.gz 316486 RMD160 9b5a1c20ff2afb75d7c7380029103c71da5dba8a SHA1 f98a32f7f15ef73505ec89e4a7e79c7f53f856af SHA256 6dc1b247fba46ccd08a79f7f9b711143f4cce837484bf5230221a2225ab9922b
EBUILD ksudoku-0.3.ebuild 471 RMD160 1d8ea8462a28dda0ae726cdb49a364c3f10a6589 SHA1 3cba153416c661f1fbb25f41cadacf6a731471fa SHA256 53c8a1f0c814e7c700214ff618d526cd6f73ff238463876551ef2a0be94bd740
MD5 2b6df65606ba24039746caab7f2a1084 ksudoku-0.3.ebuild 471
RMD160 1d8ea8462a28dda0ae726cdb49a364c3f10a6589 ksudoku-0.3.ebuild 471
SHA256 53c8a1f0c814e7c700214ff618d526cd6f73ff238463876551ef2a0be94bd740 ksudoku-0.3.ebuild 471
-MISC ChangeLog 699 RMD160 618aa965b743f9637a2fe18d0ad6aca53a62cc90 SHA1 e92a25b35dd37f17276bb6895af5ff2bc7963f82 SHA256 4364545fdf84f0575bae565698cc9f4606f6d11e565cee8b50b89a364a2b91d3
-MD5 fd6cfcc1a5c87527db52897e7497f789 ChangeLog 699
-RMD160 618aa965b743f9637a2fe18d0ad6aca53a62cc90 ChangeLog 699
-SHA256 4364545fdf84f0575bae565698cc9f4606f6d11e565cee8b50b89a364a2b91d3 ChangeLog 699
+EBUILD ksudoku-0.4.ebuild 1130 RMD160 d5480b6cf85c5dbf8e924fcd3f80472610ee42fa SHA1 9e7fdf0b9fdc84a9f30c66fa1092ee3d749a1420 SHA256 934873a2ba9bf39c47ef08e8fd766768c6c88f6a12d8164e7d08d0e98e95a032
+MD5 2888c19c38dc9c7890788a6b71bc88a0 ksudoku-0.4.ebuild 1130
+RMD160 d5480b6cf85c5dbf8e924fcd3f80472610ee42fa ksudoku-0.4.ebuild 1130
+SHA256 934873a2ba9bf39c47ef08e8fd766768c6c88f6a12d8164e7d08d0e98e95a032 ksudoku-0.4.ebuild 1130
+MISC ChangeLog 824 RMD160 89c22f1b7c640dd9864fda2151b94504c5e3584a SHA1 5b6898abcb64423c7b483b95a480e5a2288cf5c3 SHA256 b8e0b9ff15389577b9461721decd8e70d1f9c544eb4a3078061f2e438b374146
+MD5 dc21e5ba213b6f6f3287f345239251d9 ChangeLog 824
+RMD160 89c22f1b7c640dd9864fda2151b94504c5e3584a ChangeLog 824
+SHA256 b8e0b9ff15389577b9461721decd8e70d1f9c544eb4a3078061f2e438b374146 ChangeLog 824
MISC metadata.xml 252 RMD160 913f8ab144abda854c9c69ccb3d67888aa8eca4e SHA1 55cf4431a6564918f5e857dd7489a80efc662bc3 SHA256 8603ad8c688a1d0c2f3f988ad90c0650e5b63beb3cb40790d5f7682ede2e1f35
MD5 5a17e991055087c0d223a76f0bc2faca metadata.xml 252
RMD160 913f8ab144abda854c9c69ccb3d67888aa8eca4e metadata.xml 252
MD5 044335cb2377a080961568c7227a6d53 files/digest-ksudoku-0.3 235
RMD160 1405388e2b7055d9987cf2425078323dff841e1b files/digest-ksudoku-0.3 235
SHA256 804dba8d290bc12552558b8fd0d629e628ffe327a3e4511585c03615504a3b63 files/digest-ksudoku-0.3 235
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD8DBQFFkUMRdz7hIScOURERAjdxAJ9/7mZhTtSxdxZhbHd/c668ybQsDgCgkfYk
-WNz1lFIUNwDY6kare5CP/A4=
-=QvBp
------END PGP SIGNATURE-----
+MD5 37e2f36f1abca47bda7224579951bcc3 files/digest-ksudoku-0.4 235
+RMD160 59e77f46d232ff37ce240efcd482e4eef9f6477a files/digest-ksudoku-0.4 235
+SHA256 8c0c3ae1f650fd4cda4507407623331f73949b4cda1b311955583422270d426f files/digest-ksudoku-0.4 235
--- /dev/null
+# 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
+}