Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenshot/, media-libs/libopenshot/files/
Date: Sat, 13 Oct 2018 17:36:08
Message-Id: 1539452130.bad3fc7781b78f014469f8f8d278bdf305572cd6.pacho@gentoo
1 commit: bad3fc7781b78f014469f8f8d278bdf305572cd6
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 13 17:33:06 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 13 17:35:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad3fc77
7
8 media-libs/libopenshot: Drop old
9
10 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 media-libs/libopenshot/Manifest | 2 -
14 .../files/libopenshot-0.1.3-fix-tests.patch | 26 -------
15 media-libs/libopenshot/libopenshot-0.1.3.ebuild | 84 ----------------------
16 media-libs/libopenshot/libopenshot-0.1.7.ebuild | 83 ---------------------
17 4 files changed, 195 deletions(-)
18
19 diff --git a/media-libs/libopenshot/Manifest b/media-libs/libopenshot/Manifest
20 index be122d9c41a..d1299bd05fb 100644
21 --- a/media-libs/libopenshot/Manifest
22 +++ b/media-libs/libopenshot/Manifest
23 @@ -1,4 +1,2 @@
24 -DIST libopenshot-0.1.3.tar.gz 11019740 BLAKE2B a706889f709024300ef79518406da861111a8445b5ce23364b8492a72e74e7944c88ba9b4a29da356ca21500253d19e8c32abe7b5aaa0ac35bebec85e52ba970 SHA512 d59817505812868db408a88dc1d30b5b1833910f45dd0df03937110b7d4cbd85a270773008e75a1501f4b3b89a09ea798ed9b580755adf3ae79ac24d403f6982
25 -DIST libopenshot-0.1.7.tar.gz 11022594 BLAKE2B f3e0836ebb6dd89ce42085dc9d18dd3bce9ab3011550958bec41eead2c62b454459d219d2efeece1a43eb0536cb99866eaf9b478205d717da4c173e954772a46 SHA512 4c8871ff30c03a14766e35a64052695768311afd81ecc55598720ad146f53c122ef3b1293467670f7dd48da77bf6cb4f4f14a18c298a649b8827f901ed653709
26 DIST libopenshot-0.1.8.tar.gz 11019495 BLAKE2B a86994a09328e24705fe06ec3c47cbedb89815e6ec1440237dc58babfc066655f1c7dacc19257b02b645a9415c63cd4e0c1191fa452b7632cf531d98a1b073c3 SHA512 02630d7ce9fd378ad648d034622d4f971728a2074691d7facc8a36dcd52b87c1372dd5a9588c0ba852589105bdbf78941083fd6b1eb1bcc0a33d4ca49634162c
27 DIST libopenshot-0.2.2.tar.gz 11037768 BLAKE2B c307e41bf17d40ae421a541bbdf4cd53c6ef4d97041a476c6910bd156c10815aa5a5811813b24fdc472401516f29cf8cb68fbda17a0b434767c3f3aa63d6f222 SHA512 b89189e57e82da68a063417bba9c94704c04b0546c0aed227daa23a794eee56341a05988d8e28dbd339edfcdeeaed48103b347060eccf94f32fe1a4bf23d6553
28
29 diff --git a/media-libs/libopenshot/files/libopenshot-0.1.3-fix-tests.patch b/media-libs/libopenshot/files/libopenshot-0.1.3-fix-tests.patch
30 deleted file mode 100644
31 index 8ed3102b7ad..00000000000
32 --- a/media-libs/libopenshot/files/libopenshot-0.1.3-fix-tests.patch
33 +++ /dev/null
34 @@ -1,26 +0,0 @@
35 -diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
36 -index 29fbe45..ff67cb5 100644
37 ---- a/tests/CMakeLists.txt
38 -+++ b/tests/CMakeLists.txt
39 -@@ -24,16 +24,19 @@
40 - # along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
41 - ################################################################################
42 -
43 -+SET(TEST_MEDIA_PATH "${openshot_SOURCE_DIR}/src/examples/")
44 -
45 - ################ WINDOWS ##################
46 - # Set some compiler options for Windows
47 - # required for libopenshot-audio headers
48 - IF (WIN32)
49 -- STRING(REPLACE "/" "\\\\" TEST_MEDIA_PATH "${openshot_SOURCE_DIR}/src/examples/")
50 -- add_definitions( -DIGNORE_JUCE_HYPOT=1 -DTEST_MEDIA_PATH="${TEST_MEDIA_PATH}" )
51 -+ STRING(REPLACE "/" "\\\\" TEST_MEDIA_PATH TEST_MEDIA_PATH)
52 -+ add_definitions( -DIGNORE_JUCE_HYPOT=1 )
53 - SET(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -include cmath -std=c++0x")
54 - ENDIF(WIN32)
55 -
56 -+add_definitions( -DTEST_MEDIA_PATH="${TEST_MEDIA_PATH}" )
57 -+
58 - ################### UNITTEST++ #####################
59 - # Find UnitTest++ libraries (used for unit testing)
60 - FIND_PACKAGE(UnitTest++ REQUIRED)
61
62 diff --git a/media-libs/libopenshot/libopenshot-0.1.3.ebuild b/media-libs/libopenshot/libopenshot-0.1.3.ebuild
63 deleted file mode 100644
64 index cc13df34d2a..00000000000
65 --- a/media-libs/libopenshot/libopenshot-0.1.3.ebuild
66 +++ /dev/null
67 @@ -1,84 +0,0 @@
68 -# Copyright 1999-2017 Gentoo Foundation
69 -# Distributed under the terms of the GNU General Public License v2
70 -
71 -EAPI=6
72 -
73 -PYTHON_COMPAT=( python3_{4,5} )
74 -
75 -inherit cmake-utils python-single-r1 toolchain-funcs versionator
76 -
77 -DESCRIPTION="Video editing library used by OpenShot"
78 -HOMEPAGE="http://www.openshotvideo.com/"
79 -SRC_URI="https://github.com/OpenShot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
80 -
81 -LICENSE="GPL-3"
82 -SLOT="0"
83 -KEYWORDS="~amd64 ~x86"
84 -IUSE="+imagemagick libav +python test"
85 -# https://github.com/OpenShot/libopenshot/issues/43
86 -RESTRICT="test"
87 -
88 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
89 -
90 -RDEPEND="
91 - net-libs/cppzmq
92 - dev-qt/qtcore:5
93 - dev-qt/qtgui:5
94 - dev-qt/qtmultimedia:5[widgets]
95 - media-libs/libopenshot-audio
96 - imagemagick? ( media-gfx/imagemagick:0=[cxx] )
97 - libav? ( media-video/libav:=[encode,x264,xvid,vpx,mp3,theora] )
98 - !libav? ( media-video/ffmpeg:0=[encode,x264,xvid,vpx,mp3,theora] )
99 - python? ( ${PYTHON_DEPS} )
100 -"
101 -DEPEND="
102 - ${RDEPEND}
103 - python? ( dev-lang/swig )
104 - test? ( dev-libs/unittest++ )
105 -"
106 -
107 -# https://github.com/OpenShot/libopenshot/pull/45
108 -PATCHES=( ${FILESDIR}/${P}-fix-tests.patch )
109 -
110 -pkg_pretend() {
111 - if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then
112 - eerror "${P} requires a compiler with OpenMP support. Your current"
113 - eerror "compiler does not support it. If you use gcc, you can"
114 - eerror "re-emerge it with the 'openmp' use flag enabled."
115 - die "The current compiler does not support OpenMP"
116 - fi
117 -}
118 -
119 -pkg_setup() {
120 - use python && python-single-r1_pkg_setup
121 -}
122 -
123 -src_prepare() {
124 - # https://github.com/OpenShot/libopenshot/issues/17
125 - use test || cmake_comment_add_subdirectory tests
126 - cmake-utils_src_prepare
127 -}
128 -
129 -src_configure() {
130 - local mycmakeargs=(
131 - -DENABLE_RUBY=OFF # TODO: add ruby support
132 - -DENABLE_PYTHON=$(usex python)
133 - -DCMAKE_DISABLE_FIND_PACKAGE_ImageMagick=$(usex !imagemagick)
134 - )
135 - use python && mycmakeargs+=(
136 - -DPYTHON_EXECUTABLE="${PYTHON}"
137 - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
138 - -DPYTHON_LIBRARY="$(python_get_library_path)"
139 - )
140 - cmake-utils_src_configure
141 -}
142 -
143 -src_test() {
144 - cd "${BUILD_DIR}" || die
145 - emake test
146 -}
147 -
148 -src_install() {
149 - cmake-utils_src_install
150 - python_optimize
151 -}
152
153 diff --git a/media-libs/libopenshot/libopenshot-0.1.7.ebuild b/media-libs/libopenshot/libopenshot-0.1.7.ebuild
154 deleted file mode 100644
155 index 4f9643afa9b..00000000000
156 --- a/media-libs/libopenshot/libopenshot-0.1.7.ebuild
157 +++ /dev/null
158 @@ -1,83 +0,0 @@
159 -# Copyright 1999-2017 Gentoo Foundation
160 -# Distributed under the terms of the GNU General Public License v2
161 -
162 -EAPI=6
163 -
164 -PYTHON_COMPAT=( python3_{4,5,6} )
165 -
166 -inherit cmake-utils python-single-r1 toolchain-funcs versionator
167 -
168 -DESCRIPTION="Video editing library used by OpenShot"
169 -HOMEPAGE="http://www.openshotvideo.com/"
170 -SRC_URI="https://github.com/OpenShot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
171 -
172 -LICENSE="GPL-3"
173 -SLOT="0"
174 -KEYWORDS="~amd64 ~x86"
175 -IUSE="+imagemagick libav +python test"
176 -# https://github.com/OpenShot/libopenshot/issues/43
177 -RESTRICT="test"
178 -
179 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
180 -
181 -RDEPEND="
182 - net-libs/cppzmq
183 - dev-qt/qtcore:5
184 - dev-qt/qtgui:5
185 - dev-qt/qtmultimedia:5[widgets]
186 - media-libs/libopenshot-audio
187 - imagemagick? ( <media-gfx/imagemagick-7:0=[cxx] )
188 - libav? ( media-video/libav:=[encode,x264,xvid,vpx,mp3,theora] )
189 - !libav? ( media-video/ffmpeg:0=[encode,x264,xvid,vpx,mp3,theora] )
190 - python? ( ${PYTHON_DEPS} )
191 -"
192 -DEPEND="
193 - ${RDEPEND}
194 - python? ( dev-lang/swig )
195 - test? ( dev-libs/unittest++ )
196 -"
197 -
198 -# https://github.com/OpenShot/libopenshot/pull/45
199 -PATCHES=( ${FILESDIR}/${PN}-0.1.3-fix-tests.patch )
200 -
201 -pkg_pretend() {
202 - if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then
203 - eerror "${P} requires a compiler with OpenMP support. Your current"
204 - eerror "compiler does not support it. If you use gcc, you can"
205 - eerror "re-emerge it with the 'openmp' use flag enabled."
206 - die "The current compiler does not support OpenMP"
207 - fi
208 -}
209 -
210 -pkg_setup() {
211 - use python && python-single-r1_pkg_setup
212 -}
213 -
214 -src_prepare() {
215 - # https://github.com/OpenShot/libopenshot/issues/17
216 - use test || cmake_comment_add_subdirectory tests
217 - cmake-utils_src_prepare
218 -}
219 -
220 -src_configure() {
221 - local mycmakeargs=(
222 - -DENABLE_RUBY=OFF # TODO: add ruby support
223 - -DENABLE_PYTHON=$(usex python)
224 - -DCMAKE_DISABLE_FIND_PACKAGE_ImageMagick=$(usex !imagemagick)
225 - )
226 - use python && mycmakeargs+=(
227 - -DPYTHON_EXECUTABLE="${PYTHON}"
228 - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
229 - -DPYTHON_LIBRARY="$(python_get_library_path)"
230 - )
231 - cmake-utils_src_configure
232 -}
233 -
234 -src_test() {
235 - cmake-utils_src_make test
236 -}
237 -
238 -src_install() {
239 - cmake-utils_src_install
240 - python_optimize
241 -}