blob: 7e17eeb396831d9a31c239101c5e69855dd882ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/xosd/xosd-2.2.4-r2.ebuild,v 1.8 2004/06/24 00:14:19 agriffis Exp $
inherit eutils
IUSE="xmms"
DESCRIPTION="Library for overlaying text/glyphs in X-Windows \
X-On-Screen-Display plus binary for sending text from command line."
HOMEPAGE="http://www.ignavus.net/"
SRC_URI="mirror://debian/pool/main/x/xosd/${PN}_${PV}.orig.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~sparc ppc ~alpha hppa"
DEPEND="virtual/x11
xmms? ( media-sound/xmms
>=media-libs/gdk-pixbuf-0.22.0 )"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PV}-font-align.patch
epatch ${FILESDIR}/${P}-xmms-trackpos.patch
}
src_compile() {
if use xmms; then
myconf="--with-plugindir=/usr/lib/xmms/General"
else
myconf="--without-plugindir"
fi
econf ${myconf} || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog NEWS COPYING README
}
|