diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-cdr/dvdshrink | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-cdr/dvdshrink')
-rw-r--r-- | app-cdr/dvdshrink/Manifest | 4 | ||||
-rw-r--r-- | app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild | 42 | ||||
-rw-r--r-- | app-cdr/dvdshrink/files/dvdshrink-2.6.1_p10-fix-paths.patch | 22 | ||||
-rw-r--r-- | app-cdr/dvdshrink/metadata.xml | 12 |
4 files changed, 80 insertions, 0 deletions
diff --git a/app-cdr/dvdshrink/Manifest b/app-cdr/dvdshrink/Manifest new file mode 100644 index 000000000000..9e0bf01a1b2c --- /dev/null +++ b/app-cdr/dvdshrink/Manifest @@ -0,0 +1,4 @@ +AUX dvdshrink-2.6.1_p10-fix-paths.patch 793 BLAKE2B 7bca779d2e17ed4388dfdf8e6798bf11111a3a25c3bac722f0a5e428b703ccaaad0cd83f8e906d5ed17d123745d073f12d83c130f03fbf38d8a13f981b85cf5f SHA512 8302a9e62b57346a107857c3c3b7095c5838771919b16d4f248c03582100fbb9ab3d55aafbe8b3a911dc1fa89c746a438a9da60ca77af7419068c5bafb9816a3 +DIST dvdshrink-2.6.1-10mdk.tar.gz 1087571 BLAKE2B a45427483b5519ee7abbc787e7afea2f9edcb49f8f6a15843184e7c62e51f7ebb18ad1db35ea695004eda9763dfc9b2a5522b7b4c279a2b63a71b96d091ffe37 SHA512 6766f95bd2bb29ef0877d9b22bc45eb2c508ad2d1a7bb99f84b3f858987fc098a696f15f953efe006bf9556a73f6aa0e6247afcdf8e4c5dad826ddba97f02c06 +EBUILD dvdshrink-2.6.1_p10.ebuild 1057 BLAKE2B f01d636320244c7ee4bf287a376bb8afa4e1d436501fd8ff590e0412fe6ae6e8d8155f94246bcd2c81c9f407eefb90214db7cbc8bd7f62a48e1a85d2eb438f04 SHA512 9b093d7c68411904176f8884c1aeb579a0b56f7c3d8ee8b2c93c032c446ac51f0d175a80c816a53d451918969c939eb2cf7832cfa4edb8aaf846e62097c5c0e6 +MISC metadata.xml 427 BLAKE2B 0d25c5f4c9d81b6c2e3fefb76d87d1df9e975455fe0d55b241b43549cedde20ff538cff1472121c3a21f9e176a233b69890cd60e55e50018819467192aa4bb53 SHA512 c0a8f2ce1679df431c652810e91285db1f1602a281b432c0dfe5e013ff3d25c22ab23852991a0fdb9cbccbebc5d07d61cce10ffb235012cb0b0b064219d5391c diff --git a/app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild b/app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild new file mode 100644 index 000000000000..c7e5f5c4269e --- /dev/null +++ b/app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop + +DESCRIPTION="Scriptable DVD copy software" +HOMEPAGE="http://dvdshrink.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P/_p/-}mdk.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gtk" + +RDEPEND=">=media-video/transcode-1.0.2-r2[dvd] + >=media-video/mjpegtools-1.8.0-r1 + >=media-video/subtitleripper-0.3.4-r1 + >=media-video/dvdauthor-0.6.11 + >=app-cdr/dvd+rw-tools-6.1 + gtk? ( >=dev-perl/Gtk2-1.104 ) + >=app-text/gocr-0.40 + virtual/cdrtools" +DEPEND="" + +S=${WORKDIR}/${PN} +PATCHES=( "${FILESDIR}"/${PN}-2.6.1_p10-fix-paths.patch ) + +src_install() { + dobin usr/bin/{batchrip.sh,dvds{functions,hrink}} + + use gtk && dobin usr/bin/xdvdshrink.pl + + insinto /usr/share + doins -r usr/share/applications/dvdshrink + + dodoc usr/share/doc/dvdshrink/{batchrip.txt,example.xml,README.txt} + + doicon usr/share/icons/{batchrip.xpm,dvdshrink.xpm} + use gtk && make_desktop_entry xdvdshrink.pl xDVDShrink ${PN} AudioVideo +} diff --git a/app-cdr/dvdshrink/files/dvdshrink-2.6.1_p10-fix-paths.patch b/app-cdr/dvdshrink/files/dvdshrink-2.6.1_p10-fix-paths.patch new file mode 100644 index 000000000000..8acbb70073e0 --- /dev/null +++ b/app-cdr/dvdshrink/files/dvdshrink-2.6.1_p10-fix-paths.patch @@ -0,0 +1,22 @@ +--- a/usr/bin/dvdsfunctions ++++ b/usr/bin/dvdsfunctions +@@ -1933,7 +1933,7 @@ + if ! ((`ps -C xdvdshrink.pl > /dev/null 2>&1`)); then GUI=1; fi + SAVEISO=0 # Save an ISO along with the burn(s) + +- APPDIR=/usr/share/applications/dvdshrink ++ APPDIR=/usr/share/dvdshrink + } + + # Build a minimal but usable XML file for 'dvdauthor' +--- a/usr/bin/xdvdshrink.pl ++++ b/usr/bin/xdvdshrink.pl +@@ -22,7 +22,7 @@ + + my $login = getlogin || getpwuid($<); # Userid of current user + my $homedir = "/home/" . $login; # Home dir of current user +-my $app_dir = "/usr/share/applications/dvdshrink"; ++my $app_dir = "/usr/share/dvdshrink"; + my $false = 0; # A 'false' + my $true = 1; # A 'true' + my $srunning = 0; # Is the bash script running diff --git a/app-cdr/dvdshrink/metadata.xml b/app-cdr/dvdshrink/metadata.xml new file mode 100644 index 000000000000..51dfd57f535a --- /dev/null +++ b/app-cdr/dvdshrink/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription> +XDVDShrink is a project in BASH and Perl-Gtk2 that allows you to create fair-use +archival copies of DVD content on single-layer writable DVDs. +</longdescription> + <upstream> + <remote-id type="sourceforge">dvdshrink</remote-id> + </upstream> +</pkgmetadata> |