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

Collapse All | Expand All

(-)quassel-9999-r1.ebuild.old (-12 / +20 lines)
Lines 1-19 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2008 Gentoo Foundation
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-irc/quassel/quassel-9999-r1.ebuild,v 1.4 2008/07/02 22:52:24 flameeyes Exp $
3
# $Header: $
4
4
5
EAPI=1
5
EAPI=1
6
6
7
inherit cmake-utils eutils
7
inherit cmake-utils eutils
8
8
9
if [[ ${PV} == *9999 ]]; then
9
if [[ ${PV} == *9999 ]]; then
10
	inherit git
11
	EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git"
10
	EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git"
12
11
13
	case ${PV} in
12
	case ${PV} in
14
		0.2.9999) EGIT_BRANCH="0.2" ;;
13
		0.2.9999) EGIT_BRANCH="0.2" ;;
15
		*) EGIT_BRANCH="master"
14
		*) EGIT_BRANCH="master"
16
	esac
15
	esac
16
	inherit git
17
else
17
else
18
	MY_P="${P/_/-}"
18
	MY_P="${P/_/-}"
19
	SRC_URI="http://quassel-irc.org/system/files/${MY_P}.tar.bz2"
19
	SRC_URI="http://quassel-irc.org/system/files/${MY_P}.tar.bz2"
Lines 31-47 Link Here
31
31
32
IUSE="+X +server debug"
32
IUSE="+X +server debug"
33
33
34
RDEPEND="|| (
34
RDEPEND="x11-libs/qt-core:4
35
		(
35
		server? (
36
			x11-libs/qt-core:4
36
			x11-libs/qt-sql:4
37
			server? (
37
			x11-libs/qt-script:4
38
				x11-libs/qt-sql:4
39
				x11-libs/qt-script:4
40
			)
41
			X? ( x11-libs/qt-gui:4 )
42
		)
38
		)
43
		=x11-libs/qt-4.3*:4
39
		X? ( x11-libs/qt-gui:4 )"
44
	)"
40
45
DEPEND="${RDEPEND}
41
DEPEND="${RDEPEND}
46
	>=dev-util/cmake-2.4.7"
42
	>=dev-util/cmake-2.4.7"
47
43
Lines 85-88 Link Here
85
		# avoid the connected/ directory, get only the ${size}x${size}
81
		# avoid the connected/ directory, get only the ${size}x${size}
86
		doins -r "${S}"/src/icons/quassel/*x*
82
		doins -r "${S}"/src/icons/quassel/*x*
87
	fi
83
	fi
84
85
	if use server; then
86
		newinitd ${FILESDIR}/quasselcore.init quasselcore
87
		newconfd ${FILESDIR}/quasselcore.conf quasselcore
88
	fi
89
}
90
91
pkg_postinst() {
92
	if use server; then
93
		ewarn "In order to use the quassel init script you must set the"
94
		ewarn "QUASSELUSER variable in /etc/conf.d/quasselcore to your username."
95
	fi
88
}
96
}

Return to bug 217510