public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenshot/
Date: Thu, 21 Apr 2016 09:52:14 +0000 (UTC)	[thread overview]
Message-ID: <1461232319.b7bad4dcadbfcaf5e71469b95a8449531d0b0865.idella4@gentoo> (raw)

commit:     b7bad4dcadbfcaf5e71469b95a8449531d0b0865
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Sat Apr 16 00:06:45 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 09:51:59 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7bad4dc

media-libs/libopenshot: bump to 0.1.1

- imagemagick is now optional
- python and ruby can be disabled using cmake options

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1271

Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org>

 media-libs/libopenshot/Manifest                 |  5 ++
 media-libs/libopenshot/libopenshot-0.1.1.ebuild | 73 +++++++++++++++++++++++++
 media-libs/libopenshot/metadata.xml             |  2 +-
 3 files changed, 79 insertions(+), 1 deletion(-)

diff --git a/media-libs/libopenshot/Manifest b/media-libs/libopenshot/Manifest
index 2a3fdca..095f501 100644
--- a/media-libs/libopenshot/Manifest
+++ b/media-libs/libopenshot/Manifest
@@ -1 +1,6 @@
+AUX libopenshot-0.1.0-fix-tests-exit-code.patch 816 SHA256 029b5ef64fabae87cbce4bc11253cbc476a49ecf45ec71bf3404e88126102665 SHA512 d1a585e824097a7ce379059b49f057bc1c040b8f54c273cfdc058bbc6f6a4c52d45e4d5a763ebbf72f1b50901483a1e59e3f7d9d108ba4c060f1c1d632ceb0dc WHIRLPOOL a566e84699cf1f7dc277e5d1814e78958647ce11441f86f6f12b695675e7f0def505c65ade130806ff8807dcca181292421ec5f4ff3effcbba4fb74e1443f942
 DIST libopenshot-0.1.0.tar.gz 10970157 SHA256 1eb3cc27d9d5a5c966dd5dd445567239c6cbcc08772ba99e5f3b52c87a28d809 SHA512 bd5767b96ae38da7f31bfcca3ec5b34c458ab271d3e899b1982cd09b0576d29a3101c54fc840766d40aa7cbc83130064f0440f5c465999f0518449318ab87480 WHIRLPOOL c485271357545e85b94753659f0a58f4e7b0f4c4ee2a4d53bbcb1d650a3cef730103b73577848d0e2e6a355d42788451fbc1839c82343b2f172c3fd725906f29
+DIST libopenshot-0.1.1.tar.gz 10970421 SHA256 7f79084b0fda085ee5740f4907a2ac4bd736de6b3c4958b4441f49eaedfc7eee SHA512 7ed329b8a066ace9996342504ce817cd0e20a8599a71fa6483d8b2eeb52b5bfeed0cb4b9d099c34a275fc529d55d1bd0527707264ddd5d106574ee25e4fcd3ec WHIRLPOOL 9a759029f4b0ff1510157c91ac09f67c665446b5551487c6d228c2a668b019bb919aae53e5813b541863d32116017f0fc2a19dbc008e307e3bc9c32cc72df884
+EBUILD libopenshot-0.1.0.ebuild 1775 SHA256 90b4050b2555e46f590d16ef144d5844bdcb5f42ba30973cb42ac558b76dee62 SHA512 50ae76ee62f20462c2cab649f10839e5692dc07fd4c9e8af37fd35bcdf40ba7d1716e007f00dc613bcbf82a75f25abebc694b69c94a44f1ad97675f1df455978 WHIRLPOOL 79b3cfda35eb6be739a25dffb271589e7fb3cc7af5192e3dea8a18b9dcfefac5b6171b8438b71f61545b7b228010f2f11a1a697ed0a3be840bacdea2fa046636
+EBUILD libopenshot-0.1.1.ebuild 1791 SHA256 68a2008fb6b7055e16430090e2dff98c19c10648f7832ebdb6a676ba02383709 SHA512 5240a196dfb8d9a6c385ac488c0db6a1376b7976eb3d8c5ccd7b116c79fe1b40ba674444b7cd9b4eb0d942ba55dc27cf81af1f1abb8925c5d5e2e4262626dc0b WHIRLPOOL bde341d59bf95b6384d5dd820ba1a542bf8b6e866adcfde8552b2558dfa80c17117ac30ea45af17be48d0b5fd4369adb8d633d343a88a0858d642d4a160a6a80
+MISC metadata.xml 719 SHA256 8c512fa58cf2f1687725a656c0a29289a68f16db3b0b49bb45f406b1685d8c75 SHA512 9e2750213aa6a93dd32a0798466ebf4ceeb0caece686a1b7b36df06cfc936ab37290d1fd0a38559633e469709db9d72a03e7a6a13a46ed1a115493548d955941 WHIRLPOOL 336cecde11de8c46940735ebfa98cac3972535a06cfcaba16e9cd4f043c429a754022d65b4267a05e11e353049a0b6fac1c69a700a61bd3dbe2b4e58a6b00be9

