diff options
Diffstat (limited to 'media-video/chaplin')
-rw-r--r-- | media-video/chaplin/Manifest | 7 | ||||
-rw-r--r-- | media-video/chaplin/chaplin-1.10-r2.ebuild | 36 | ||||
-rw-r--r-- | media-video/chaplin/files/chaplin-1.10-asneeded.patch | 15 | ||||
-rw-r--r-- | media-video/chaplin/files/chaplin-1.10-libdvdread-0.9.6.patch | 11 | ||||
-rw-r--r-- | media-video/chaplin/metadata.xml | 10 |
5 files changed, 79 insertions, 0 deletions
diff --git a/media-video/chaplin/Manifest b/media-video/chaplin/Manifest new file mode 100644 index 000000000000..cba926009795 --- /dev/null +++ b/media-video/chaplin/Manifest @@ -0,0 +1,7 @@ +AUX chaplin-1.10-asneeded.patch 828 SHA256 b048bdaa35f1d0e447b96f4783b744733c89623a036af99a0f0c82950a126514 SHA512 610acdaa8c20e7a0246f3c493c2d75e82d6386d02033a11fda473714ee105ab7f5238149160c8a0a835333c66dbbf678d38d52a66b3bfebe2b891f3ec032abc0 WHIRLPOOL feb918820e815e05fd03a1ca222b761ec723a1a053ae069e194d06f9b64b5f264183f7aed316f47490eaf3d5f0e0fcd2635f28da475d58d259dd881181c599b5 +AUX chaplin-1.10-libdvdread-0.9.6.patch 334 SHA256 853967d7caa5a0921f3147ab0ae23f99e8fd1933906711fe028ad2c5463d5cdb SHA512 47fa6e41a05f141e64f06f7d62049006c6292f89c04fcbc63250860215f90da1c683b1b537dad4136897bf4a68f03507340c60c7abf033703c9acc3d7172a922 WHIRLPOOL c2ce98a1c939d7b6bc259082834777a2b294f30fc3ec26874952d5a0e8132776b8ec806e3fb99fc3a15725e5e02cc711a1609114c26d2acd2e9b95199e75a386 +DIST chaplin-1.10.tgz 23843 SHA256 064d3226d003477ae81273cee3870b5797f647623f67eb05e5c1e2e910d89228 SHA512 6d4434149fc157dfa8d7c1e1fe079d66b57a18717f0263ebfc95a14c847d97c018b0563b3dc1f8f8430670ef1f64a1f4c573462e5f0db2fcd8e53c939f58793d WHIRLPOOL 13b23d41d5bdcdf395f2ca96d308225a8ee028c51e44aade665fafee6dcb807a1b9f1f32248eae6ae853526f4b4d6ac52b3907d5256f56dd311c1d66a5942a5f +EBUILD chaplin-1.10-r2.ebuild 816 SHA256 f53b54e28c2c2247d20c0499a2c7701edf07b7a7a69079735f50a2a045ee9f5d SHA512 c4716b525945ab1b3d3e55221f5b5da05e48bcad6b650cf3564266813568b589a3dd9957aee3d155b3be90f86d96aea21dc5e7c53c716d95541b4bb35a741123 WHIRLPOOL cff4d6eb6473f66e703ee0c7b87a8c243a22f8cfb9377f54798525da9548d5f3f1a86cf9b634e2e119279f8e0497c0a1ca141fc5548ad8f3fb0335943db0369a +MISC ChangeLog 2516 SHA256 8acae94361c1c03b9c61f24448fefe283a0c9cec3975d1e5fc8b7affeeee24fa SHA512 6d608929959e3c38d912bad021faf74bbc1c944cdb571e0859fcbaa494ee41c2cdf17d294ae44c119d6801e1bc6e4cb2a5a1ac998fc727a450d22cfd006912ef WHIRLPOOL 14396e8d942acfd2b4b4dd5182bda7a7a9cb2c200c7ec3ccb99ec3712c9c2ddd2bffdea738af0378d4b5f07a13396668fbeb7f777d255e476de8f405c4f1a793 +MISC ChangeLog-2015 1821 SHA256 4e82217c19774e4398ced470525852b39aa729bf3e250a0624652f492ea30e02 SHA512 91a69fdfe21a962bb78b761a4303d2aa9308fc66cab4563e4c02d7d5d633f4dc9fa44ffbb70e45be6e6b52a62aaf174930bac48b08dd95efef1c78dd2bcd5952 WHIRLPOOL 9b3bd890d4066265d282d825919554470a339db4a8ed556db420a5576c03ea7fc20a6253967a54b959b5d1b31b29dd1fbb969839f65c55c5fa2ac4af7e4e76d7 +MISC metadata.xml 313 SHA256 111d87e851b2605ba5d3410eca843a357bf505db7e1ad0dd810fe3427655756e SHA512 b1bf468c26cd683d0655677a57330b93579c41b0d4e2584b6fd56f4c6106aa3381cc47531bdb9e9376b207750fdd5edbe9bd4a1bbc75b29f0e1c400233774dc0 WHIRLPOOL f29db73fc98891a19f8fe582b8edba3892acbc7642aa134f65230decaef9636a49a387442971e2bdf6f367dd14418f172be6b2201c77bcd8b96ca4d8b47a81d1 diff --git a/media-video/chaplin/chaplin-1.10-r2.ebuild b/media-video/chaplin/chaplin-1.10-r2.ebuild new file mode 100644 index 000000000000..452d808b53e7 --- /dev/null +++ b/media-video/chaplin/chaplin-1.10-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit eutils toolchain-funcs + +DESCRIPTION="This is a program to raw copy chapters from a dvd using libdvdread" +HOMEPAGE="http://www.lallafa.de/bp/chaplin.html" +SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="transcode vcd" + +DEPEND=">=media-libs/libdvdread-0.9.4" +RDEPEND="${DEPEND} + virtual/imagemagick-tools + media-video/mjpegtools + transcode? ( >=media-video/transcode-0.6.2 ) + vcd? ( >=media-video/vcdimager-0.7.2 )" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-libdvdread-0.9.6.patch \ + "${FILESDIR}"/${P}-asneeded.patch +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin chaplin chaplin-genmenu +} diff --git a/media-video/chaplin/files/chaplin-1.10-asneeded.patch b/media-video/chaplin/files/chaplin-1.10-asneeded.patch new file mode 100644 index 000000000000..f7cb499407a8 --- /dev/null +++ b/media-video/chaplin/files/chaplin-1.10-asneeded.patch @@ -0,0 +1,15 @@ +--- chaplin.orig/Makefile 2004-03-21 18:44:18.000000000 +0100 ++++ chaplin/Makefile 2009-10-25 18:34:26.082229887 +0100 +@@ -6,10 +6,10 @@ + all: build + + build: +- gcc -DNDEBUG -Wall -I$(LIBDVDREAD)/include -L$(LIBDVDREAD)/lib -ldvdread -Wl,-rpath,$(LIBDVDREAD)/lib -o chaplin chaplin.c -lm ++ $(CC) $(CFLAGS) $(LDFLAGS) -DNDEBUG -Wall -I$(LIBDVDREAD)/include -Wl,-rpath,$(LIBDVDREAD)/lib -o chaplin chaplin.c -L$(LIBDVDREAD)/lib -ldvdread -lm + + debug: +- gcc -Wall -I$(LIBDVDREAD)/include -L$(LIBDVDREAD)/lib -ldvdread -Wl,-rpath,$(LIBDVDREAD)/lib -o chaplin chaplin.c -lm ++ $(CC) $(CFLAGS) $(LDFLAGS) -Wall -I$(LIBDVDREAD)/include -Wl,-rpath,$(LIBDVDREAD)/lib -o chaplin chaplin.c -L$(LIBDVDREAD)/lib -ldvdread -lm + + dist: + cd .. ; tar cvfz chaplin.tgz chaplin/Makefile chaplin/chaplin.c chaplin/chaplin-genmenu chaplin/chaplin diff --git a/media-video/chaplin/files/chaplin-1.10-libdvdread-0.9.6.patch b/media-video/chaplin/files/chaplin-1.10-libdvdread-0.9.6.patch new file mode 100644 index 000000000000..7e68dd67a692 --- /dev/null +++ b/media-video/chaplin/files/chaplin-1.10-libdvdread-0.9.6.patch @@ -0,0 +1,11 @@ +diff -N -u -r chaplin/chaplin.c chaplin-new/chaplin.c +--- chaplin/chaplin.c 2004-03-21 18:45:44.000000000 +0100 ++++ chaplin-new/chaplin.c 2006-06-29 22:36:54.457745979 +0200 +@@ -18,6 +18,7 @@ + #include <ctype.h> + #include <string.h> + #include <math.h> ++#include <inttypes.h> + + /* libdvdread stuff */ + #include <dvdread/dvd_reader.h> diff --git a/media-video/chaplin/metadata.xml b/media-video/chaplin/metadata.xml new file mode 100644 index 000000000000..cf110aee8d08 --- /dev/null +++ b/media-video/chaplin/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>media-video@gentoo.org</email> + </maintainer> + <use> + <flag name="transcode">Enable DVD ripping and transcoding</flag> + </use> +</pkgmetadata> |