public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/physfs/
Date: Mon, 13 May 2019 07:33:38 +0000 (UTC)	[thread overview]
Message-ID: <1557732804.9ffab08e406e83d4a7ce89a67ff96d048390d5c0.soap@gentoo> (raw)

commit:     9ffab08e406e83d4a7ce89a67ff96d048390d5c0
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 07:33:24 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon May 13 07:33:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ffab08e

dev-games/physfs: Simplify USE=doc handling

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-games/physfs/metadata.xml        | 64 ++++++++++++++++++------------------
 dev-games/physfs/physfs-3.0.2.ebuild |  9 +++--
 dev-games/physfs/physfs-9999.ebuild  |  9 +++--
 3 files changed, 40 insertions(+), 42 deletions(-)

diff --git a/dev-games/physfs/metadata.xml b/dev-games/physfs/metadata.xml
index 4c12a220b84..2a68749c367 100644
--- a/dev-games/physfs/metadata.xml
+++ b/dev-games/physfs/metadata.xml
@@ -1,36 +1,36 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-<email>games@gentoo.org</email>
-<name>Gentoo Games Project</name>
-</maintainer>
-<longdescription>
-PhysicsFS is a library to provide abstract access to various archives. It is 
-intended for use in video games, and the design was somewhat inspired by Quake 3's 
-file subsystem. The programmer defines a "write directory" on the physical 
-filesystem. No file writing done through the PhysicsFS API can leave that write 
-directory, for security. For example, an embedded scripting language cannot write 
-outside of this path if it uses PhysFS for all of its I/O, which means that 
-untrusted scripts can run more safely. Symbolic links can be disabled as well, for 
-added safety. For file reading, the programmer lists directories and archives that 
-form a "search path". Once the search path is defined, it becomes a single, 
-transparent hierarchical filesystem. This makes for easy access to ZIP files in the 
-same way as you access a file directly on the disk, and it makes it easy to ship a 
-new archive that will override a previous archive on a per-file basis. Finally, 
-PhysicsFS gives you platform-abstracted means to determine if CD-ROMs are available, 
-the user's home directory, where in the real filesystem your program is running, 
-etc.
-</longdescription>
-<use>
-<flag name="7zip">Enable 7zip/lzma archive support</flag>
-<flag name="grp">Enable Build Engine GRP archive support</flag>
-<flag name="hog">Enable Descent I/II HOG archive support</flag>
-<flag name="iso">Enable ISO9660 file support</flag>
-<flag name="mvl">Enable Descent I/II MVL archive support</flag>
-<flag name="slb">Enable Independence War SLB archive support</flag>
-<flag name="vdf">Enable Gothic/Gothic II VDF archive support</flag>
-<flag name="wad">Enable Doom WAD archive support</flag>
-<flag name="qpak">Enable Quake I/II QPAK archive support</flag>
-</use>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+	<longdescription>
+		PhysicsFS is a library to provide abstract access to various archives. It is
+		intended for use in video games, and the design was somewhat inspired by Quake 3's
+		file subsystem. The programmer defines a "write directory" on the physical
+		filesystem. No file writing done through the PhysicsFS API can leave that write
+		directory, for security. For example, an embedded scripting language cannot write
+		outside of this path if it uses PhysFS for all of its I/O, which means that
+		untrusted scripts can run more safely. Symbolic links can be disabled as well, for
+		added safety. For file reading, the programmer lists directories and archives that
+		form a "search path". Once the search path is defined, it becomes a single,
+		transparent hierarchical filesystem. This makes for easy access to ZIP files in the
+		same way as you access a file directly on the disk, and it makes it easy to ship a
+		new archive that will override a previous archive on a per-file basis. Finally,
+		PhysicsFS gives you platform-abstracted means to determine if CD-ROMs are available,
+		the user's home directory, where in the real filesystem your program is running,
+		etc.
+	</longdescription>
+	<use>
+		<flag name="7zip">Enable 7zip/lzma archive support</flag>
+		<flag name="grp">Enable Build Engine GRP archive support</flag>
+		<flag name="hog">Enable Descent I/II HOG archive support</flag>
+		<flag name="iso">Enable ISO9660 file support</flag>
+		<flag name="mvl">Enable Descent I/II MVL archive support</flag>
+		<flag name="slb">Enable Independence War SLB archive support</flag>
+		<flag name="vdf">Enable Gothic/Gothic II VDF archive support</flag>
+		<flag name="wad">Enable Doom WAD archive support</flag>
+		<flag name="qpak">Enable Quake I/II QPAK archive support</flag>
+	</use>
 </pkgmetadata>

