summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2005-07-05 22:39:46 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2005-07-05 22:39:46 +0000
commit6ebaf3180116c41cd097dcb50f5480425bc8119c (patch)
treec94d77210c27e62dfe99109f2a950cc6104676a9 /media-tv/linuxtv-dvb-apps
parentuclibc:pregen (diff)
downloadgentoo-2-6ebaf3180116c41cd097dcb50f5480425bc8119c.tar.gz
gentoo-2-6ebaf3180116c41cd097dcb50f5480425bc8119c.tar.bz2
gentoo-2-6ebaf3180116c41cd097dcb50f5480425bc8119c.zip
moved cvs snapshot ebuild from dvb-apps to linuxtv-dvb-apps
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-tv/linuxtv-dvb-apps')
-rw-r--r--media-tv/linuxtv-dvb-apps/ChangeLog11
-rw-r--r--media-tv/linuxtv-dvb-apps/Manifest5
-rw-r--r--media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.0_p200507021
-rw-r--r--media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-datafiles.patch14
-rw-r--r--media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-ca_zap.patch15
-rw-r--r--media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-makefile-corrections.patch291
-rw-r--r--media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.0_p20050702.ebuild63
7 files changed, 399 insertions, 1 deletions
diff --git a/media-tv/linuxtv-dvb-apps/ChangeLog b/media-tv/linuxtv-dvb-apps/ChangeLog
index ede8f32b3be7..5fff0d76c0d0 100644
--- a/media-tv/linuxtv-dvb-apps/ChangeLog
+++ b/media-tv/linuxtv-dvb-apps/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-tv/linuxtv-dvb-apps
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v 1.2 2005/07/05 19:41:36 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v 1.3 2005/07/05 22:39:46 zzam Exp $
+
+*linuxtv-dvb-apps-1.1.0_p20050702 (05 Jul 2005)
+
+ 05 Jul 2005; Matthias Schwarzott <zzam@gentoo.org>
+ +files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-datafiles.patch,
+ +files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-ca_zap.patch,
+ +files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-makefile-corrections.patch,
+ +linuxtv-dvb-apps-1.1.0_p20050702.ebuild:
+ moved cvs snapshot ebuild from dvb-apps to linuxtv-dvb-apps
05 Jul 2005; Matthias Schwarzott <zzam@gentoo.org>
linuxtv-dvb-apps-1.1.0.ebuild:
diff --git a/media-tv/linuxtv-dvb-apps/Manifest b/media-tv/linuxtv-dvb-apps/Manifest
index 69603305feed..77cbc2eaa889 100644
--- a/media-tv/linuxtv-dvb-apps/Manifest
+++ b/media-tv/linuxtv-dvb-apps/Manifest
@@ -1,4 +1,9 @@
MD5 2d9bc1f0c299e4c523ed76e0e36128c2 linuxtv-dvb-apps-1.1.0.ebuild 2104
MD5 3ba4938da0e228038fdc0bc47bbbae0d ChangeLog 531
+MD5 49b058ef71978c245c1da1d0b709fc01 linuxtv-dvb-apps-1.1.0_p20050702.ebuild 1696
MD5 6e77f3196f8735be5ba01cafd0c6b1bc metadata.xml 219
MD5 e59829ae0e470e61df8042ac7cae37ae files/digest-linuxtv-dvb-apps-1.1.0 74
+MD5 6104b3f8ec6d578f2afa21d626a428c8 files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-datafiles.patch 649
+MD5 086f7b665b6d4a51bc0c82a3a67c4c4c files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-ca_zap.patch 471
+MD5 a6d5954df07a40b6caaa2175bf51a3db files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-makefile-corrections.patch 10434
+MD5 f0abd17dd61428298069f80983583b6f files/digest-linuxtv-dvb-apps-1.1.0_p20050702 79
diff --git a/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.0_p20050702 b/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.0_p20050702
new file mode 100644
index 000000000000..d0626626963b
--- /dev/null
+++ b/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.0_p20050702
@@ -0,0 +1 @@
+MD5 23fd5f6e8db5a28e9513a3828c98d7c1 dvb-apps-snapshot-20050702.tar.bz2 158259
diff --git a/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-datafiles.patch b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-datafiles.patch
new file mode 100644
index 000000000000..6e69e1da3cc6
--- /dev/null
+++ b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-datafiles.patch
@@ -0,0 +1,14 @@
+--- dvb-apps-snapshot-20050704-before/util/szap/Makefile 2005-07-04 21:52:01.000000000 +0200
++++ dvb-apps-snapshot-20050704/util/szap/Makefile 2005-07-04 21:52:58.000000000 +0200
+@@ -43,6 +43,11 @@
+ mkdir -p $(DESTDIR)$(bindir)/
+ for i in $(TARGETS) ; do cp $$i $(DESTDIR)$(bindir)/ ; done
+ install-data:
++ test "$(datadir)/" != "/"
++ mkdir -p $(DESTDIR)$(datadir)/dvb/zap
++ for d in dvb-{s,c,t} atsc ; do test -d channels-conf/$$d || continue ; echo ..... $$d ..... \
++ ; mkdir -p $(DESTDIR)$(datadir)/dvb/zap/$$d/ \
++ ; cp `find channels-conf/$$d -type f|grep -v CVS` $(DESTDIR)$(datadir)/dvb/zap/$$d/ ; done
+
+ -include $(wildcard *.d) dummy
+
diff --git a/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-ca_zap.patch b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-ca_zap.patch
new file mode 100644
index 000000000000..cdf594e7e1d5
--- /dev/null
+++ b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-ca_zap.patch
@@ -0,0 +1,15 @@
+--- linuxtv-dvb-apps-20050704/util/ca_zap/Makefile.orig 2005-07-05 21:52:30.000000000 +0200
++++ linuxtv-dvb-apps-20050704/util/ca_zap/Makefile 2005-07-05 21:53:21.000000000 +0200
+@@ -16,6 +16,11 @@
+ clean:
+ $(RM) $(TARGETS) *.o *.d ca_zap
+
+-install:
++install: install-bin install-data
++install-bin:
++ test "$(bindir)/" != "/"
++ mkdir -p $(DESTDIR)$(bindir)/
++ for i in $(TARGETS) ; do cp $$i $(DESTDIR)$(bindir)/ ; done
++install-data:
+
+ -include $(wildcard *.d) dummy
diff --git a/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-makefile-corrections.patch b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-makefile-corrections.patch
new file mode 100644
index 000000000000..eae7d4697255
--- /dev/null
+++ b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-makefile-corrections.patch
@@ -0,0 +1,291 @@
+diff -ru dvb-apps-snapshot-20050702-orig/lib/libdvbcfg/Makefile dvb-apps-snapshot-20050702/lib/libdvbcfg/Makefile
+--- dvb-apps-snapshot-20050702-orig/lib/libdvbcfg/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/lib/libdvbcfg/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -16,7 +16,7 @@
+ dvbcfg_common.h \
+ dvbcfg_multiplex.h
+
+-CFLAGS = -I.
++CFLAGS += -I. -I../../include
+
+ LIB = libdvbcfg.a
+ RANLIB = ranlib
+diff -ru dvb-apps-snapshot-20050702-orig/lib/libdvbcfg/test/Makefile dvb-apps-snapshot-20050702/lib/libdvbcfg/test/Makefile
+--- dvb-apps-snapshot-20050702-orig/lib/libdvbcfg/test/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/lib/libdvbcfg/test/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,5 +1,5 @@
+
+-CFLAGS = -I..
++CFLAGS += -I..
+
+ test: dvbcfg_test.o ../libdvbcfg.a
+ gcc -o dvbcfg_test dvbcfg_test.o ../libdvbcfg.a
+diff -ru dvb-apps-snapshot-20050702-orig/lib/libdvben50221/Makefile dvb-apps-snapshot-20050702/lib/libdvben50221/Makefile
+--- dvb-apps-snapshot-20050702-orig/lib/libdvben50221/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/lib/libdvben50221/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,6 +1,7 @@
+ CC=gcc
+-CFLAGS= -g -Wall -W -I ../libdvbsi $(ARCH)
+-CPPFLAGS = -MD -I../libdvbsi -I. $(DEFS)
++CFLAGS ?= -g -Wall -W
++CFLAGS += -I ../libdvbsi $(ARCH)
++CPPFLAGS += -MD -I../libdvbsi -I. -I../../include $(DEFS)
+ OBJS = en50221_hlci.o asn_1.o en50221_encode.o gimmick.o
+ RM=rm
+
+@@ -9,10 +10,12 @@
+ $(OBJS): %.o : %.c
+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@
+
+-libs:
++libs: $(OBJS)
+ ar rcs libdvben50221.a en50221_hlci.o asn_1.o en50221_encode.o gimmick.o
+
+ clean:
+ $(RM) *.a *.o *.d
+
++install:
++
+ -include $(wildcard *.d) dummy
+diff -ru dvb-apps-snapshot-20050702-orig/lib/libdvbsi/Makefile dvb-apps-snapshot-20050702/lib/libdvbsi/Makefile
+--- dvb-apps-snapshot-20050702-orig/lib/libdvbsi/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/lib/libdvbsi/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,6 +1,7 @@
+ CC=gcc
+-CFLAGS= -g -Wall -O2 $(ARCH)
+-CPPFLAGS = -MD -I../../include -I../lib -I. $(DEFS)
++CFLAGS ?= -g -Wall -O2
++CFLAGS += $(ARCH)
++CPPFLAGS += -MD -I../../include -I../lib -I. $(DEFS)
+ RM=rm
+
+ OBJS = filter.o pat.o pmt.o si.o descriptor.o channels.o
+@@ -12,7 +13,9 @@
+ clean:
+ $(RM) *.o *.d *.a
+
+-libs:
++libs: $(OBJS)
+ ar rcs libdvbsi.a filter.o pat.o pmt.o si.o descriptor.o channels.o
+
++install:
++
+ -include $(wildcard *.d) dummy
+diff -ru dvb-apps-snapshot-20050702-orig/test/Makefile dvb-apps-snapshot-20050702/test/Makefile
+--- dvb-apps-snapshot-20050702-orig/test/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/test/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,8 +1,9 @@
+ # Makefile for Linux DVB API Version 3 test programs
+
+ CC = gcc
+-CFLAGS = -g -O2 -W -Wall -D__user= $(ARCH)
+-CPPFLAGS = -I../include $(DEFS)
++CFLAGS ?= -g -O2 -W -Wall
++CFLAGS += -D__user= $(ARCH)
++CPPFLAGS += -I../include $(DEFS)
+
+ TARGETS = \
+ diseqc \
+diff -ru dvb-apps-snapshot-20050702-orig/util/av7110_loadkeys/Makefile dvb-apps-snapshot-20050702/util/av7110_loadkeys/Makefile
+--- dvb-apps-snapshot-20050702-orig/util/av7110_loadkeys/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/util/av7110_loadkeys/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,6 +1,7 @@
+ CC = gcc
+-CFLAGS = -g -Wall -O2 $(ARCH)
+-CPPFLAGS = $(DEFS)
++CFLAGS ?= -g -Wall -O2
++CFLAGS += $(ARCH)
++CPPFLAGS += $(DEFS)
+ DEFS = '-DDATADIR="$(datadir)"'
+ bindir = /usr/local/bin
+ datadir = /usr/local/share
+diff -ru dvb-apps-snapshot-20050702-orig/util/ca_zap/Makefile dvb-apps-snapshot-20050702/util/ca_zap/Makefile
+--- dvb-apps-snapshot-20050702-orig/util/ca_zap/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/util/ca_zap/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,6 +1,7 @@
+ CC = gcc
+-CFLAGS = -g -O2 -W -Wall -o $(ARCH)
+-CPPFLAGS = -MD -I../../lib/libdvbsi -I../../lib/libdvben50221
++CFLAGS ?= -g -O2 -W -Wall
++CFLAGS += $(ARCH)
++CPPFLAGS += -MD -I../../lib/libdvbsi -I../../lib/libdvben50221 -I../../include
+ LDFLAGS = -g -O2 -L ../../lib/libdvbsi -ldvbsi -L ../../lib/libdvben50221 -ldvben50221
+ RM = rm -f
+
+@@ -9,10 +10,12 @@
+
+ all: $(OBJS) $(TARGETS)
+
+-ca_zap:
+- $(CC) $(CPPFLAGS) $(CFLAGS) ca_zap ca_zap.o $(LDFLAGS)
++ca_zap: $(OBJS)
++ $(CC) $(CPPFLAGS) $(CFLAGS) -o ca_zap ca_zap.o $(LDFLAGS)
+
+ clean:
+ $(RM) $(TARGETS) *.o *.d ca_zap
+
++install:
++
+ -include $(wildcard *.d) dummy
+diff -ru dvb-apps-snapshot-20050702-orig/util/dib3000-watch/Makefile dvb-apps-snapshot-20050702/util/dib3000-watch/Makefile
+--- dvb-apps-snapshot-20050702-orig/util/dib3000-watch/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/util/dib3000-watch/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,11 +1,11 @@
+ CC=gcc
+ TARGET=dib3000-watch
+ OBJECTS=dib3000-watch.o
+-CFLAGS=-c -Wall
++CFLAGS ?= -Wall
+ LFLAGS=-lm
+
+ .c.o:
+- $(CC) $(CFLAGS) $< -o $@
++ $(CC) -c $(CFLAGS) $< -o $@
+
+ all: $(TARGET)
+
+diff -ru dvb-apps-snapshot-20050702-orig/util/dst-utils/Makefile dvb-apps-snapshot-20050702/util/dst-utils/Makefile
+--- dvb-apps-snapshot-20050702-orig/util/dst-utils/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/util/dst-utils/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,6 +1,7 @@
+ CC = gcc
+-CFLAGS = -g -O2 -W -Wall -o $(ARCH)
+-CPPFLAGS = -MD -I../../lib/libdvbsi -I../../lib/libdvben50221
++CFLAGS ?= -g -O2 -W -Wall
++CFLAGS += $(ARCH)
++CPPFLAGS += -MD -I../../lib/libdvbsi -I../../lib/libdvben50221 -I../../include
+ LDFLAGS = -g -O2 -L ../../lib/libdvbsi -ldvbsi -L ../../lib/libdvben50221 -ldvben50221
+ RM = rm -f
+
+@@ -9,10 +10,12 @@
+
+ all: $(OBJS) $(TARGETS)
+
+-dst_test:
+- $(CC) $(CPPFLAGS) $(CFLAGS) dst_test dst_test.o $(LD_FLAGS)
++dst_test: $(OBJS)
++ $(CC) $(CPPFLAGS) $(CFLAGS) -o dst_test dst_test.o $(LD_FLAGS)
+
+ clean:
+ $(RM) $(TARGETS) *.o dst_test
+
++install:
++
+ -include $(wildcard *.d) dummy
+diff -ru dvb-apps-snapshot-20050702-orig/util/dvbdate/Makefile dvb-apps-snapshot-20050702/util/dvbdate/Makefile
+--- dvb-apps-snapshot-20050702-orig/util/dvbdate/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/util/dvbdate/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,7 +1,8 @@
+
+ CC = gcc
+-CFLAGS = -g -O2 -Wall $(ARCH)
+-CPPFLAGS= -MD -I../../include $(DEFS)
++CFLAGS ?= -g -O2 -Wall
++CFLAGS += $(ARCH)
++CPPFLAGS += -MD -I../../include $(DEFS)
+ LFLAGS =
+
+ OBJS = dvbdate.o
+diff -ru dvb-apps-snapshot-20050702-orig/util/dvbnet/Makefile dvb-apps-snapshot-20050702/util/dvbnet/Makefile
+--- dvb-apps-snapshot-20050702-orig/util/dvbnet/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/util/dvbnet/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,7 +1,8 @@
+
+ CC = gcc
+-CFLAGS = -g -O2 -Wall $(ARCH)
+-CPPFLAGS= -MD -I. -I../../include $(DEFS)
++CFLAGS ?= -g -O2 -Wall
++CFLAGS += $(ARCH)
++CPPFLAGS += -MD -I. -I../../include $(DEFS)
+ LFLAGS =
+ bindir = /usr/local/bin
+ libdir = /usr/local/lib
+@@ -14,6 +15,8 @@
+ .c.o:
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+
++dvbnet.o: version.h
++
+ $(TARGET): $(OBJS)
+ $(CC) -o $@ $(OBJS) $(LFLAGS)
+
+diff -ru dvb-apps-snapshot-20050702-orig/util/dvbtraffic/Makefile dvb-apps-snapshot-20050702/util/dvbtraffic/Makefile
+--- dvb-apps-snapshot-20050702-orig/util/dvbtraffic/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/util/dvbtraffic/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,5 +1,6 @@
+-CFLAGS = -g -O2 -Wall $(ARCH)
+-CPPFLAGS = -MD -I../../include $(DEFS)
++CFLAGS ?= -g -O2 -Wall
++CFLAGS += $(ARCH)
++CPPFLAGS += -MD -I../../include $(DEFS)
+ bindir = /usr/local/bin
+
+ dvbtraffic: dvbtraffic.c
+diff -ru dvb-apps-snapshot-20050702-orig/util/lib/Makefile dvb-apps-snapshot-20050702/util/lib/Makefile
+--- dvb-apps-snapshot-20050702-orig/util/lib/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/util/lib/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,7 +1,8 @@
+
+ CC = gcc
+-CFLAGS = -g -Wall -O2 $(ARCH)
+-CPPFLAGS = -MD -I../../include -I. $(DEFS)
++CFLAGS ?= -g -Wall -O2
++CFLAGS += $(ARCH)
++CPPFLAGS += -MD -I../../include -I. $(DEFS)
+ bindir = /usr/local/bin
+
+ OBJS = lnb.o
+diff -ru dvb-apps-snapshot-20050702-orig/util/scan/Makefile dvb-apps-snapshot-20050702/util/scan/Makefile
+--- dvb-apps-snapshot-20050702-orig/util/scan/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/util/scan/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,7 +1,8 @@
+
+ CC = gcc
+-CFLAGS = -g -Wall -O2 $(ARCH)
+-CPPFLAGS = -MD -I../../include -I../lib $(DEFS)
++CFLAGS ?= -g -Wall -O2
++CFLAGS +=$(ARCH)
++CPPFLAGS += -MD -I../../include -I../lib $(DEFS)
+ LFLAGS = -g -Wall
+ DEFS = '-DDATADIR="$(datadir)"'
+ bindir = /usr/local/bin
+@@ -35,9 +36,11 @@
+ mkdir -p $(DESTDIR)$(datadir)/dvb
+ for d in dvb-* atsc ; do test -d $$d || continue ; echo ..... $$d ..... \
+ ; mkdir -p $(DESTDIR)$(datadir)/dvb/$$d/ \
+- ; cp `find $$d -type f` $(DESTDIR)$(datadir)/dvb/$$d/ ; done
++ ; cp `find $$d -type f|grep -v CVS` $(DESTDIR)$(datadir)/dvb/$$d/ ; done
+
+ -include $(wildcard *.d) dummy
+
++atsc_psip_section.h: atsc_psip_section.c
++
+ atsc_psip_section.c: atsc_psip_section.pl section_generate.pl
+ perl section_generate.pl atsc_psip_section.pl
+diff -ru dvb-apps-snapshot-20050702-orig/util/szap/Makefile dvb-apps-snapshot-20050702/util/szap/Makefile
+--- dvb-apps-snapshot-20050702-orig/util/szap/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/util/szap/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,6 +1,7 @@
+ CC = gcc
+-CFLAGS = -Wall -g -O2 $(ARCH)
+-CPPFLAGS = -MD -I../../include -I../lib $(DEFS)
++CFLAGS ?= -Wall -g -O2
++CFLAGS += $(ARCH)
++CPPFLAGS += -MD -I../../include -I../lib $(DEFS)
+ LFLAGS = -Wall -g -O2
+ RM = rm -f
+ DEFS = '-DDATADIR="$(datadir)"'
+diff -ru dvb-apps-snapshot-20050702-orig/util/ttusb_dec_reset/Makefile dvb-apps-snapshot-20050702/util/ttusb_dec_reset/Makefile
+--- dvb-apps-snapshot-20050702-orig/util/ttusb_dec_reset/Makefile 2005-07-02 15:34:55.000000000 +0200
++++ dvb-apps-snapshot-20050702/util/ttusb_dec_reset/Makefile 2005-07-03 12:22:55.000000000 +0200
+@@ -1,7 +1,8 @@
+ CC = gcc
+ RM = rm -f
+-CFLAGS = -g -Wall -O2 $(ARCH)
+-CPPFLAGS = $(DEFS)
++CFLAGS ?= -g -Wall -O2
++CFLAGS += $(ARCH)
++CPPFLAGS += $(DEFS)
+ LFLAGS = -g -Wall
+ LDFLAGS = -lusb
+ bindir = /usr/local/bin
diff --git a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.0_p20050702.ebuild b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.0_p20050702.ebuild
new file mode 100644
index 000000000000..07a2ae03ace2
--- /dev/null
+++ b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.0_p20050702.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.0_p20050702.ebuild,v 1.1 2005/07/05 22:39:46 zzam Exp $
+
+
+inherit eutils
+
+MY_P="${PN/linuxtv-/}-snapshot-${PV/*_p/}"
+
+IUSE="usb"
+SLOT="0"
+HOMEPAGE="http://www.linuxtv.org/"
+DESCRIPTION="small utils for DVB to scan, zap, view signal strength, ..."
+LICENSE="GPL-2"
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
+KEYWORDS="~x86"
+S=${WORKDIR}/${MY_P}
+
+DEPEND="usb? ( dev-libs/libusb )"
+
+src_unpack()
+{
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo-makefile-corrections.patch
+ epatch ${FILESDIR}/${P}-gentoo-datafiles.patch
+ epatch ${FILESDIR}/${P}-gentoo-install-ca_zap.patch
+
+ # disables compilation of ttusb_dec_reset which requires libusb
+ use usb || sed -i util/Makefile -e '/ttusb_dec_reset/d'
+
+ # do not compile test-progs
+ sed -i Makefile -e '/-C test/d'
+}
+
+src_compile()
+{
+ # interferes with variable in Makefile
+ unset ARCH
+
+ emake bindir=/usr/bin datadir=/usr/share libdir=/usr/lib || die "failed to compile"
+}
+
+src_install()
+{
+ emake bindir=/usr/bin datadir=/usr/share libdir=/usr/lib DESTDIR=${D} INSTDIR=${T} install || die "install failed"
+
+ dodoc README TODO INSTALL
+ newdoc util/scan/README README.dvbscan
+ newdoc util/szap/README README.zap
+ newdoc util/av7110_loadkeys/README README.av7110_loadkeys
+
+ use usb && newdoc util/ttusb_dec_reset/READEM README.ttusb_dec_reset
+}
+
+pkg_postinst()
+{
+ einfo "Please read the documentation in /usr/share/doc/${PF}."
+ einfo "The channel lists and other files are installed in"
+ einfo "/usr/share/dvb"
+ einfo
+ einfo "The scanning utility is now installed as dvbscan."
+}