Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenshot/
Date: Wed, 26 Jul 2017 08:12:44
Message-Id: 1501056753.95fc510e49ad9bdc899d481eaf0b70aab8dce5f9.mgorny@gentoo
1 commit: 95fc510e49ad9bdc899d481eaf0b70aab8dce5f9
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Sat Jun 10 13:48:16 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 26 08:12:33 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95fc510e
7
8 media-libs/libopenshot: remove old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-libs/libopenshot/Manifest | 1 -
13 media-libs/libopenshot/libopenshot-0.1.2.ebuild | 82 -------------------------
14 2 files changed, 83 deletions(-)
15
16 diff --git a/media-libs/libopenshot/Manifest b/media-libs/libopenshot/Manifest
17 index b5be669e0ef..2b94907f7ac 100644
18 --- a/media-libs/libopenshot/Manifest
19 +++ b/media-libs/libopenshot/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST libopenshot-0.1.2.tar.gz 11012039 SHA256 f5b37250aaa4f7ca29727966b818d73d6a100d92dbb7bc5270ee332f820a3657 SHA512 a713b24c5925ea99f5b749e178a635dd30d1ed666d8a1195beaabd44fd4d8b4e5282ee0fda2fef58dc5db3e1a481f535902496128142c445082130a08841540e WHIRLPOOL 7902060db5e5d4ff4136057f33f0c6149827cfa9000bae70f7271ddabe608b5672caaa3dececb68517f4419b36ecd89fb718caa9823e214203fcfc1c648d5536
22 DIST libopenshot-0.1.3.tar.gz 11019740 SHA256 4a35318af4fbeeb0c658963275e8ec1edb985497ab9674d76eb02a1d72cbb64d SHA512 d59817505812868db408a88dc1d30b5b1833910f45dd0df03937110b7d4cbd85a270773008e75a1501f4b3b89a09ea798ed9b580755adf3ae79ac24d403f6982 WHIRLPOOL 31e7b7fe98e2709d1d88c6e2c39ceaa0b81c4f9a624ea9853ffd9b86771148e1bec808ec67192cede3578bc30860f8f5a878f67745d2d2ac9838ea93f01b628c
23 DIST libopenshot-0.1.7.tar.gz 11022594 SHA256 71cf5c18c76c36bec40c775cb98ab1ed672aa48d2de63a26c33c5cc5d6f0875a SHA512 4c8871ff30c03a14766e35a64052695768311afd81ecc55598720ad146f53c122ef3b1293467670f7dd48da77bf6cb4f4f14a18c298a649b8827f901ed653709 WHIRLPOOL 1730155af6b22ead4655e69c47df395566eb97dc66e5ec683ac2025130eded9060b515fd637b58de0254c4673adfbea1620a3253064f150fcb9bf9dfd492eb88
24
25 diff --git a/media-libs/libopenshot/libopenshot-0.1.2.ebuild b/media-libs/libopenshot/libopenshot-0.1.2.ebuild
26 deleted file mode 100644
27 index 0b11fdb0ed0..00000000000
28 --- a/media-libs/libopenshot/libopenshot-0.1.2.ebuild
29 +++ /dev/null
30 @@ -1,82 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -PYTHON_COMPAT=( python3_{4,5} )
37 -
38 -inherit cmake-utils python-single-r1 toolchain-funcs versionator
39 -
40 -DESCRIPTION="Video editing library used by OpenShot"
41 -HOMEPAGE="http://www.openshotvideo.com/"
42 -SRC_URI="https://github.com/OpenShot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="GPL-3"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="+imagemagick libav +python test"
48 -# https://github.com/OpenShot/libopenshot/issues/36
49 -RESTRICT="test"
50 -
51 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
52 -
53 -RDEPEND="
54 - net-libs/cppzmq
55 - dev-qt/qtcore:5
56 - dev-qt/qtgui:5
57 - dev-qt/qtmultimedia:5[widgets]
58 - media-libs/libopenshot-audio
59 - imagemagick? ( media-gfx/imagemagick:0=[cxx] )
60 - libav? ( media-video/libav:=[encode,x264,xvid,vpx,mp3,theora] )
61 - !libav? ( 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 -pkg_pretend() {
71 - if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then
72 - eerror "${P} requires a compiler with OpenMP support. Your current"
73 - eerror "compiler does not support it. If you use gcc, you can"
74 - eerror "re-emerge it with the 'openmp' use flag enabled."
75 - die "The current compiler does not support OpenMP"
76 - fi
77 -}
78 -
79 -pkg_setup() {
80 - use python && python-single-r1_pkg_setup
81 -}
82 -
83 -src_prepare() {
84 - # https://github.com/OpenShot/libopenshot/issues/17
85 - use test || cmake_comment_add_subdirectory tests
86 - cmake-utils_src_prepare
87 -}
88 -
89 -src_configure() {
90 - local mycmakeargs=(
91 - -DENABLE_RUBY=OFF # TODO: add ruby support
92 - -DENABLE_PYTHON=$(usex python)
93 - -DCMAKE_DISABLE_FIND_PACKAGE_ImageMagick=$(usex !imagemagick)
94 - )
95 - use python && mycmakeargs+=(
96 - -DPYTHON_EXECUTABLE="${PYTHON}"
97 - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
98 - -DPYTHON_LIBRARY="$(python_get_library_path)"
99 - )
100 - cmake-utils_src_configure
101 -}
102 -
103 -src_test() {
104 - pushd "${BUILD_DIR}/tests" > /dev/null || die
105 - ./openshot-test || die "Tests failed"
106 - popd > /dev/null || die
107 -}
108 -
109 -src_install() {
110 - cmake-utils_src_install
111 - python_optimize
112 -}