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: Fri, 01 Jan 2021 22:14:54
Message-Id: 1609539281.1a12bdb8f2e256eef02db2412f80552ff075f4de.asturm@gentoo
1 commit: 1a12bdb8f2e256eef02db2412f80552ff075f4de
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 22:07:09 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 22:14:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a12bdb8
7
8 media-libs/libopenshot: Drop 0.2.4
9
10 Package-Manager: Portage-3.0.12, 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.4.ebuild | 96 -------------------------
15 2 files changed, 97 deletions(-)
16
17 diff --git a/media-libs/libopenshot/Manifest b/media-libs/libopenshot/Manifest
18 index 2d924e78471..3d66306ec18 100644
19 --- a/media-libs/libopenshot/Manifest
20 +++ b/media-libs/libopenshot/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST libopenshot-0.2.4.tar.gz 10295888 BLAKE2B 2967f1faa56090355255e24c0367a4171af7433c53eab303c9d88432174d03879ae9fd2e6904e614ea6ba210e0c72c401cab95a1d2aa93ddd2cea2b861e985ce SHA512 6824ad22e81814b6427a4cb6489e5b893be264b5afa6e54287cd649f244f86b938c1b1d56280c1f49af65fa118d056d204bd39bc5b2ccdc10376d2df2f33a352
23 DIST libopenshot-0.2.4_pre20190609.tar.gz 10268173 BLAKE2B 01e07c0a7c051b5804f24fab1bfb920862a165ef14d3fdd020430b9e3a47858842c8cab3408ba0d161cb15cc6e90531a3b5df9ad327a01f414ff2e7e392fc243 SHA512 bf8c06aba6a899cb1ca6fbe9ac89fc859083b03175338c04af8dce68698f4ac78eac0b5b594e2b02390cd5e64576445b1c95324b254a267506353bed97ca16d1
24 DIST libopenshot-0.2.5.tar.gz 10295768 BLAKE2B 19205c4f02d8b863b48e920164302853c7a505893783161e6a146e7a9728cefa19d4e48bc82b862e920967f110988ac28f5f495912efabbbacc98f55ebb51856 SHA512 b7cdf72897e6edaa8cc00e17dbe30f5b22a6b5d69aab64ddafb184458b41ef0332db1f3e2c6f039492bf7adb521d9758834d0bf6c24e6421a55970d8cf8caba7
25
26 diff --git a/media-libs/libopenshot/libopenshot-0.2.4.ebuild b/media-libs/libopenshot/libopenshot-0.2.4.ebuild
27 deleted file mode 100644
28 index a8da723ee46..00000000000
29 --- a/media-libs/libopenshot/libopenshot-0.2.4.ebuild
30 +++ /dev/null
31 @@ -1,96 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{6,7} )
38 -
39 -inherit cmake python-single-r1 toolchain-funcs
40 -
41 -DESCRIPTION="Video editing library used by OpenShot"
42 -HOMEPAGE="https://www.openshot.org/"
43 -SRC_URI="https://github.com/OpenShot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="GPL-3+"
46 -SLOT="0/18"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="doc examples +imagemagick +python test"
49 -RESTRICT="!test? ( test )"
50 -
51 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
52 -
53 -RDEPEND="
54 - dev-libs/jsoncpp
55 - dev-qt/qtcore:5
56 - dev-qt/qtgui:5
57 - dev-qt/qtmultimedia:5[widgets]
58 - >=media-libs/libopenshot-audio-0.1.9:0=
59 - net-libs/cppzmq
60 - net-libs/zeromq
61 - imagemagick? ( >=media-gfx/imagemagick-7:0=[cxx] )
62 - media-video/ffmpeg:0=[encode,x264,xvid,vpx,mp3,theora]
63 - python? ( ${PYTHON_DEPS} )
64 -"
65 -DEPEND="${RDEPEND}"
66 -BDEPEND="
67 - doc? ( app-doc/doxygen )
68 - python? ( dev-lang/swig )
69 - test? ( dev-libs/unittest++ )
70 -"
71 -
72 -check_compiler() {
73 - if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then
74 - eerror "${P} requires a compiler with OpenMP support. Your current"
75 - eerror "compiler does not support it. If you use gcc, you can"
76 - eerror "re-emerge it with the 'openmp' use flag enabled."
77 - die "The current compiler does not support OpenMP"
78 - fi
79 -}
80 -
81 -pkg_pretend() {
82 - check_compiler
83 -}
84 -
85 -pkg_setup() {
86 - check_compiler
87 - use python && python-single-r1_pkg_setup
88 -}
89 -
90 -src_prepare() {
91 - cmake_src_prepare
92 - # https://github.com/OpenShot/libopenshot/issues/17
93 - use test || cmake_comment_add_subdirectory tests
94 -}
95 -
96 -src_configure() {
97 - local mycmakeargs=(
98 - -DENABLE_RUBY=OFF # TODO: add ruby support
99 - -DENABLE_PYTHON=$(usex python)
100 - -DUSE_SYSTEM_JSONCPP=ON
101 - $(cmake_use_find_package imagemagick ImageMagick)
102 - )
103 - use python && mycmakeargs+=(
104 - -DPYTHON_EXECUTABLE="${PYTHON}"
105 - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
106 - -DPYTHON_LIBRARY="$(python_get_library_path)"
107 - )
108 - cmake_src_configure
109 -}
110 -
111 -src_compile() {
112 - cmake_src_compile
113 - use doc && cmake_build doc
114 -}
115 -
116 -src_test() {
117 - cmake_build os_test
118 -}
119 -
120 -src_install() {
121 - local DOCS=( AUTHORS README.md doc/HW-ACCEL.md )
122 - use examples && DOCS+=( src/examples/ )
123 - use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
124 -
125 - cmake_src_install
126 - use python && python_optimize
127 -}