From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EFC2E138347 for ; Sun, 5 Jan 2020 10:10:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F237AE0AA6; Sun, 5 Jan 2020 10:10:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CA089E0AA6 for ; Sun, 5 Jan 2020 10:10:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B29D34DDB3 for ; Sun, 5 Jan 2020 10:10:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EC121AA for ; Sun, 5 Jan 2020 10:10:12 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1578218983.18fb920c894f93e955efad11bb6b44f40f64023e.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gnofract4d/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild media-gfx/gnofract4d/metadata.xml X-VCS-Directories: media-gfx/gnofract4d/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 18fb920c894f93e955efad11bb6b44f40f64023e X-VCS-Branch: master Date: Sun, 5 Jan 2020 10:10:12 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 71d15ac3-8451-4da0-bdae-a9ea1042c513 X-Archives-Hash: 6f6442142030c9fa80eca1e10841335e commit: 18fb920c894f93e955efad11bb6b44f40f64023e Author: Joonas Niilola gentoo org> AuthorDate: Sun Jan 5 08:36:18 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Jan 5 10:09:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18fb920c media-gfx/gnofract4d: reformat use flags Signed-off-by: Joonas Niilola gentoo.org> media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild | 24 +++++++++++++++--------- media-gfx/gnofract4d/metadata.xml | 3 +-- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild b/media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild index b4044c6aed2..b87c0d129ea 100644 --- a/media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild +++ b/media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 virtualx xdg +inherit distutils-r1 eutils virtualx xdg COMMIT=bd600c20921afff7b02fc0a76ab79242ebd0896d @@ -18,8 +18,8 @@ SRC_URI="https://github.com/edyoung/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.g LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+help video" -REQUIRED_USE="test? ( help )" +IUSE="+doc" +REQUIRED_USE="test? ( doc )" COMMON_DEPEND=" media-libs/libpng:0= @@ -27,14 +27,15 @@ COMMON_DEPEND=" RDEPEND="${COMMON_DEPEND} dev-python/pycairo[${PYTHON_USEDEP}] dev-python/pygobject:3[${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - video? ( media-video/ffmpeg[vpx,zlib] )" + x11-libs/gtk+:3[introspection]" BDEPEND="virtual/pkgconfig" DEPEND="${COMMON_DEPEND} - help? ( app-text/docbook-xsl-stylesheets + doc? ( + app-text/docbook-xsl-stylesheets dev-python/pygobject[${PYTHON_USEDEP}] dev-libs/libxslt - x11-libs/gtk+:3[introspection] )" + x11-libs/gtk+:3[introspection] + )" distutils_enable_tests pytest @@ -49,7 +50,7 @@ python_test() { } python_compile_all() { - if use help; then + if use doc; then ln -s "${BUILD_DIR}"/lib/fract4d/*.so fract4d/ || die "${EPYTHON}" createdocs.py || die fi @@ -58,7 +59,12 @@ python_compile_all() { python_install_all() { distutils-r1_python_install_all rm -r "${ED}"/usr/share/doc/${PN} || die - if ! use help; then + if ! use doc; then rm -r "${ED}"/usr/share/gnome/help/${PN} || die fi } + +pkg_postinst() { + elog "Optional missing features:" + optfeature "creating videos" media-video/ffmpeg[vpx,zlib] +} diff --git a/media-gfx/gnofract4d/metadata.xml b/media-gfx/gnofract4d/metadata.xml index 9d262e8792a..38cc24b2d95 100644 --- a/media-gfx/gnofract4d/metadata.xml +++ b/media-gfx/gnofract4d/metadata.xml @@ -9,7 +9,6 @@ edyoung/gnofract4d - Install user manual - Support creation of videos + Install user manual