diff --git a/media-libs/libopenshot/libopenshot-0.1.1.ebuild b/media-libs/libopenshot/libopenshot-0.1.1.ebuild
new file mode 100644
index 0000000..8253c49
--- /dev/null
+++ b/media-libs/libopenshot/libopenshot-0.1.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5} )
+
+inherit cmake-utils python-single-r1 versionator
+
+DESCRIPTION="Video editing library used by OpenShot"
+HOMEPAGE="http://www.openshotvideo.com/"
+SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+imagemagick libav +python test"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtmultimedia:5[widgets]
+	media-libs/libopenshot-audio
+	imagemagick? ( media-gfx/imagemagick:0[cxx] )
+	libav? ( media-video/libav:=[encode,x264,xvid,vpx,mp3,theora] )
+	!libav? ( media-video/ffmpeg:0=[encode,x264,xvid,vpx,mp3,theora] )
+	python? ( ${PYTHON_DEPS} )
+"
+DEPEND="
+	${RDEPEND}
+	python? ( dev-lang/swig )
+	test? ( dev-libs/unittest++ )
+"
+
+# https://github.com/OpenShot/libopenshot/pull/19
+PATCHES=( "${FILESDIR}/${PN}-0.1.0-fix-tests-exit-code.patch" )
+
+S="${WORKDIR}"
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	# https://github.com/OpenShot/libopenshot/issues/17
+	use test || cmake_comment_add_subdirectory tests
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_RUBY=OFF # TODO: add ruby support
+		-DENABLE_PYTHON=$(usex python)
+		-DCMAKE_DISABLE_FIND_PACKAGE_ImageMagick=$(usex !imagemagick)
+	)
+	if use python; then
+		mycmakeargs+=(
+			-DPYTHON_EXECUTABLE="${PYTHON}"
+			-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
+			-DPYTHON_LIBRARY="$(python_get_library_path)"
+		)
+	fi
+	cmake-utils_src_configure
+}
+
+src_test() {
+	pushd "${BUILD_DIR}/tests" > /dev/null || die
+	./openshot-test || die "Tests failed"
+	popd > /dev/null || die
+}

diff --git a/media-libs/libopenshot/metadata.xml b/media-libs/libopenshot/metadata.xml
index ab0b2d8..1c216c0 100644
--- a/media-libs/libopenshot/metadata.xml
+++ b/media-libs/libopenshot/metadata.xml
@@ -13,6 +13,6 @@
 	<upstream>
 		<remote-id type="launchpad">libopenshot</remote-id>
 		<remote-id type="github">OpenShot/libopenshot</remote-id>
-		<bugs-to>https://github.com/OpenShot/libopenshot/issues https://bugs.launchpad.net/libopenshot/+bugs</bugs-to>
+		<bugs-to>https://github.com/OpenShot/libopenshot/issues</bugs-to>
 	</upstream>
 </pkgmetadata>


             reply	other threads:[~2016-04-21  9:52 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-21  9:52 Ian Delaney [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-07 20:55 [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenshot/ Sam James
2023-07-06  7:48 Sam James
2023-07-06  0:06 Sam James
2023-05-03  7:22 Sam James
2022-10-27 23:46 Sam James
2022-10-26 19:38 Stefan Strogin
2022-06-10  6:48 Agostino Sarubbo
2022-06-09  7:39 Agostino Sarubbo
2022-06-07  5:17 Sam James
2022-05-14 21:30 David Seifert
2021-11-21 16:17 Stefan Strogin
2021-09-04 19:20 Stefan Strogin
2021-05-25 11:15 Sam James
2021-01-21  7:40 Agostino Sarubbo
2021-01-10 11:56 Andreas Sturmlechner
2021-01-01 22:14 Andreas Sturmlechner
2020-12-03 15:42 Andreas Sturmlechner
2020-12-03 15:42 Andreas Sturmlechner
2020-04-25 18:51 Mikle Kolyada
2020-02-10 19:59 Stefan Strogin
2019-11-20 13:21 Agostino Sarubbo
2019-08-14  2:33 Stefan Strogin
2019-06-13 15:31 Stefan Strogin
2019-06-13 15:31 Stefan Strogin
2018-11-12 14:31 Mikle Kolyada
2018-11-12  1:14 Thomas Deutschmann
2018-10-13 17:36 Pacho Ramos
2018-10-13 17:36 Pacho Ramos
2018-10-13 17:36 Pacho Ramos
2018-02-06 15:10 Thomas Deutschmann
2017-07-26  8:12 Michał Górny
2017-07-26  8:12 Michał Górny
2016-09-14  7:38 David Seifert
2016-04-22 15:30 Ian Delaney
2016-04-21 10:06 Ian Delaney
2016-04-20 17:24 Kacper Kowalik
2016-04-18  8:13 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461232319.b7bad4dcadbfcaf5e71469b95a8449531d0b0865.idella4@gentoo \
    --to=idella4@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox