diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-video/dvdrip | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-video/dvdrip')
-rw-r--r-- | media-video/dvdrip/Manifest | 1 | ||||
-rw-r--r-- | media-video/dvdrip/dvdrip-0.98.11-r2.ebuild | 74 | ||||
-rw-r--r-- | media-video/dvdrip/files/dvdrip-0.98.11-fix_parallel_make.patch | 28 | ||||
-rw-r--r-- | media-video/dvdrip/metadata.xml | 12 |
4 files changed, 115 insertions, 0 deletions
diff --git a/media-video/dvdrip/Manifest b/media-video/dvdrip/Manifest new file mode 100644 index 000000000000..eaf4a3141763 --- /dev/null +++ b/media-video/dvdrip/Manifest @@ -0,0 +1 @@ +DIST dvdrip-0.98.11.tar.gz 2075302 SHA256 586c20968b2daa55c0afaaf334d5b9b8b6896d6ea45078a577e165806858c3a5 SHA512 8bb2e4cb72666ac3f7d1953e02ac868070503f00b05ea39b4961f54042088d07abd4ef020a9cefec11e96e965d84dd95d00288e7562d92551f480ccba88b9dce WHIRLPOOL f7c62a87a518944ebdb06dded99b71f563bbf6d95a0d62adfcb37b0faabf15bfe1b8900a8fcd4438d0c82fe038114fc717a40a80a2bfe94dd59f7530c388624e diff --git a/media-video/dvdrip/dvdrip-0.98.11-r2.ebuild b/media-video/dvdrip/dvdrip-0.98.11-r2.ebuild new file mode 100644 index 000000000000..e922eb4a29e4 --- /dev/null +++ b/media-video/dvdrip/dvdrip-0.98.11-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic perl-module + +DESCRIPTION="dvd::rip is a graphical frontend for transcode" +HOMEPAGE="http://www.exit1.org/dvdrip/" +SRC_URI="http://www.exit1.org/dvdrip/dist/${P}.tar.gz" + +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="ffmpeg fping mplayer ogg subtitles vcd vorbis xine xvid" + +DEPEND=">=dev-perl/Event-ExecFlow-0.64 + >=dev-perl/Event-RPC-0.89 + dev-perl/gtk2-perl + >=dev-perl/gtk2-ex-formfactory-0.65 + >=dev-perl/libintl-perl-1.16 + || ( media-gfx/graphicsmagick[imagemagick] media-gfx/imagemagick ) + >=media-video/transcode-1.1.0[dvd,jpeg,mp3,ogg,vorbis] + >=virtual/perl-podlators-2.5.3 +" +RDEPEND="${DEPEND} + x11-libs/gdk-pixbuf:2[jpeg] + x11-libs/gtk+:2 + ffmpeg? ( virtual/ffmpeg ) + fping? ( >=net-analyzer/fping-2.2 ) + mplayer? ( media-video/mplayer ) + ogg? ( media-sound/ogmtools ) + subtitles? ( media-video/subtitleripper ) + vcd? ( + media-video/transcode[mjpeg] + >=media-video/mjpegtools-1.6.0 + ) + vorbis? ( media-sound/vorbis-tools ) + xine? ( media-video/xine-ui ) + xvid? ( media-video/xvid4conf ) + >=media-video/lsdvd-0.15" + +pkg_setup() { + filter-flags -ftracer + export SKIP_UNPACK_REQUIRED_MODULES=1 #255269 + + perl_set_version +} + +src_prepare() { + sed -i -e 's:$(CC):$(CC) $(OTHERLDFLAGS):' src/Makefile || die #333739 + epatch "${FILESDIR}"/${P}-fix_parallel_make.patch + # Fix default device for >=udev-180 wrt #224559 + sed -i -e 's:/dev/dvd:/dev/cdrom:' lib/Video/DVDRip/Config.pm || die +} + +src_install() { + newicon lib/Video/DVDRip/icon.xpm dvdrip.xpm + make_desktop_entry dvdrip dvd::rip + + mydoc="Changes* Credits README TODO" perl-module_src_install +} + +pkg_postinst() { + # bug 173924 + if use fping; then + ewarn "For dvdrip-master to work correctly with cluster mode," + ewarn "the fping binary must be setuid." + ewarn "" + ewarn "Run this command to fix it:" + ewarn "chmod u=rwsx,g=rx,o=rx /usr/sbin/fping" + ewarn "" + ewarn "Note that this is a security risk when enabled." + fi +} diff --git a/media-video/dvdrip/files/dvdrip-0.98.11-fix_parallel_make.patch b/media-video/dvdrip/files/dvdrip-0.98.11-fix_parallel_make.patch new file mode 100644 index 000000000000..df766c07cbcc --- /dev/null +++ b/media-video/dvdrip/files/dvdrip-0.98.11-fix_parallel_make.patch @@ -0,0 +1,28 @@ +http://bugs.gentoo.org/266739 + +--- src/Makefile ++++ src/Makefile +@@ -3,10 +3,10 @@ + all: ../bin/dvdrip-splitpipe ../bin/dvdrip-progress + + ../bin/dvdrip-splitpipe: dvdrip-splitpipe.c +- $(CC) $(OTHERLDFLAGS) $(CFLAGS) -o dvdrip-splitpipe dvdrip-splitpipe.c && mv dvdrip-splitpipe ../bin ++ $(CC) $(OTHERLDFLAGS) $(CFLAGS) -o ../bin/dvdrip-splitpipe dvdrip-splitpipe.c + + ../bin/dvdrip-progress: dvdrip-progress.c +- $(CC) $(OTHERLDFLAGS) $(CFLAGS) -o dvdrip-progress dvdrip-progress.c && mv dvdrip-progress ../bin ++ $(CC) $(OTHERLDFLAGS) $(CFLAGS) -o ../bin/dvdrip-progress dvdrip-progress.c + + clean: + rm -f dvdrip-splitpipe ../bin/dvdrip-splitpipe dvdrip-progress ../bin/dvdrip-progress +--- Makefile.PL ++++ Makefile.PL +@@ -52,7 +52,7 @@ + sub MY::postamble { + ' + bin/dvdrip-splitpipe bin/dvdrip-progress: src/Makefile +- cd src && make ++ cd src && ( $(MAKE) CC=$(CC) ) + '; + } + diff --git a/media-video/dvdrip/metadata.xml b/media-video/dvdrip/metadata.xml new file mode 100644 index 000000000000..56992d03b50b --- /dev/null +++ b/media-video/dvdrip/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>video</herd> + <maintainer> + <email>media-video@gentoo.org</email> + </maintainer> + <use> + <flag name='fping'>Enables fping support for cluster rendering</flag> + <flag name='subtitles'>Enables support for subtitle ripping</flag> + </use> +</pkgmetadata> |