summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2005-12-20 13:00:46 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2005-12-20 13:00:46 +0000
commit402220ad75689dd72bd51ab874ca0b87ac05c23f (patch)
treedb5834df8a61b6cef5a6aaf926b5428d44a77fae /media-video/alevt/alevt-1.6.1-r3.ebuild
parentfix vpnc patch failure (diff)
downloadgentoo-2-402220ad75689dd72bd51ab874ca0b87ac05c23f.tar.gz
gentoo-2-402220ad75689dd72bd51ab874ca0b87ac05c23f.tar.bz2
gentoo-2-402220ad75689dd72bd51ab874ca0b87ac05c23f.zip
Several improvements to the ebuild, see bug #116159
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'media-video/alevt/alevt-1.6.1-r3.ebuild')
-rw-r--r--media-video/alevt/alevt-1.6.1-r3.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/media-video/alevt/alevt-1.6.1-r3.ebuild b/media-video/alevt/alevt-1.6.1-r3.ebuild
new file mode 100644
index 000000000000..e317dc0ff0b7
--- /dev/null
+++ b/media-video/alevt/alevt-1.6.1-r3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/alevt/alevt-1.6.1-r3.ebuild,v 1.1 2005/12/20 13:00:46 phosphan Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Teletext viewer for X11"
+HOMEPAGE="http://www.goron.de/~froese/"
+SRC_URI="http://www.ibiblio.org/pub/Linux/apps/video/${P}.tar.gz
+ http://fresh.t-systems-sfr.com/linux/src/${P}.tar.gz
+ http://www.baycom.org/~tom/${PN}-dvb.patch"
+
+IUSE=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND="|| ( x11-libs/libX11 virtual/x11 )
+ >=media-libs/libpng-1.0.12"
+
+DEPEND="${RDEPEND}
+ || ( x11-proto/xproto virtual/x11 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+ epatch ${FILESDIR}/${P}-gcc4.patch
+ epatch ${DISTDIR}/${PN}-dvb.patch
+ epatch ${FILESDIR}/${P}-v4l2.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" OPT="${CFLAGS}" || die
+}
+
+src_install() {
+ dobin alevt alevt-cap alevt-date
+ doman alevt.1x alevt-date.1 alevt-cap.1
+ dodoc CHANGELOG COPYRIGHT README
+
+ insinto /usr/share/icons/hicolor/16x16/apps
+ newins contrib/mini-alevt.xpm alevt.xpm
+ insinto /usr/share/icons/hicolor/48x48/apps
+ newins contrib/icon48x48.xpm alevt.xpm
+
+ make_desktop_entry alevt "AleVT" alevt
+}