public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gnofract4d/
Date: Sun,  5 Jan 2020 10:10:12 +0000 (UTC)	[thread overview]
Message-ID: <1578218983.18fb920c894f93e955efad11bb6b44f40f64023e.juippis@gentoo> (raw)

commit:     18fb920c894f93e955efad11bb6b44f40f64023e
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 08:36:18 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> 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 <juippis <AT> 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 @@
 		<remote-id type="github">edyoung/gnofract4d</remote-id>
 	</upstream>
 	<use>
-		<flag name="help">Install user manual</flag>
-		<flag name="video">Support creation of videos</flag>
+		<flag name="doc">Install user manual</flag>
 	</use>
 </pkgmetadata>


             reply	other threads:[~2020-01-05 10:10 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-05 10:10 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07  6:58 [gentoo-commits] repo/gentoo:master commit in: media-gfx/gnofract4d/ Joonas Niilola
2024-10-07  6:58 Joonas Niilola
2024-05-28 12:35 Sam James
2024-04-26  6:55 Joonas Niilola
2023-10-25  7:46 Joonas Niilola
2023-10-20  7:03 Joonas Niilola
2023-10-20  7:03 Joonas Niilola
2023-07-28 14:06 Joonas Niilola
2023-07-28 14:06 Joonas Niilola
2023-01-14  8:50 Joonas Niilola
2023-01-13 20:00 Sam James
2022-12-09  6:54 Joonas Niilola
2022-11-23 17:55 Joonas Niilola
2022-11-23 17:55 Joonas Niilola
2022-07-12  6:47 Agostino Sarubbo
2022-07-12  6:46 Agostino Sarubbo
2021-11-12  1:36 Sam James
2021-03-15 20:07 Andreas Sturmlechner
2021-02-26 20:58 Agostino Sarubbo
2021-02-26 15:18 Sam James
2020-11-11 11:56 Joonas Niilola
2020-11-11 11:56 Joonas Niilola
2020-10-03 13:43 Joonas Niilola
2020-10-03 13:43 Joonas Niilola
2020-09-30  7:54 Joonas Niilola
2020-02-09 16:47 Michał Górny
2020-02-07 14:10 Andreas Sturmlechner
2020-02-07 12:12 Agostino Sarubbo
2020-02-04  9:00 Agostino Sarubbo
2020-01-22 10:53 Joonas Niilola
2020-01-05 10:10 Joonas Niilola
2019-04-08 19:15 Aaron Bauman
2018-04-20 19:43 David Seifert
2016-12-20 15:34 Tobias Klausmann

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=1578218983.18fb920c894f93e955efad11bb6b44f40f64023e.juippis@gentoo \
    --to=juippis@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