Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 200684 | Differences between
and this patch

Collapse All | Expand All

(-)a/net-im/sim/sim-9999.ebuild (-27 / +25 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-im/sim/sim-0.9.4.3.ebuild,v 1.6 2007/07/22 06:19:57 pva Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-im/sim/sim-0.9.4.3.ebuild,v 1.6 2007/07/22 06:19:57 pva Exp $
4
4
5
inherit subversion cmake-utils kde-functions eutils flag-o-matic
5
EAPI="1"
6
7
inherit cmake-utils kde-functions eutils flag-o-matic subversion 
6
8
7
ESVN_REPO_URI="svn://svn.berlios.de/sim-im/trunk"
9
ESVN_REPO_URI="svn://svn.berlios.de/sim-im/trunk"
8
ESVN_PROJECT="sim-im"
10
ESVN_PROJECT="sim-im"
Lines 16-40 KEYWORDS="amd64 ppc x86" Link Here
16
IUSE="debug gpg jabber kde msn oscar sms spell ssl weather yahoo"
18
IUSE="debug gpg jabber kde msn oscar sms spell ssl weather yahoo"
17
19
18
# kdebase-data provides the icon "licq.png"
20
# kdebase-data provides the icon "licq.png"
19
RDEPEND="kde? ( kde-base/kdelibs
21
DEPEND="!kde? ( spell? ( app-text/aspell ) )
20
				|| ( kde-base/kdebase-data kde-base/kdebase ) )
22
	dev-libs/libxml2
21
		 !kde? ( $(qt_min_version 3)
23
	dev-libs/libxslt
22
				 spell? ( app-text/aspell ) )
24
	ssl? ( dev-libs/openssl )
23
		 ssl? ( dev-libs/openssl )
25
	kde? ( kde-base/kdelibs:3.5 )
24
		 dev-libs/libxml2
26
	media-libs/fontconfig 
25
		 dev-libs/libxslt
27
	media-libs/freetype 
26
		 sys-libs/zlib
28
	media-libs/libsdl
27
		 x11-libs/libXScrnSaver"
29
	media-libs/libpng
28
29
DEPEND="${RDEPEND}
30
	sys-devel/flex
30
	sys-devel/flex
31
	app-arch/zip
31
	sys-libs/zlib
32
	x11-proto/scrnsaverproto"
32
	x11-libs/libX11
33
	x11-libs/libXScrnSaver
34
	x11-libs/qt:3"
35
36
RDEPEND="${DEPEND}
37
	kde? ( || ( kde-base/kdebase-data:3.5 kde-base/kdebase:3.5 ) )
38
	app-arch/zip"
33
39
34
pkg_setup() {
40
pkg_setup() {
35
	if use kde ; then
41
	if use kde ; then
36
		if use spell; then
42
		if use spell; then
37
			if ! built_with_use kde-base/kdelibs spell ; then
43
			if ! built_with_use kde-base/kdelibs:3.5 spell ; then
38
				ewarn "kde-base/kdelibs were merged without spell in USE."
44
				ewarn "kde-base/kdelibs were merged without spell in USE."
39
				ewarn "Thus spelling will not work in sim. Please, either"
45
				ewarn "Thus spelling will not work in sim. Please, either"
40
				ewarn "reemerge kde-base/kdelibs with spell in USE or emerge"
46
				ewarn "reemerge kde-base/kdelibs with spell in USE or emerge"
Lines 42-48 pkg_setup() { Link Here
42
				ebeep
48
				ebeep
43
			fi
49
			fi
44
		else
50
		else
45
			if built_with_use kde-base/kdelibs spell ; then
51
			if built_with_use kde-base/kdelibs:3.5 spell ; then
46
				ewarn 'kde-base/kdelibs were merged with spell in USE.'
52
				ewarn 'kde-base/kdelibs were merged with spell in USE.'
47
				ewarn 'Thus spelling will work in sim. Please, either'
53
				ewarn 'Thus spelling will work in sim. Please, either'
48
				ewarn 'reemerge kde-base/kdelibs without spell in USE or emerge'
54
				ewarn 'reemerge kde-base/kdelibs without spell in USE or emerge'
Lines 50-72 pkg_setup() { Link Here
50
				ebeep
56
				ebeep
51
			fi
57
			fi
52
		fi
58
		fi
53
#		if ! built_with_use kde-base/kdelibs arts ; then
59
#		if ! built_with_use kde-base/kdelibs:3.5 arts ; then
54
#			myconf="--without-arts"
60
#			myconf="--without-arts"
55
#		fi
61
#		fi
56
	fi
62
	fi
57
}
63
}
58
64
59
src_unpack() {
60
	subversion_src_unpack
61
62
	if use kde ; then
63
	set-kdedir 3
64
	fi
65
}
66
67
src_compile() {
65
src_compile() {
68
	if use debug ; then
66
	if use kde; then
69
		mycmakeargs="${mycmakeargs} -D CMAKE_BUILD_TYPE=Debug"
67
		set-kdedir 3
70
	fi
68
	fi
71
	mycmakeargs="${mycmakeargs}
69
	mycmakeargs="${mycmakeargs}
72
		$(cmake-utils_use_enable debug PLUGIN_LOGGER)
70
		$(cmake-utils_use_enable debug PLUGIN_LOGGER)

Return to bug 200684