1 |
commit: 14de73d6ad30dd69cb1eee16eeedf96792c98a56 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 28 17:56:34 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 28 19:41:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14de73d6 |
7 |
|
8 |
media-libs/mlt: Fix installing Python & Ruby files |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
media-libs/mlt/mlt-6.16.0-r1.ebuild | 9 ++++----- |
13 |
media-libs/mlt/mlt-6.16.0-r2.ebuild | 9 ++++----- |
14 |
2 files changed, 8 insertions(+), 10 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/mlt/mlt-6.16.0-r1.ebuild b/media-libs/mlt/mlt-6.16.0-r1.ebuild |
17 |
index 76fc970c222..dc4435ed360 100644 |
18 |
--- a/media-libs/mlt/mlt-6.16.0-r1.ebuild |
19 |
+++ b/media-libs/mlt/mlt-6.16.0-r1.ebuild |
20 |
@@ -209,17 +209,16 @@ src_install() { |
21 |
|
22 |
if use python; then |
23 |
cd "${S}"/src/swig/python || die |
24 |
- insinto $(python_get_sitedir) |
25 |
- doins mlt.py |
26 |
- exeinto $(python_get_sitedir) |
27 |
- doexe _mlt.so |
28 |
+ python_domodule mlt.py _mlt.so |
29 |
+ chmod +x "${D}$(python_get_sitedir)/_mlt.so" || die |
30 |
dodoc play.py |
31 |
python_optimize |
32 |
fi |
33 |
|
34 |
if use ruby; then |
35 |
cd "${S}"/src/swig/ruby || die |
36 |
- exeinto $("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]') |
37 |
+ local rubydir=$("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]') |
38 |
+ exeinto "${rubydir#${EPREFIX}}" |
39 |
doexe mlt.so |
40 |
dodoc play.rb thumbs.rb |
41 |
fi |
42 |
|
43 |
diff --git a/media-libs/mlt/mlt-6.16.0-r2.ebuild b/media-libs/mlt/mlt-6.16.0-r2.ebuild |
44 |
index 31ed25573ff..f509af5ceed 100644 |
45 |
--- a/media-libs/mlt/mlt-6.16.0-r2.ebuild |
46 |
+++ b/media-libs/mlt/mlt-6.16.0-r2.ebuild |
47 |
@@ -209,17 +209,16 @@ src_install() { |
48 |
|
49 |
if use python; then |
50 |
cd "${S}"/src/swig/python || die |
51 |
- insinto $(python_get_sitedir) |
52 |
- doins mlt.py |
53 |
- exeinto $(python_get_sitedir) |
54 |
- doexe _mlt.so |
55 |
+ python_domodule mlt.py _mlt.so |
56 |
+ chmod +x "${D}$(python_get_sitedir)/_mlt.so" || die |
57 |
dodoc play.py |
58 |
python_optimize |
59 |
fi |
60 |
|
61 |
if use ruby; then |
62 |
cd "${S}"/src/swig/ruby || die |
63 |
- exeinto $("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]') |
64 |
+ local rubydir=$("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]') |
65 |
+ exeinto "${rubydir#${EPREFIX}}" |
66 |
doexe mlt.so |
67 |
dodoc play.rb thumbs.rb |
68 |
fi |