summaryrefslogtreecommitdiff
path: root/app-cdr/dvdshrink
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-30 01:11:30 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-30 01:11:30 +0000
commit76dfef0cec9170000357d2f354e412daf48941fc (patch)
tree56647120c0ee20ab3494475c86722034cd194b02 /app-cdr/dvdshrink
parentccf84bcd604130256d1377cd58f0a634ae6ee20f (diff)
gentoo resync : 30.12.2017
Diffstat (limited to 'app-cdr/dvdshrink')
-rw-r--r--app-cdr/dvdshrink/Manifest3
-rw-r--r--app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild19
-rw-r--r--app-cdr/dvdshrink/files/dvdshrink-2.6.1_p10-fix-paths.patch22
3 files changed, 31 insertions, 13 deletions
diff --git a/app-cdr/dvdshrink/Manifest b/app-cdr/dvdshrink/Manifest
index 07ae207abf64..9e0bf01a1b2c 100644
--- a/app-cdr/dvdshrink/Manifest
+++ b/app-cdr/dvdshrink/Manifest
@@ -1,3 +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 1201 BLAKE2B 15cb40bdc75f04b2ce1ec5eac1b95291de38ecd3d0dac9a83ba453c6c7b191e9562ed14967d440735786da115fb36fdec61f9b49e530daf087cd9a1e782e1f1c SHA512 e41f209bcf0e3adaa282568330005c02bb926e0c15b375b6de958d981fe80b10cad5f7cf3a083eeed9ab7d7855efce2896d3b98d1b136617de3405d73c58d9c7
+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
index 0dd1d1b19267..c7e5f5c4269e 100644
--- a/app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild
+++ b/app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
-inherit eutils
+EAPI=6
+
+inherit desktop
DESCRIPTION="Scriptable DVD copy software"
HOMEPAGE="http://dvdshrink.sourceforge.net"
@@ -24,21 +25,15 @@ RDEPEND=">=media-video/transcode-1.0.2-r2[dvd]
DEPEND=""
S=${WORKDIR}/${PN}
-
-src_prepare() {
- sed -e 's:applications/::g' -i usr/bin/dvdsfunctions \
- -i usr/bin/xdvdshrink.pl || die "sed failed."
-}
+PATCHES=( "${FILESDIR}"/${PN}-2.6.1_p10-fix-paths.patch )
src_install() {
- dobin usr/bin/{batchrip.sh,dvds{functions,hrink}} || die "dobin failed."
+ dobin usr/bin/{batchrip.sh,dvds{functions,hrink}}
- if use gtk; then
- dobin usr/bin/xdvdshrink.pl || die "dobin failed."
- fi
+ use gtk && dobin usr/bin/xdvdshrink.pl
insinto /usr/share
- doins -r usr/share/applications/dvdshrink || die "doins failed."
+ doins -r usr/share/applications/dvdshrink
dodoc usr/share/doc/dvdshrink/{batchrip.txt,example.xml,README.txt}
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