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 8E41C1382C5 for ; Thu, 25 Feb 2021 15:25:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A89DEE092B; Thu, 25 Feb 2021 15:25:54 +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 912F3E092B for ; Thu, 25 Feb 2021 15:25:54 +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 BAC25340F5C for ; Thu, 25 Feb 2021 15:25:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44240B9 for ; Thu, 25 Feb 2021 15:25:52 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1614266750.08959a02b676fd536fde813aad50307a157abc8c.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/devilutionx/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-engines/devilutionx/devilutionx-9999.ebuild games-engines/devilutionx/metadata.xml X-VCS-Directories: games-engines/devilutionx/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 08959a02b676fd536fde813aad50307a157abc8c X-VCS-Branch: master Date: Thu, 25 Feb 2021 15:25:52 +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: e47709fa-9559-4c06-b145-6a01e2fc6e50 X-Archives-Hash: 01cb71a5b8cc61b6f610f34e5fa6f514 commit: 08959a02b676fd536fde813aad50307a157abc8c Author: Lars Wendler gentoo org> AuthorDate: Thu Feb 25 15:25:43 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Feb 25 15:25:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08959a02 games-engines/devilutionx: Added "hellfire" USE flag Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> games-engines/devilutionx/devilutionx-9999.ebuild | 10 +++++++--- games-engines/devilutionx/metadata.xml | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/games-engines/devilutionx/devilutionx-9999.ebuild b/games-engines/devilutionx/devilutionx-9999.ebuild index 913e1f40eef..5c1340040dd 100644 --- a/games-engines/devilutionx/devilutionx-9999.ebuild +++ b/games-engines/devilutionx/devilutionx-9999.ebuild @@ -25,7 +25,7 @@ fi LICENSE="public-domain" SLOT="0" -IUSE="debug lto" +IUSE="debug +hellfire lto" RDEPEND=" dev-libs/libsodium @@ -50,11 +50,15 @@ src_configure() { -DDISABLE_LTO="$(usex !lto)" -DDIST="ON" -DUBSAN="OFF" + -DHELLFIRE="$(usex hellfire)" ) cmake_src_configure - # Build system still doesn't reliably set release version in the build - sed "/PROJECT_VERSION/s@-@${PV}@" -i "${BUILD_DIR}/config.h" || die + if [[ "${PV}" != 9999 ]] ; then + # Build system still doesn't reliably set release version + sed "/PROJECT_VERSION/s@-@${PV}@" -i "${BUILD_DIR}/config.h" \ + || die + fi } pkg_postinst() { diff --git a/games-engines/devilutionx/metadata.xml b/games-engines/devilutionx/metadata.xml index 6f7209b5d36..cb26cf9fd00 100644 --- a/games-engines/devilutionx/metadata.xml +++ b/games-engines/devilutionx/metadata.xml @@ -6,6 +6,7 @@ Lars Wendler + Enable support for Diablo Hellfire Expansion Build with link time optimization enabled