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/libopenshot/
Date: Thu, 03 Dec 2020 15:42:59
Message-Id: 1607010153.4979ca95e241f6a8c370609f9ff25a2e414509b3.asturm@gentoo
1 commit: 4979ca95e241f6a8c370609f9ff25a2e414509b3
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 28 16:50:39 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 3 15:42:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4979ca95
7
8 media-libs/libopenshot: Drop 0.2.2
9
10 Package-Manager: Portage-3.0.10, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-libs/libopenshot/Manifest | 1 -
14 media-libs/libopenshot/libopenshot-0.2.2.ebuild | 87 -------------------------
15 2 files changed, 88 deletions(-)
16
17 diff --git a/media-libs/libopenshot/Manifest b/media-libs/libopenshot/Manifest
18 index 12ce0990164..2d924e78471 100644
19 --- a/media-libs/libopenshot/Manifest
20 +++ b/media-libs/libopenshot/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST libopenshot-0.2.2.tar.gz 11037768 BLAKE2B c307e41bf17d40ae421a541bbdf4cd53c6ef4d97041a476c6910bd156c10815aa5a5811813b24fdc472401516f29cf8cb68fbda17a0b434767c3f3aa63d6f222 SHA512 b89189e57e82da68a063417bba9c94704c04b0546c0aed227daa23a794eee56341a05988d8e28dbd339edfcdeeaed48103b347060eccf94f32fe1a4bf23d6553
23 DIST libopenshot-0.2.4.tar.gz 10295888 BLAKE2B 2967f1faa56090355255e24c0367a4171af7433c53eab303c9d88432174d03879ae9fd2e6904e614ea6ba210e0c72c401cab95a1d2aa93ddd2cea2b861e985ce SHA512 6824ad22e81814b6427a4cb6489e5b893be264b5afa6e54287cd649f244f86b938c1b1d56280c1f49af65fa118d056d204bd39bc5b2ccdc10376d2df2f33a352
24 DIST libopenshot-0.2.4_pre20190609.tar.gz 10268173 BLAKE2B 01e07c0a7c051b5804f24fab1bfb920862a165ef14d3fdd020430b9e3a47858842c8cab3408ba0d161cb15cc6e90531a3b5df9ad327a01f414ff2e7e392fc243 SHA512 bf8c06aba6a899cb1ca6fbe9ac89fc859083b03175338c04af8dce68698f4ac78eac0b5b594e2b02390cd5e64576445b1c95324b254a267506353bed97ca16d1
25 DIST libopenshot-0.2.5.tar.gz 10295768 BLAKE2B 19205c4f02d8b863b48e920164302853c7a505893783161e6a146e7a9728cefa19d4e48bc82b862e920967f110988ac28f5f495912efabbbacc98f55ebb51856 SHA512 b7cdf72897e6edaa8cc00e17dbe30f5b22a6b5d69aab64ddafb184458b41ef0332db1f3e2c6f039492bf7adb521d9758834d0bf6c24e6421a55970d8cf8caba7
26
27 diff --git a/media-libs/libopenshot/libopenshot-0.2.2.ebuild b/media-libs/libopenshot/libopenshot-0.2.2.ebuild
28 deleted file mode 100644
29 index 36281237c36..00000000000
30 --- a/media-libs/libopenshot/libopenshot-0.2.2.ebuild
31 +++ /dev/null
32 @@ -1,87 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -PYTHON_COMPAT=( python3_6 )
38 -
39 -inherit cmake-utils python-single-r1 toolchain-funcs versionator
40 -
41 -DESCRIPTION="Video editing library used by OpenShot"
42 -HOMEPAGE="http://www.openshotvideo.com/"
43 -SRC_URI="https://github.com/OpenShot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="GPL-3"
46 -SLOT="0"
47 -KEYWORDS="amd64 x86"
48 -IUSE="+imagemagick +python test"
49 -# https://github.com/OpenShot/libopenshot/issues/43
50 -RESTRICT="test"
51 -
52 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
53 -
54 -RDEPEND="
55 - net-libs/cppzmq
56 - dev-qt/qtcore:5
57 - dev-qt/qtgui:5
58 - dev-qt/qtmultimedia:5[widgets]
59 - >=media-libs/libopenshot-audio-0.1.4
60 - imagemagick? ( >=media-gfx/imagemagick-7:0=[cxx] )
61 - media-video/ffmpeg:0=[encode,x264,xvid,vpx,mp3,theora]
62 - python? ( ${PYTHON_DEPS} )
63 -"
64 -DEPEND="
65 - ${RDEPEND}
66 - python? ( dev-lang/swig )
67 - test? ( dev-libs/unittest++ )
68 -"
69 -
70 -# From Mageia
71 -# https://github.com/OpenShot/libopenshot/issues/60
72 -PATCHES=( ${FILESDIR}/${PN}-0.2.2-imagemagick7.patch )
73 -
74 -check_compiler() {
75 - if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then
76 - eerror "${P} requires a compiler with OpenMP support. Your current"
77 - eerror "compiler does not support it. If you use gcc, you can"
78 - eerror "re-emerge it with the 'openmp' use flag enabled."
79 - die "The current compiler does not support OpenMP"
80 - fi
81 -}
82 -
83 -pkg_pretend() {
84 - check_compiler
85 -}
86 -
87 -pkg_setup() {
88 - check_compiler
89 - use python && python-single-r1_pkg_setup
90 -}
91 -
92 -src_prepare() {
93 - cmake-utils_src_prepare
94 - # https://github.com/OpenShot/libopenshot/issues/17
95 - use test || cmake_comment_add_subdirectory tests
96 -}
97 -
98 -src_configure() {
99 - local mycmakeargs=(
100 - -DENABLE_RUBY=OFF # TODO: add ruby support
101 - -DENABLE_PYTHON=$(usex python)
102 - $(cmake-utils_use_find_package imagemagick ImageMagick)
103 - )
104 - use python && mycmakeargs+=(
105 - -DPYTHON_EXECUTABLE="${PYTHON}"
106 - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
107 - -DPYTHON_LIBRARY="$(python_get_library_path)"
108 - )
109 - cmake-utils_src_configure
110 -}
111 -
112 -src_test() {
113 - cmake-utils_src_make test
114 -}
115 -
116 -src_install() {
117 - cmake-utils_src_install
118 - python_optimize
119 -}