diff options
Diffstat (limited to 'media-libs/mlt/mlt-6.16.0-r2.ebuild')
-rw-r--r-- | media-libs/mlt/mlt-6.16.0-r2.ebuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/media-libs/mlt/mlt-6.16.0-r2.ebuild b/media-libs/mlt/mlt-6.16.0-r2.ebuild index 31ed25573ff9..2046009e1216 100644 --- a/media-libs/mlt/mlt-6.16.0-r2.ebuild +++ b/media-libs/mlt/mlt-6.16.0-r2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/mltframework/${PN}/releases/download/v${PV}/${P}.tar LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm64 x86 ~amd64-linux ~x86-linux" IUSE="compressed-lumas cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 debug ffmpeg fftw frei0r gtk jack kdenlive kernel_linux libav libsamplerate lua melt opencv opengl python qt5 rtaudio ruby sdl vdpau vidstab xine xml" @@ -209,17 +209,16 @@ src_install() { if use python; then cd "${S}"/src/swig/python || die - insinto $(python_get_sitedir) - doins mlt.py - exeinto $(python_get_sitedir) - doexe _mlt.so + python_domodule mlt.py _mlt.so + chmod +x "${D}$(python_get_sitedir)/_mlt.so" || die dodoc play.py python_optimize fi if use ruby; then cd "${S}"/src/swig/ruby || die - exeinto $("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]') + local rubydir=$("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]') + exeinto "${rubydir#${EPREFIX}}" doexe mlt.so dodoc play.rb thumbs.rb fi |