diff options
Diffstat (limited to 'x11-libs/xosd/xosd-2.2.10-r1.ebuild')
-rw-r--r-- | x11-libs/xosd/xosd-2.2.10-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/x11-libs/xosd/xosd-2.2.10-r1.ebuild b/x11-libs/xosd/xosd-2.2.10-r1.ebuild new file mode 100644 index 000000000000..4187a41d964c --- /dev/null +++ b/x11-libs/xosd/xosd-2.2.10-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/xosd/xosd-2.2.10-r1.ebuild,v 1.1 2006/06/11 20:04:36 antarus Exp $ + +inherit eutils + +IUSE="xinerama 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="http://www.ignavus.net/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha ~amd64 ~hppa ia64 ppc ~sparc ~x86" + +DEPEND="|| ( ( + x11-libs/libX11 + x11-libs/libXt + x11-proto/xextproto + x11-proto/xineramaproto + x11-proto/xproto ) + virtual/x11 ) + xmms? ( media-sound/xmms >=media-libs/gdk-pixbuf-0.22.0 )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/2.2.8-xmms-trackpos.patch +} + +src_compile() { + local myconf="" + + use xinerama || myconf="${myconf} --disable-xinerama" + + use xmms || myconf="${myconf} --disable-new-plugin" + + econf ${myconf} || die + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc AUTHORS ChangeLog NEWS COPYING README + + if [ -d ${D}no ]; then + rmdir ${D}no + fi +} |