Lines 1-11
Link Here
|
1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2006 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/vyqchat/vyqchat-0.2.6.ebuild,v 1.4 2005/09/11 14:01:00 swegener Exp $ |
3 |
# $Header: $ |
|
|
4 |
|
5 |
inherit eutils |
4 |
|
6 |
|
5 |
DESCRIPTION="QT based Vypress Chat clone for X." |
7 |
DESCRIPTION="QT based Vypress Chat clone for X." |
6 |
HOMEPAGE="http://linux.bydg.org/~yogin/" |
8 |
HOMEPAGE="http://linux.bydg.org/~yogin/" |
7 |
SRC_URI="http://linux.bydg.org/~yogin/${P}.tar.gz |
9 |
SRC_URI="http://linux.bydg.org/~yogin/${P}.tar.gz" |
8 |
http://linux.bydg.org/~yogin/${P}-fix.tar.gz" |
|
|
9 |
LICENSE="GPL-2" |
10 |
LICENSE="GPL-2" |
10 |
SLOT="0" |
11 |
SLOT="0" |
11 |
KEYWORDS="~x86 ~ppc" |
12 |
KEYWORDS="~x86 ~ppc" |
Lines 13-28
Link Here
|
13 |
IUSE="arts" |
14 |
IUSE="arts" |
14 |
|
15 |
|
15 |
DEPEND="=x11-libs/qt-3* |
16 |
DEPEND="=x11-libs/qt-3* |
16 |
arts? ( kde-base/arts )" |
17 |
arts? ( media-libs/libsndfile |
|
|
18 |
media-libs/libao |
19 |
kde-base/arts )" |
20 |
RDEPEND="${DEPEND}" |
17 |
|
21 |
|
18 |
src_unpack() { |
22 |
src_unpack() { |
19 |
unpack ${A} |
23 |
unpack ${A} |
|
|
24 |
cd "${S}" |
20 |
|
25 |
|
21 |
mv -f ${WORKDIR}/${PN}/* ${S} |
26 |
epatch "${FILESDIR}"/${P}-gcc41.patch |
22 |
|
|
|
23 |
# Package has borked timestamps, bug #60541 |
24 |
cd ${S} |
25 |
touch aclocal.m4 configure Makefile.in config.h.in |
26 |
} |
27 |
} |
27 |
|
28 |
|
28 |
src_compile() { |
29 |
src_compile() { |
Lines 30-40
Link Here
|
30 |
--with-x \ |
31 |
--with-x \ |
31 |
--with-Qt-dir=/usr/qt/3 \ |
32 |
--with-Qt-dir=/usr/qt/3 \ |
32 |
$(use_with arts) \ |
33 |
$(use_with arts) \ |
|
|
34 |
$(use_with arts sndfile) \ |
35 |
$(use_with arts libao) \ |
33 |
|| die "econf failed" |
36 |
|| die "econf failed" |
34 |
make || die "make failed" |
37 |
|
|
|
38 |
emake || die "make failed" |
35 |
} |
39 |
} |
36 |
|
40 |
|
37 |
src_install() { |
41 |
src_install() { |
38 |
make DESTDIR=${D} install || die "make install failed" |
42 |
emake DESTDIR="${D}" install || die "make install failed" |
39 |
dodoc README THANKS NEWS || die "dodoc failed" |
43 |
dodoc ChangeLog FAQ NEWS PROTOCOL README README-KEYS \ |
|
|
44 |
THANKS TODO || die "dodoc failed" |
40 |
} |
45 |
} |