Line
Link Here
|
0 |
-- a/media-libs/mlt/mlt-6.16.0-r2.ebuild |
0 |
++ b/media-libs/mlt/mlt-6.16.0-r2.ebuild |
Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
EAPI=7 |
4 |
EAPI=7 |
5 |
|
5 |
|
6 |
PYTHON_COMPAT=( python3_{6,7} ) |
6 |
PYTHON_COMPAT=( python2_7 python3_{6,7} ) |
7 |
# this ebuild currently only supports installing ruby bindings for a single ruby version |
7 |
# this ebuild currently only supports installing ruby bindings for a single ruby version |
8 |
# so USE_RUBY must contain only a single value (the latest stable) as the ebuild calls |
8 |
# so USE_RUBY must contain only a single value (the latest stable) as the ebuild calls |
9 |
# /usr/bin/${USE_RUBY} directly |
9 |
# /usr/bin/${USE_RUBY} directly |
Lines 112-119
src_prepare() {
Link Here
|
112 |
|
112 |
|
113 |
sed -i -e "s/env ruby/${USE_RUBY}/" src/swig/ruby/* || die |
113 |
sed -i -e "s/env ruby/${USE_RUBY}/" src/swig/ruby/* || die |
114 |
|
114 |
|
115 |
# fix python3 include dir |
115 |
# fix python include dir |
116 |
sed -i -e 's/python{}.{}/python{}.{}m/' src/swig/python/build || die |
116 |
if use python; then |
|
|
117 |
python_export PYTHON_INCLUDEDIR |
118 |
sed -e "/PYTHON_INCLUDE=/s:=.*:=${PYTHON_INCLUDEDIR}:" \ |
119 |
-i src/swig/python/build || die |
120 |
fi |
117 |
} |
121 |
} |
118 |
|
122 |
|
119 |
src_configure() { |
123 |
src_configure() { |