diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2003-10-05 10:41:16 +0000 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2003-10-05 10:41:16 +0000 |
commit | 2c533a5b32b2f760738575cdec7f710707ddd4f2 (patch) | |
tree | 5fe28adc7c4149cb0a12e3585263c3cab54d79f7 /media-video | |
parent | initial (diff) | |
download | historical-2c533a5b32b2f760738575cdec7f710707ddd4f2.tar.gz historical-2c533a5b32b2f760738575cdec7f710707ddd4f2.tar.bz2 historical-2c533a5b32b2f760738575cdec7f710707ddd4f2.zip |
initial
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/libdvb/Manifest | 11 | ||||
-rw-r--r-- | media-video/libdvb/files/DVB.cc-0.5.0.patch | 4 | ||||
-rw-r--r-- | media-video/libdvb/files/Makefile-0.5.0.patch | 20 | ||||
-rw-r--r-- | media-video/libdvb/files/digest-libdvb-0.5.0 | 1 | ||||
-rw-r--r-- | media-video/libdvb/files/dvb-mpegtools-Makefile-0.5.0.patch | 26 | ||||
-rw-r--r-- | media-video/libdvb/libdvb-0.5.0.ebuild | 38 | ||||
-rw-r--r-- | media-video/libdvb/metadata.xml | 6 |
7 files changed, 100 insertions, 6 deletions
diff --git a/media-video/libdvb/Manifest b/media-video/libdvb/Manifest index 87b4f6fbf755..043c5acb3ec8 100644 --- a/media-video/libdvb/Manifest +++ b/media-video/libdvb/Manifest @@ -1,8 +1,7 @@ -MD5 be486b213dc7f447292e4e21c59e09fa ChangeLog.~1.1.~ 353 -MD5 d7ddd8ce2c135e0eab764df42f9feb4d libdvb-0.2.1.ebuild.~1.2.~ 1022 -MD5 1f770d60e6c4dab37921813a30a29cc4 libdvb-0.5.0.ebuild 947 -MD5 711095f15c2d72ec80aeab6068faf730 libdvb-0.5.0.ebuild~ 951 -MD5 6f9f750de3213a06a460a83a7df6aa2d ChangeLog~ 500 -MD5 440a28a3e6d69c262e3834975aca0a2c ChangeLog 373 +MD5 9c6d14e6e642ccb160f12c259d03083d libdvb-0.5.0.ebuild 1199 +MD5 ae798c189fa517dc029fd1d00e671826 ChangeLog 369 MD5 6e77f3196f8735be5ba01cafd0c6b1bc metadata.xml 219 MD5 959af4765da255b2a4177ce8b73d46b3 files/digest-libdvb-0.5.0 64 +MD5 82d267a0517e40b5f2f7919a8d05329a files/dvb-mpegtools-Makefile-0.5.0.patch 1074 +MD5 244fee7a84fb262ee02f1a24363b9689 files/Makefile-0.5.0.patch 854 +MD5 b6c25580a95fd14c5597e9f1e2c46977 files/DVB.cc-0.5.0.patch 89 diff --git a/media-video/libdvb/files/DVB.cc-0.5.0.patch b/media-video/libdvb/files/DVB.cc-0.5.0.patch new file mode 100644 index 000000000000..d0c669b1eaf5 --- /dev/null +++ b/media-video/libdvb/files/DVB.cc-0.5.0.patch @@ -0,0 +1,4 @@ +3147c3147 +< event.status = (enum fe_status_t) 0; +--- +> event.status = (fe_status_t) 0; diff --git a/media-video/libdvb/files/Makefile-0.5.0.patch b/media-video/libdvb/files/Makefile-0.5.0.patch new file mode 100644 index 000000000000..d16b185b3c19 --- /dev/null +++ b/media-video/libdvb/files/Makefile-0.5.0.patch @@ -0,0 +1,20 @@ +14c14 +< main: $(DVB_LIBS) $(TEST_PROGS) $(DVB-MPEGTOOLS) +--- +> main: $(DVB_LIBS) $(DVB-MPEGTOOLS) +17,20c17,20 +< [ ! -d "$(PREFIX)/lib" ] && mkdir -p $(PREFIX)/lib +< install -m 644 $(DVB_LIBS) $(PREFIX)/lib/ +< [ ! -d "$(PREFIX)/include" ] && mkdir -p $(PREFIX)/include +< install -m 644 $(HEADERS) $(PREFIX)/include/ +--- +> [ ! -d "$(DESTDIR)/$(PREFIX)/lib" ] && mkdir -p $(DESTDIR)/$(PREFIX)/lib +> install -m 644 $(DVB_LIBS) $(DESTDIR)/$(PREFIX)/lib/ +> [ ! -d "$(DESTDIR)/$(PREFIX)/include" ] && mkdir -p $(DESTDIR)/$(PREFIX)/include +> install -m 644 $(HEADERS) $(DESTDIR)/$(PREFIX)/include/ +24,25c24,25 +< for i in $(DVB_LIBS); do rm -f $(PREFIX)/lib/$$i;done +< for i in $(HEADERS); do rm -f $(PREFIX)/$$i;done +--- +> for i in $(DVB_LIBS); do rm -f $(DESTDIR)/$(PREFIX)/lib/$$i;done +> for i in $(HEADERS); do rm -f $(DESTDIR)/$(PREFIX)/$$i;done diff --git a/media-video/libdvb/files/digest-libdvb-0.5.0 b/media-video/libdvb/files/digest-libdvb-0.5.0 new file mode 100644 index 000000000000..73e454d1bc59 --- /dev/null +++ b/media-video/libdvb/files/digest-libdvb-0.5.0 @@ -0,0 +1 @@ +MD5 aa4a7504b279c0ca1b8c5f8ebbcb35fb libdvb-0.5.0.tar.gz 255311 diff --git a/media-video/libdvb/files/dvb-mpegtools-Makefile-0.5.0.patch b/media-video/libdvb/files/dvb-mpegtools-Makefile-0.5.0.patch new file mode 100644 index 000000000000..2f7c54baa16f --- /dev/null +++ b/media-video/libdvb/files/dvb-mpegtools-Makefile-0.5.0.patch @@ -0,0 +1,26 @@ +60,63c60,63 +< install -D -m 755 dvb-mplex $(PREFIX)/bin/dvb-mplex +< install -m 755 audiofilter $(PREFIX)/bin/ +< install -m 755 dvb-mpegtools_main $(PREFIX)/bin/ +< install -m 755 dvbaudio $(PREFIX)/bin/ +--- +> install -D -m 755 dvb-mplex $(DESTDIR)/$(PREFIX)/bin/dvb-mplex +> install -m 755 audiofilter $(DESTDIR)/$(PREFIX)/bin/ +> install -m 755 dvb-mpegtools_main $(DESTDIR)/$(PREFIX)/bin/ +> install -m 755 dvbaudio $(DESTDIR)/$(PREFIX)/bin/ +65c65 +< ln -sf $(PREFIX)/bin/dvb-mpegtools_main $(PREFIX)/bin/$$f ;\ +--- +> ln -sf $(PREFIX)/bin/dvb-mpegtools_main $(DESTDIR)/$(PREFIX)/bin/$$f ;\ +69,73c69,73 +< for f in $(LINKS); do rm -f $(PREFIX)/bin/$$f;done +< rm -f $(PREFIX)/bin/dvb-mpegtools_main +< rm -f $(PREFIX)/bin/dvbaudio +< rm -f $(PREFIX)/bin/audiofilter +< rm -f $(PREFIX)/lib/libdvbmpegtools +--- +> for f in $(LINKS); do rm -f $(DESTDIR)/$(PREFIX)/bin/$$f;done +> rm -f $(DESTDIR)/$(PREFIX)/bin/dvb-mpegtools_main +> rm -f $(DESTDIR)/$(PREFIX)/bin/dvbaudio +> rm -f $(DESTDIR)/$(PREFIX)/bin/audiofilter +> rm -f $(DESTDIR)/$(PREFIX)/lib/libdvbmpegtools diff --git a/media-video/libdvb/libdvb-0.5.0.ebuild b/media-video/libdvb/libdvb-0.5.0.ebuild new file mode 100644 index 000000000000..fb051d340c66 --- /dev/null +++ b/media-video/libdvb/libdvb-0.5.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/libdvb/libdvb-0.5.0.ebuild,v 1.1 2003/10/05 10:41:09 lordvan Exp $ + +IUSE="" + +S=${WORKDIR}/${P} +DESCRIPTION="mpegtools package for manipulation of various MPEG file formats" +HOMEPAGE="http://www.metzlerbros.org/dvb/" +SRC_URI="http://www.metzlerbros.org/dvb/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86" + +DEPEND=">=sys-apps/sed-4 + >=media-tv/linuxtv-dvb-1.0.1" + +src_compile() { + # applying a patch to DVB.cc (compile error) + patch -p0 ${S}/libdvb/DVB.cc < ${FILESDIR}/DVB.cc-0.5.0.patch + # patch to Makefile + #(disable compilation of sample programs because of a compile error) + patch -p0 ${S}/Makefile < ${FILESDIR}/Makefile-0.5.0.patch + # patch to dvb-mpegtools Makefile to make correct links + patch -p0 ${S}/dvb-mpegtools/Makefile < ${FILESDIR}/dvb-mpegtools-Makefile-0.5.0.patch + emake || die +} + +src_install() { + make DESTDIR=${D} PREFIX=/usr install || die + dodoc README + insinto /usr/doc/${P}/sample_progs + doins sample_progs/* + insinto /usr/doc/${P}/samplerc + doins samplerc/* +} + diff --git a/media-video/libdvb/metadata.xml b/media-video/libdvb/metadata.xml new file mode 100644 index 000000000000..5a3dd3f227d9 --- /dev/null +++ b/media-video/libdvb/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>lordvan@gentoo.org</email></maintainer> +</pkgmetadata> |