From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6A97F15808B for ; Mon, 28 Feb 2022 04:31:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60903E0826; Mon, 28 Feb 2022 04:31:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0E5B3E0826 for ; Mon, 28 Feb 2022 04:31:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA136343458 for ; Mon, 28 Feb 2022 04:31:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07EAD2B0 for ; Mon, 28 Feb 2022 04:31:31 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1646020939.160f5f74c8f3c1f566fda7411fe3086f85a65ef6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/dvdrip/, media-video/dvdrip/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/dvdrip/dvdrip-0.98.11-r5.ebuild media-video/dvdrip/files/dvdrip-0.98.11-r5-fix_parallel_make.patch X-VCS-Directories: media-video/dvdrip/ media-video/dvdrip/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 160f5f74c8f3c1f566fda7411fe3086f85a65ef6 X-VCS-Branch: master Date: Mon, 28 Feb 2022 04:31:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a82e1732-b269-4f15-946e-ecd84a62d6ae X-Archives-Hash: 2c4ca64c4a8c5abaf288c4de0d6f55e3 commit: 160f5f74c8f3c1f566fda7411fe3086f85a65ef6 Author: Sam James gentoo org> AuthorDate: Mon Feb 28 04:02:19 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Feb 28 04:02:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=160f5f74 media-video/dvdrip: update EAPI 5 -> 8 Bug: https://bugs.gentoo.org/831130 Signed-off-by: Sam James gentoo.org> media-video/dvdrip/dvdrip-0.98.11-r5.ebuild | 86 ++++++++++++++++++++++ .../dvdrip-0.98.11-r5-fix_parallel_make.patch | 28 +++++++ 2 files changed, 114 insertions(+) diff --git a/media-video/dvdrip/dvdrip-0.98.11-r5.ebuild b/media-video/dvdrip/dvdrip-0.98.11-r5.ebuild new file mode 100644 index 000000000000..543fe8b80371 --- /dev/null +++ b/media-video/dvdrip/dvdrip-0.98.11-r5.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop flag-o-matic perl-module + +DESCRIPTION="dvd::rip is a graphical frontend for transcode" +HOMEPAGE="https://www.exit1.org/dvdrip/" +SRC_URI="https://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 + >=dev-perl/gtk2-ex-formfactory-0.65 + >=dev-perl/libintl-perl-1.16 + >=media-video/transcode-1.1.0[dvd,jpeg,mp3,ogg,vorbis] + virtual/imagemagick-tools + >=virtual/perl-podlators-2.5.3 +" +RDEPEND="${DEPEND} + x11-libs/gdk-pixbuf:2[jpeg] + x11-libs/gtk+:2 + ffmpeg? ( media-video/ffmpeg:0 ) + 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 +" + +DOCS=( "Changes*" Credits README TODO ) + +PATCHES=( + "${FILESDIR}"/${P}-r5-fix_parallel_make.patch +) + +src_prepare() { + # bug #333739 + sed -i -e 's:$(CC):$(CC) $(OTHERLDFLAGS):' src/Makefile || die + + default + + # Fix default device for >=udev-180, bug #224559 + sed -i -e 's:/dev/dvd:/dev/cdrom:' lib/Video/DVDRip/Config.pm || die +} + +src_configure() { + filter-flags -ftracer + + # bug #255269 + export SKIP_UNPACK_REQUIRED_MODULES=1 + + perl-module_src_configure +} + +src_install() { + newicon lib/Video/DVDRip/icon.xpm dvdrip.xpm + make_desktop_entry dvdrip dvd::rip + + 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 ${EROOT}/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-r5-fix_parallel_make.patch b/media-video/dvdrip/files/dvdrip-0.98.11-r5-fix_parallel_make.patch new file mode 100644 index 000000000000..ded1f69cd28b --- /dev/null +++ b/media-video/dvdrip/files/dvdrip-0.98.11-r5-fix_parallel_make.patch @@ -0,0 +1,28 @@ +http://bugs.gentoo.org/266739 + +--- a/src/Makefile ++++ b/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 +--- a/Makefile.PL ++++ b/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) ) + '; + } +