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 6FA94138334 for ; Mon, 13 May 2019 07:33:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59531E088C; Mon, 13 May 2019 07:33:42 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 2C6CDE088C for ; Mon, 13 May 2019 07:33:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 29C733441B2 for ; Mon, 13 May 2019 07:33:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 225685D5 for ; Mon, 13 May 2019 07:33:38 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1557732804.9ffab08e406e83d4a7ce89a67ff96d048390d5c0.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/physfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-games/physfs/metadata.xml dev-games/physfs/physfs-3.0.2.ebuild dev-games/physfs/physfs-9999.ebuild X-VCS-Directories: dev-games/physfs/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 9ffab08e406e83d4a7ce89a67ff96d048390d5c0 X-VCS-Branch: master Date: Mon, 13 May 2019 07:33:38 +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: c833edb2-5027-4c42-aa7f-6880fde3c3fc X-Archives-Hash: 3bbf387884c281764bea0050f11caf26 commit: 9ffab08e406e83d4a7ce89a67ff96d048390d5c0 Author: David Seifert gentoo org> AuthorDate: Mon May 13 07:33:24 2019 +0000 Commit: David Seifert gentoo 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 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 @@ - -games@gentoo.org -Gentoo Games Project - - -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. - - -Enable 7zip/lzma archive support -Enable Build Engine GRP archive support -Enable Descent I/II HOG archive support -Enable ISO9660 file support -Enable Descent I/II MVL archive support -Enable Independence War SLB archive support -Enable Gothic/Gothic II VDF archive support -Enable Doom WAD archive support -Enable Quake I/II QPAK archive support - + + games@gentoo.org + Gentoo Games Project + + + 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. + + + Enable 7zip/lzma archive support + Enable Build Engine GRP archive support + Enable Descent I/II HOG archive support + Enable ISO9660 file support + Enable Descent I/II MVL archive support + Enable Independence War SLB archive support + Enable Gothic/Gothic II VDF archive support + Enable Doom WAD archive support + Enable Quake I/II QPAK archive support + 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 }