Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mlt/
Date: Wed, 30 Jan 2019 23:56:48
Message-Id: 1548892590.befef5463778e09a64f77b03098c286228e6f7c0.asturm@gentoo
1 commit: befef5463778e09a64f77b03098c286228e6f7c0
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 30 23:36:32 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 30 23:56:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=befef546
7
8 media-libs/mlt: Drop 6.10.0-r1
9
10 Package-Manager: Portage-2.3.59, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-libs/mlt/Manifest | 1 -
14 media-libs/mlt/mlt-6.10.0-r1.ebuild | 214 ------------------------------------
15 2 files changed, 215 deletions(-)
16
17 diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest
18 index 22521d2f15e..2dbaf9396a9 100644
19 --- a/media-libs/mlt/Manifest
20 +++ b/media-libs/mlt/Manifest
21 @@ -1,2 +1 @@
22 -DIST mlt-6.10.0.tar.gz 1384632 BLAKE2B 4bbcf95409df1ea1828d2b34e6d6663cf83f5672641034f775d029037505051c5490c46c69e104811aaf776794be2df95913d094319f4a2dbba0c42117abe15e SHA512 6f374f20f1dc851792c1075537cf7e977038fb557b2bd5d5816c1fc69d471947c8469c914cf662766f3b503ae819881bf2b4e1673e0f7a84309e0fb671a9de1b
23 DIST mlt-6.12.0.tar.gz 1395646 BLAKE2B 18dc06c4075d8d51bc7f62d027adda92c359275b9ad2131cc015b4402b1b7a9438fe87b617075017b9fd5e9696b82c4c840fa6dd83188bd0cedb7f01d2158283 SHA512 ed2cc0eeda45558ae6f1ec8780dfd413641953dc12dc32dccf655649f68f8e6088d39fefb7bef7bae042a41096976004446019d82ea162785bc487009cb97680
24
25 diff --git a/media-libs/mlt/mlt-6.10.0-r1.ebuild b/media-libs/mlt/mlt-6.10.0-r1.ebuild
26 deleted file mode 100644
27 index c17755dd369..00000000000
28 --- a/media-libs/mlt/mlt-6.10.0-r1.ebuild
29 +++ /dev/null
30 @@ -1,214 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -PYTHON_COMPAT=( python2_7 )
37 -# this ebuild currently only supports installing ruby bindings for a single ruby version
38 -# so USE_RUBY must contain only a single value (the latest stable) as the ebuild calls
39 -# /usr/bin/${USE_RUBY} directly
40 -USE_RUBY="ruby24"
41 -inherit python-single-r1 ruby-single toolchain-funcs
42 -
43 -DESCRIPTION="Open source multimedia framework for television broadcasting"
44 -HOMEPAGE="https://www.mltframework.org/"
45 -SRC_URI="https://github.com/mltframework/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 -
47 -LICENSE="GPL-3"
48 -SLOT="0"
49 -KEYWORDS="amd64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
50 -IUSE="compressed-lumas cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 debug ffmpeg fftw frei0r
51 -gtk jack kdenlive libav libsamplerate lua melt opencv opengl python qt5 rtaudio ruby sdl vdpau xine xml"
52 -# java perl php tcl vidstab
53 -IUSE="${IUSE} kernel_linux"
54 -
55 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
56 -
57 -#rtaudio will use OSS on non linux OSes
58 -RDEPEND="
59 - >=media-libs/libebur128-1.2.2
60 - ffmpeg? (
61 - libav? ( >=media-video/libav-12:0=[vdpau?] )
62 - !libav? ( media-video/ffmpeg:0=[vdpau?] )
63 - )
64 - fftw? ( sci-libs/fftw:3.0= )
65 - frei0r? ( media-plugins/frei0r-plugins )
66 - gtk? (
67 - media-libs/libexif
68 - x11-libs/gtk+:2
69 - x11-libs/pango
70 - )
71 - jack? (
72 - >=dev-libs/libxml2-2.5
73 - media-libs/ladspa-sdk
74 - virtual/jack
75 - )
76 - libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
77 - lua? ( >=dev-lang/lua-5.1.4-r4:= )
78 - opencv? ( >=media-libs/opencv-3.2.0:= )
79 - opengl? ( media-video/movit )
80 - python? ( ${PYTHON_DEPS} )
81 - qt5? (
82 - dev-qt/qtcore:5
83 - dev-qt/qtgui:5
84 - dev-qt/qtsvg:5
85 - dev-qt/qtwidgets:5
86 - dev-qt/qtxml:5
87 - media-libs/libexif
88 - x11-libs/libX11
89 - )
90 - rtaudio? (
91 - >=media-libs/rtaudio-4.1.2
92 - kernel_linux? ( media-libs/alsa-lib )
93 - )
94 - ruby? ( ${RUBY_DEPS} )
95 - sdl? (
96 - media-libs/libsdl2[X,opengl,video]
97 - media-libs/sdl2-image
98 - )
99 - xine? ( >=media-libs/xine-lib-1.1.2_pre20060328-r7 )
100 - xml? ( >=dev-libs/libxml2-2.5 )"
101 -# java? ( >=virtual/jre-1.5 )
102 -# perl? ( dev-lang/perl )
103 -# php? ( dev-lang/php )
104 -# sox? ( media-sound/sox )
105 -# tcl? ( dev-lang/tcl:0= )
106 -# vidstab? ( media-libs/libvidstab )
107 -SWIG_DEPEND=">=dev-lang/swig-2.0"
108 -DEPEND="${RDEPEND}
109 - virtual/pkgconfig
110 - compressed-lumas? ( virtual/imagemagick-tools[png] )
111 - lua? ( ${SWIG_DEPEND} virtual/pkgconfig )
112 - python? ( ${SWIG_DEPEND} )
113 - ruby? ( ${SWIG_DEPEND} )"
114 -# java? ( ${SWIG_DEPEND} >=virtual/jdk-1.5 )
115 -# perl? ( ${SWIG_DEPEND} )
116 -# php? ( ${SWIG_DEPEND} )
117 -# tcl? ( ${SWIG_DEPEND} )
118 -
119 -DOCS=( AUTHORS ChangeLog NEWS README docs/{framework,melt,mlt{++,-xml}}.txt )
120 -
121 -PATCHES=( "${FILESDIR}"/${P}-swig-underlinking.patch )
122 -
123 -pkg_setup() {
124 - use python && python-single-r1_pkg_setup
125 -}
126 -
127 -src_prepare() {
128 - default
129 -
130 - # respect CFLAGS LDFLAGS when building shared libraries. Bug #308873
131 - for x in python lua; do
132 - sed -i "/mlt.so/s: -lmlt++ :& ${CFLAGS} ${LDFLAGS} :" src/swig/$x/build || die
133 - done
134 - sed -i "/^LDFLAGS/s: += :& ${LDFLAGS} :" src/swig/ruby/build || die
135 -
136 - sed -i -e "s/env ruby/${USE_RUBY}/" src/swig/ruby/* || die
137 -}
138 -
139 -src_configure() {
140 - tc-export CC CXX
141 -
142 - local myconf=(
143 - --enable-gpl
144 - --enable-gpl3
145 - --enable-motion-est
146 - --target-arch=$(tc-arch)
147 - --disable-kde
148 - --disable-sdl
149 - --disable-swfdec
150 - $(use_enable debug)
151 - $(use compressed-lumas && echo ' --luma-compress')
152 - $(use_enable cpu_flags_x86_sse sse)
153 - $(use_enable cpu_flags_x86_sse2 sse2)
154 - $(use_enable gtk gtk2)
155 - $(use_enable jack jackrack)
156 - $(use_enable ffmpeg avformat)
157 - $(use ffmpeg && echo ' --avformat-swscale')
158 - $(use_enable fftw plus)
159 - $(use_enable frei0r)
160 - $(use_enable melt)
161 - $(use_enable opencv)
162 - $(use_enable opengl)
163 - $(use_enable libsamplerate resample)
164 - $(use_enable rtaudio)
165 - $(use vdpau && echo ' --avformat-vdpau')
166 - $(use_enable sdl sdl2)
167 - $(use_enable xml)
168 - $(use_enable xine)
169 - $(use_enable kdenlive)
170 - --disable-sox
171 - )
172 - #$(use_enable sox) FIXME
173 -
174 - if use qt5 ; then
175 - myconf+=(
176 - --enable-qt
177 - --qt-includedir=$(pkg-config Qt5Core --variable=includedir)
178 - --qt-libdir=$(pkg-config Qt5Core --variable=libdir)
179 - )
180 - else
181 - myconf+=( --disable-qt )
182 - fi
183 -
184 - if use x86 || use amd64 ; then
185 - myconf+=( $(use_enable cpu_flags_x86_mmx mmx) )
186 - else
187 - myconf+=( --disable-mmx )
188 - fi
189 -
190 - if ! use melt; then
191 - sed -i -e "s;src/melt;;" Makefile || die
192 - fi
193 -
194 - # TODO: add swig language bindings
195 - # see also https://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover
196 -
197 - local swig_lang
198 - # TODO: java perl php tcl
199 - for i in lua python ruby ; do
200 - use $i && swig_lang="${swig_lang} $i"
201 - done
202 - [[ -z "${swig_lang}" ]] && swig_lang="none"
203 -
204 - econf ${myconf[@]} --swig-languages="${swig_lang}"
205 -
206 - sed -i -e s/^OPT/#OPT/ "${S}/config.mak" || die
207 -}
208 -
209 -src_install() {
210 - emake DESTDIR="${D}" install
211 - einstalldocs
212 -
213 - dodir /usr/share/${PN}
214 - insinto /usr/share/${PN}
215 - doins -r demo
216 -
217 - docinto swig
218 -
219 - # Install SWIG bindings
220 - if use lua; then
221 - cd "${S}"/src/swig/lua || die
222 - exeinto $(pkg-config --variable INSTALL_CMOD lua)
223 - doexe mlt.so
224 - dodoc play.lua
225 - fi
226 -
227 - if use python; then
228 - cd "${S}"/src/swig/python || die
229 - insinto $(python_get_sitedir)
230 - doins mlt.py
231 - exeinto $(python_get_sitedir)
232 - doexe _mlt.so
233 - dodoc play.py
234 - python_optimize
235 - fi
236 -
237 - if use ruby; then
238 - cd "${S}"/src/swig/ruby || die
239 - exeinto $("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')
240 - doexe mlt.so
241 - dodoc play.rb thumbs.rb
242 - fi
243 - # TODO: java perl php tcl
244 -}