From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BD8831381F3 for ; Thu, 21 Apr 2016 09:52:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3756C21C06C; Thu, 21 Apr 2016 09:52:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D1EC21C05E for ; Thu, 21 Apr 2016 09:52:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E5038340C33 for ; Thu, 21 Apr 2016 09:52:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C376B1BA1 for ; Thu, 21 Apr 2016 09:52:14 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1461232319.b7bad4dcadbfcaf5e71469b95a8449531d0b0865.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenshot/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libopenshot/Manifest media-libs/libopenshot/libopenshot-0.1.1.ebuild media-libs/libopenshot/metadata.xml X-VCS-Directories: media-libs/libopenshot/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: b7bad4dcadbfcaf5e71469b95a8449531d0b0865 X-VCS-Branch: master Date: Thu, 21 Apr 2016 09:52:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 85017634-6bdc-4608-9254-97131f37fa72 X-Archives-Hash: 1646bb578426a266feedd39a792460e2 commit: b7bad4dcadbfcaf5e71469b95a8449531d0b0865 Author: Louis Sautier gmail com> AuthorDate: Sat Apr 16 00:06:45 2016 +0000 Commit: Ian Delaney gentoo 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 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 @@ libopenshot OpenShot/libopenshot - https://github.com/OpenShot/libopenshot/issues https://bugs.launchpad.net/libopenshot/+bugs + https://github.com/OpenShot/libopenshot/issues