Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/streamdvd/, media-video/streamdvd/files/
Date: Sun, 27 Oct 2019 13:13:54
Message-Id: 1572181970.a798af66cf18f6f929ddaa3944d38dc0440bb62a.sping@gentoo
1 commit: a798af66cf18f6f929ddaa3944d38dc0440bb62a
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 27 13:10:15 2019 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 27 13:12:50 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a798af66
7
8 media-video/streamdvd: EAPI 7
9
10 Bug: https://bugs.gentoo.org/697264
11 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
12 Package-Manager: Portage-2.3.78, Repoman-2.3.16
13
14 .../streamdvd/files/streamdvd-0.4-gcc43.patch | 24 +++++++++----------
15 media-video/streamdvd/files/streamdvd-0.4.patch | 8 +++----
16 ...amdvd-0.4-r1.ebuild => streamdvd-0.4-r2.ebuild} | 27 +++++++++++-----------
17 3 files changed, 29 insertions(+), 30 deletions(-)
18
19 diff --git a/media-video/streamdvd/files/streamdvd-0.4-gcc43.patch b/media-video/streamdvd/files/streamdvd-0.4-gcc43.patch
20 index 89e33f58db4..5c52498af5c 100644
21 --- a/media-video/streamdvd/files/streamdvd-0.4-gcc43.patch
22 +++ b/media-video/streamdvd/files/streamdvd-0.4-gcc43.patch
23 @@ -1,6 +1,6 @@
24 -diff -aur mplex.old/inputstrm.cpp mplex/inputstrm.cpp
25 ---- mplex.old/inputstrm.cpp 2004-03-08 23:10:53.000000000 +0100
26 -+++ mplex/inputstrm.cpp 2008-07-07 23:28:19.000000000 +0200
27 +diff -aur a/mplex/inputstrm.cpp b/mplex/inputstrm.cpp
28 +--- a/mplex/inputstrm.cpp 2004-03-08 23:10:53.000000000 +0100
29 ++++ b/mplex/inputstrm.cpp 2008-07-07 23:28:19.000000000 +0200
30 @@ -23,6 +23,7 @@
31
32 #include "config.h"
33 @@ -9,9 +9,9 @@ diff -aur mplex.old/inputstrm.cpp mplex/inputstrm.cpp
34
35 #include "mjpeg_types.h"
36 #include "fastintfns.h"
37 -diff -aur mplex.old/multiplexor.cpp mplex/multiplexor.cpp
38 ---- mplex.old/multiplexor.cpp 2004-03-08 23:10:53.000000000 +0100
39 -+++ mplex/multiplexor.cpp 2008-07-07 23:28:19.000000000 +0200
40 +diff -aur a/mplex/multiplexor.cpp b/mplex/multiplexor.cpp
41 +--- a/mplex/multiplexor.cpp 2004-03-08 23:10:53.000000000 +0100
42 ++++ b/mplex/multiplexor.cpp 2008-07-07 23:28:19.000000000 +0200
43 @@ -22,6 +22,7 @@
44 #include "config.h"
45 #include <math.h>
46 @@ -20,9 +20,9 @@ diff -aur mplex.old/multiplexor.cpp mplex/multiplexor.cpp
47
48 #include "mjpeg_types.h"
49 #include "mjpeg_logging.h"
50 -diff -aur mplex.old/padstrm.cpp mplex/padstrm.cpp
51 ---- mplex.old/padstrm.cpp 2004-03-08 23:10:53.000000000 +0100
52 -+++ mplex/padstrm.cpp 2008-07-07 23:28:19.000000000 +0200
53 +diff -aur a/mplex/padstrm.cpp b/mplex/padstrm.cpp
54 +--- a/mplex/padstrm.cpp 2004-03-08 23:10:53.000000000 +0100
55 ++++ b/mplex/padstrm.cpp 2008-07-07 23:28:19.000000000 +0200
56 @@ -25,6 +25,7 @@
57 #endif
58
59 @@ -31,9 +31,9 @@ diff -aur mplex.old/padstrm.cpp mplex/padstrm.cpp
60
61
62
63 -diff -aur mplex.old/zalphastrm_in.cpp mplex/zalphastrm_in.cpp
64 ---- mplex.old/zalphastrm_in.cpp 2004-03-08 23:10:53.000000000 +0100
65 -+++ mplex/zalphastrm_in.cpp 2008-07-07 23:28:19.000000000 +0200
66 +diff -aur a/mplex/zalphastrm_in.cpp b/mplex/zalphastrm_in.cpp
67 +--- a/mplex/zalphastrm_in.cpp 2004-03-08 23:10:53.000000000 +0100
68 ++++ b/mplex/zalphastrm_in.cpp 2008-07-07 23:28:19.000000000 +0200
69 @@ -23,6 +23,7 @@
70 #include "config.h"
71 #include <math.h>
72
73 diff --git a/media-video/streamdvd/files/streamdvd-0.4.patch b/media-video/streamdvd/files/streamdvd-0.4.patch
74 index d078aa7059a..693a4070f61 100644
75 --- a/media-video/streamdvd/files/streamdvd-0.4.patch
76 +++ b/media-video/streamdvd/files/streamdvd-0.4.patch
77 @@ -1,5 +1,5 @@
78 ---- Gui/StreamDVD/Gui.pm.orig 2004-03-08 23:10:53.000000000 +0100
79 -+++ Gui/StreamDVD/Gui.pm 2004-05-30 13:24:38.342490078 +0200
80 +--- a/Gui/StreamDVD/Gui.pm 2004-03-08 23:10:53.000000000 +0100
81 ++++ b/Gui/StreamDVD/Gui.pm 2004-05-30 13:24:38.342490078 +0200
82 @@ -18,7 +18,7 @@
83 use Tk::BrowseEntry;
84 use Tk::LabFrame;
85 @@ -9,8 +9,8 @@
86 use StreamDVD::Defs;
87 use StreamDVD::Calc;
88 use strict;
89 ---- Gui/StreamDVD/Config.pm.orig 2004-03-08 23:10:53.000000000 +0100
90 -+++ Gui/StreamDVD/Config.pm 2004-05-30 13:24:28.314195864 +0200
91 +--- a/Gui/StreamDVD/Config.pm 2004-03-08 23:10:53.000000000 +0100
92 ++++ b/Gui/StreamDVD/Config.pm 2004-05-30 13:24:28.314195864 +0200
93 @@ -284,7 +284,7 @@
94 $self->{MOUNT} = "/dvd";
95 $self->{TEMPDIR} = "/tmp";
96
97 diff --git a/media-video/streamdvd/streamdvd-0.4-r1.ebuild b/media-video/streamdvd/streamdvd-0.4-r2.ebuild
98 similarity index 71%
99 rename from media-video/streamdvd/streamdvd-0.4-r1.ebuild
100 rename to media-video/streamdvd/streamdvd-0.4-r2.ebuild
101 index 531705d009b..9c889d779a0 100644
102 --- a/media-video/streamdvd/streamdvd-0.4-r1.ebuild
103 +++ b/media-video/streamdvd/streamdvd-0.4-r2.ebuild
104 @@ -1,7 +1,7 @@
105 # Copyright 1999-2019 Gentoo Authors
106 # Distributed under the terms of the GNU General Public License v2
107
108 -EAPI=0
109 +EAPI=7
110
111 inherit eutils toolchain-funcs
112
113 @@ -23,22 +23,22 @@ DEPEND="media-libs/libdvdread
114 >=media-video/dvdauthor-0.6.5
115 >=app-cdr/dvd+rw-tools-5.13.4.7.4 )"
116
117 -S=${WORKDIR}/StreamDVD-${PV}
118 +S="${WORKDIR}"/StreamDVD-${PV}
119
120 -src_unpack() {
121 - unpack ${A}
122 - cd "${S}"
123 - use X && epatch "${FILESDIR}"/${P}.patch
124 +src_prepare() {
125 + use X && eapply "${FILESDIR}"/${P}.patch
126
127 - epatch "${FILESDIR}"/${P}-makefile.patch
128 - epatch "${FILESDIR}"/${P}-gcc41.patch
129 - epatch "${FILESDIR}"/${P}-libdvdread.patch
130 - epatch "${FILESDIR}"/${P}-gcc43.patch
131 - epatch "${FILESDIR}"/${P}-gcc44.patch
132 + eapply "${FILESDIR}"/${P}-makefile.patch
133 + eapply "${FILESDIR}"/${P}-gcc41.patch
134 + eapply "${FILESDIR}"/${P}-libdvdread.patch
135 + eapply "${FILESDIR}"/${P}-gcc43.patch
136 + eapply "${FILESDIR}"/${P}-gcc44.patch
137 +
138 + eapply_user
139 }
140
141 src_compile() {
142 - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all addon || die # compile also optional packages
143 + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all addon # compile also optional packages
144 }
145
146 src_install() {
147 @@ -48,8 +48,7 @@ src_install() {
148 newdoc contrib/lsdvd/AUTHORS AUTHORS.lsdvd
149 newdoc contrib/lsdvd/README README.lsdvd
150 newdoc contrib/StreamAnalyze/README README.streamanalyze
151 - if use X
152 - then
153 + if use X; then
154 eval `perl '-V:installvendorlib'`
155 insinto "$installvendorlib/StreamDVD"
156 doins Gui/StreamDVD/*.pm