summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-02-02 00:35:07 +0000
committerMichael Weber <xmw@gentoo.org>2013-02-02 00:35:07 +0000
commit84228a1b65ef2c29c4e4e604e05878ce859bfbdc (patch)
tree44b80cdf0cd8853dde32f29e5a7b3d7a65ed44cd /media-tv
parenttypo (diff)
downloadgentoo-2-84228a1b65ef2c29c4e4e604e05878ce859bfbdc.tar.gz
gentoo-2-84228a1b65ef2c29c4e4e604e05878ce859bfbdc.tar.bz2
gentoo-2-84228a1b65ef2c29c4e4e604e05878ce859bfbdc.zip
Revbump to fix LDFLAGS (thanks Chris Mayo, bug 333495)
(Portage version: 2.2.0_alpha159/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/dvbtune/ChangeLog10
-rw-r--r--media-tv/dvbtune/dvbtune-0.5-r1.ebuild38
-rw-r--r--media-tv/dvbtune/files/dvbtune-0.5-r1-gentoo.diff20
3 files changed, 66 insertions, 2 deletions
diff --git a/media-tv/dvbtune/ChangeLog b/media-tv/dvbtune/ChangeLog
index 05b62ddee6e9..0308f3623e59 100644
--- a/media-tv/dvbtune/ChangeLog
+++ b/media-tv/dvbtune/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-tv/dvbtune
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/dvbtune/ChangeLog,v 1.8 2012/02/15 18:29:37 hd_brummy Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/dvbtune/ChangeLog,v 1.9 2013/02/02 00:35:07 xmw Exp $
+
+*dvbtune-0.5-r1 (02 Feb 2013)
+
+ 02 Feb 2013; Michael Weber <xmw@gentoo.org> +dvbtune-0.5-r1.ebuild,
+ +files/dvbtune-0.5-r1-gentoo.diff:
+ Revbump to fix LDFLAGS (thanks Chris Mayo, bug 333495)
15 Feb 2012; Joerg Bornkessel <hd_brummy@gentoo.org> dvbtune-0.5.ebuild:
move media-tv to virtual/linuxtv-dvb-headers, bug #403929
diff --git a/media-tv/dvbtune/dvbtune-0.5-r1.ebuild b/media-tv/dvbtune/dvbtune-0.5-r1.ebuild
new file mode 100644
index 000000000000..c3061795c8ce
--- /dev/null
+++ b/media-tv/dvbtune/dvbtune-0.5-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/dvbtune/dvbtune-0.5-r1.ebuild,v 1.1 2013/02/02 00:35:07 xmw Exp $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="simple tuning app for DVB cards"
+HOMEPAGE="http://sourceforge.net/projects/dvbtools"
+SRC_URI="mirror://sourceforge/dvbtools/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="xml"
+
+RDEPEND="xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+ virtual/linuxtv-dvb-headers"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PF}-gentoo.diff
+}
+
+src_compile() {
+ emake dvbtune
+
+ use xml && emake xml2vdr
+}
+
+src_install() {
+ dobin dvbtune
+
+ use xml && dobin xml2vdr
+
+ dodoc README scripts/*
+}
diff --git a/media-tv/dvbtune/files/dvbtune-0.5-r1-gentoo.diff b/media-tv/dvbtune/files/dvbtune-0.5-r1-gentoo.diff
new file mode 100644
index 000000000000..a615317eb1de
--- /dev/null
+++ b/media-tv/dvbtune/files/dvbtune-0.5-r1-gentoo.diff
@@ -0,0 +1,20 @@
+--- dvbtune-0.5/Makefile.orig 2006-01-06 13:01:11.973196250 +0100
++++ dvbtune-0.5/Makefile 2006-01-06 13:01:46.667364500 +0100
+@@ -1,5 +1,6 @@
+ INCS=-I /usr/include/libxml2
+-CFLAGS= -Wall $(INCS)
++CFLAGS ?= -Wall
++CFLAGS += $(INCS)
+ CC=gcc
+ all: dvbtune
+
+@@ -33,7 +33,7 @@
+ dvbtune: dvbtune.c tune.o
+
+ xml2vdr: xml2vdr.c
+- $(CC) $(CFLAGS) -o xml2vdr xml2vdr.c -lxml2
++ $(CC) $(CFLAGS) -o xml2vdr xml2vdr.c -lxml2 $(LDFLAGS)
+
+ clean:
+ rm -f *.o *~ dvbtune xml2vdr
+