diff options
Diffstat (limited to 'media-video/mpeg2vidcodec')
5 files changed, 0 insertions, 173 deletions
diff --git a/media-video/mpeg2vidcodec/Manifest b/media-video/mpeg2vidcodec/Manifest deleted file mode 100644 index b6cb59790295..000000000000 --- a/media-video/mpeg2vidcodec/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mpeg2vidcodec_v12.tar.gz 259790 BLAKE2B 528a6bc7ffdf25ff97241752d26accf83860f3dcf6a7f8ce9394308c1cb1ece0cad9d79f8a6ce7b59823900e9ff991a1cc0ff9de8c11749736576d847d07545a SHA512 2a46f486102ac2a1ae99a0f75b196c5aa01f8a99a6230723a2000ca8411adbca6c3e07d70f7cb269b17ce5fa4bf318e6dd4bfa83ecf8e137e8efca2bb352735c diff --git a/media-video/mpeg2vidcodec/files/mpeg2vidcodec-12-Wimplicit-function-declaration.patch b/media-video/mpeg2vidcodec/files/mpeg2vidcodec-12-Wimplicit-function-declaration.patch deleted file mode 100644 index 7f618a2e9f8d..000000000000 --- a/media-video/mpeg2vidcodec/files/mpeg2vidcodec-12-Wimplicit-function-declaration.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- a/src/mpeg2dec/getbits.c -+++ b/src/mpeg2dec/getbits.c -@@ -34,6 +34,7 @@ - - #include <stdio.h> - #include <stdlib.h> -+#include <unistd.h> - - #include "config.h" - #include "global.h" ---- a/src/mpeg2dec/mpeg2dec.c -+++ b/src/mpeg2dec/mpeg2dec.c -@@ -32,6 +32,8 @@ - #include <stdlib.h> - #include <ctype.h> - #include <fcntl.h> -+#include <sys/types.h> -+#include <unistd.h> - - #define GLOBAL - #include "config.h" ---- a/src/mpeg2dec/spatscal.c -+++ b/src/mpeg2dec/spatscal.c -@@ -1,5 +1,7 @@ - - #include <stdio.h> -+#include <stdlib.h> -+#include <string.h> - #include "config.h" - #include "global.h" - ---- a/src/mpeg2dec/store.c -+++ b/src/mpeg2dec/store.c -@@ -28,8 +28,10 @@ - */ - - #include <stdio.h> -+#include <string.h> - #include <stdlib.h> - #include <fcntl.h> -+#include <unistd.h> - - #include "config.h" - #include "global.h" ---- a/src/mpeg2dec/subspic.c -+++ b/src/mpeg2dec/subspic.c -@@ -31,6 +31,7 @@ - #include <stdio.h> - #include <stdlib.h> - #include <fcntl.h> -+#include <unistd.h> - - #include "config.h" - #include "global.h" diff --git a/media-video/mpeg2vidcodec/files/mpeg2vidcodec-12-fix-build-system.patch b/media-video/mpeg2vidcodec/files/mpeg2vidcodec-12-fix-build-system.patch deleted file mode 100644 index e278b3a26d76..000000000000 --- a/media-video/mpeg2vidcodec/files/mpeg2vidcodec-12-fix-build-system.patch +++ /dev/null @@ -1,78 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -53,26 +53,23 @@ - # - # GNU gcc - # --CC = gcc --CFLAGS = -O2 -+CFLAGS += -Wall - - all: mpeg2decode mpeg2encode - - mpeg2decode: -- cd src/mpeg2dec; make 'CC=$(CC)' \ -- 'CFLAGS=$(CFLAGS) $(USE_DISP) $(USE_SHMEM) $(INCLUDEDIR)' \ -- 'LIBS=$(LIBS)' 'LIBRARYDIR=$(LIBRARYDIR)' -+ cd src/mpeg2dec && $(MAKE) - - mpeg2encode: -- cd src/mpeg2enc; make 'CC=$(CC)' 'CFLAGS=$(CFLAGS)' -+ cd src/mpeg2enc && $(MAKE) - - pc: -- cd src/mpeg2dec; make pc 'CC=$(CC)' 'CFLAGS=$(CFLAGS)' -- cd src/mpeg2enc; make pc 'CC=$(CC)' 'CFLAGS=$(CFLAGS)' -+ cd src/mpeg2dec && $(MAKE) pc -+ cd src/mpeg2enc && $(MAKE) pc - - clean: -- cd src/mpeg2dec; make clean -- cd src/mpeg2enc; make clean -+ cd src/mpeg2dec && $(MAKE) clean -+ cd src/mpeg2enc && $(MAKE) clean - - test: - cd verify; ./verify ---- a/src/mpeg2dec/Makefile -+++ b/src/mpeg2dec/Makefile -@@ -60,8 +60,7 @@ - # - # GNU gcc - # --CC = gcc --CFLAGS = -O2 $(USE_DISP) $(USE_SHMEM) $(INCLUDEDIR) $(TRACE) $(VERBOSE) $(VERIFY) $(WARNINGS) -+CFLAGS += -Wall - - OBJ = mpeg2dec.o getpic.o motion.o getvlc.o gethdr.o getblk.o getbits.o store.o recon.o spatscal.o idct.o idctref.o display.o systems.o subspic.o verify.o - -@@ -76,7 +75,7 @@ - coff2exe mpeg2dec - - mpeg2decode: $(OBJ) -- $(CC) $(CFLAGS) $(LIBRARYDIR) -o mpeg2decode $(OBJ) -lm $(LIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) $(LIBRARYDIR) -o mpeg2decode $(OBJ) -lm $(LIBS) - - display.o : display.c config.h global.h mpeg2dec.h - getbits.o : getbits.c config.h global.h mpeg2dec.h ---- a/src/mpeg2enc/Makefile -+++ b/src/mpeg2enc/Makefile -@@ -32,8 +32,7 @@ - # - # GNU gcc - # --CC = gcc --CFLAGS = -O2 -Wall -+CFLAGS += -Wall - - OBJ = mpeg2enc.o conform.o putseq.o putpic.o puthdr.o putmpg.o putvlc.o putbits.o motion.o predict.o readpic.o writepic.o transfrm.o fdctref.o idct.o quantize.o ratectl.o stats.o - -@@ -48,7 +47,7 @@ - coff2exe mpeg2enc - - mpeg2encode: $(OBJ) -- $(CC) $(CFLAGS) -o mpeg2encode $(OBJ) -lm -+ $(CC) $(CFLAGS) $(LDFLAGS) -o mpeg2encode $(OBJ) -lm - - conform.o : conform.c config.h global.h mpeg2enc.h - fdctref.o : fdctref.c config.h diff --git a/media-video/mpeg2vidcodec/metadata.xml b/media-video/mpeg2vidcodec/metadata.xml deleted file mode 100644 index 2542060f7f5c..000000000000 --- a/media-video/mpeg2vidcodec/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>media-video@gentoo.org</email> -</maintainer> -</pkgmetadata> diff --git a/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild b/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild deleted file mode 100644 index 0aaba40bef35..000000000000 --- a/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -MY_P="${PN}_v${PV}" - -DESCRIPTION="MPEG Library" -HOMEPAGE="http://www.mpeg.org/" -SRC_URI="http://www.mpeg.org/pub_ftp/mpeg/mssg/${MY_P}.tar.gz" - -LICENSE="mpeg2enc" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" -RESTRICT="mirror bindist" #465088 - -S="${WORKDIR}/mpeg2" - -PATCHES=( - "${FILESDIR}"/${P}-fix-build-system.patch - "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch -) - -src_configure() { - tc-export CC -} - -src_install() { - dobin src/mpeg2dec/mpeg2decode src/mpeg2enc/mpeg2encode - dodoc -r README doc/. -} |