diff --git a/dev-games/physfs/physfs-3.0.2.ebuild b/dev-games/physfs/physfs-3.0.2.ebuild
index 0880049c9f1..91229a1b6d9 100644
--- a/dev-games/physfs/physfs-3.0.2.ebuild
+++ b/dev-games/physfs/physfs-3.0.2.ebuild
@@ -45,10 +45,9 @@ multilib_src_configure() {
 
 multilib_src_compile() {
 	cmake-utils_src_compile
-	multilib_is_native_abi && use doc && cmake-utils_src_compile docs
-}
 
-multilib_src_install() {
-	multilib_is_native_abi && use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
-	cmake-utils_src_install
+	if multilib_is_native_abi && use doc; then
+		cmake-utils_src_compile docs
+		HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
+	fi
 }

diff --git a/dev-games/physfs/physfs-9999.ebuild b/dev-games/physfs/physfs-9999.ebuild
index 0880049c9f1..91229a1b6d9 100644
--- a/dev-games/physfs/physfs-9999.ebuild
+++ b/dev-games/physfs/physfs-9999.ebuild
@@ -45,10 +45,9 @@ multilib_src_configure() {
 
 multilib_src_compile() {
 	cmake-utils_src_compile
-	multilib_is_native_abi && use doc && cmake-utils_src_compile docs
-}
 
-multilib_src_install() {
-	multilib_is_native_abi && use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
-	cmake-utils_src_install
+	if multilib_is_native_abi && use doc; then
+		cmake-utils_src_compile docs
+		HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
+	fi
 }


             reply	other threads:[~2019-05-13  7:33 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-13  7:33 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-15 20:29 [gentoo-commits] repo/gentoo:master commit in: dev-games/physfs/ Andreas Sturmlechner
2024-12-14 17:42 Sam James
2024-12-12  2:46 Sam James
2024-12-11 22:52 Sam James
2024-11-22 23:22 Conrad Kostecki
2024-11-22 23:22 Conrad Kostecki
2024-11-22 23:22 Conrad Kostecki
2023-03-22 18:53 Andreas Sturmlechner
2021-12-18 18:14 Sam James
2021-12-17 18:30 Jakov Smolić
2021-12-17 18:30 Jakov Smolić
2021-07-19 23:14 Marek Szuba
2019-05-30 20:33 Sergei Trofimovich
2019-05-26 22:27 Thomas Deutschmann
2019-05-13  0:18 Andreas Sturmlechner
2019-03-21 11:05 Lars Wendler
2019-03-04 20:49 James Le Cuirot
2019-03-04 20:49 James Le Cuirot
2019-03-04 20:49 James Le Cuirot
2019-03-04 20:49 James Le Cuirot
2018-03-25 19:51 James Le Cuirot
2018-03-25 19:51 James Le Cuirot
2017-11-06 15:29 Lars Wendler
2017-10-03 20:59 Lars Wendler
2017-10-03 20:59 Lars Wendler
2017-08-25 19:55 James Le Cuirot
2017-06-27 20:36 Alexis Ballier
2017-03-13 13:00 Lars Wendler
2017-02-23 22:58 Michael Weber
2017-02-17 10:56 Agostino Sarubbo
2017-02-12 17:01 Agostino Sarubbo
2017-02-04 10:44 Jeroen Roovers
2017-01-27 13:23 Tobias Klausmann
2017-01-27  9:07 Agostino Sarubbo
2017-01-27  9:02 Agostino Sarubbo

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=1557732804.9ffab08e406e83d4a7ce89a67ff96d048390d5c0.soap@gentoo \
    --to=soap@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