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 7172C139337 for ; Mon, 2 Aug 2021 10:31:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C60CEE08F1; Mon, 2 Aug 2021 10:31:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 A8166E08F1 for ; Mon, 2 Aug 2021 10:31:55 +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 1A9F7343385 for ; Mon, 2 Aug 2021 10:31:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63F6D7B4 for ; Mon, 2 Aug 2021 10:31:52 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1627900121.1a3cf1e2183fa0a7e09b47749129a9d9c8ebdd64.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/megaglest-data/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild X-VCS-Directories: games-strategy/megaglest-data/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 1a3cf1e2183fa0a7e09b47749129a9d9c8ebdd64 X-VCS-Branch: master Date: Mon, 2 Aug 2021 10:31: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: 84d0f1be-50bd-4b37-8f16-7cc502f6818c X-Archives-Hash: af3055ccbcf10e5e33c9d6b3945a7b7f commit: 1a3cf1e2183fa0a7e09b47749129a9d9c8ebdd64 Author: Ionen Wolkens gentoo org> AuthorDate: Mon Aug 2 09:34:02 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Mon Aug 2 10:28:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3cf1e2 games-strategy/megaglest-data: fix metainfo path, tidy Closes: https://bugs.gentoo.org/806142 Signed-off-by: Ionen Wolkens gentoo.org> .../megaglest-data/megaglest-data-3.13.0.ebuild | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild b/games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild index 9a1f00300e1..d3e8912a573 100644 --- a/games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild +++ b/games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild @@ -2,31 +2,30 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit cmake -MY_PN="megaglest" DESCRIPTION="Data files for the cross-platform 3D realtime strategy game MegaGlest" HOMEPAGE="https://www.megaglest.org/" -SRC_URI="https://github.com/MegaGlest/megaglest-data/releases/download/${PV}/megaglest-data-${PV}.tar.xz" +SRC_URI="https://github.com/MegaGlest/megaglest-data/releases/download/${PV}/${P}.tar.xz" +S="${WORKDIR}/megaglest-${PV}" LICENSE="CC-BY-SA-3.0" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" IUSE="doc" -DOCS=( docs/AUTHORS.data.txt docs/CHANGELOG.txt docs/README.txt ) - -S="${WORKDIR}/${MY_PN}-${PV}" - src_configure() { - # See bug https://bugs.gentoo.org/709450. local mycmakeargs=( - -DMEGAGLEST_APPDATA_INSTALL_PATH=/usr/metainfo + -DMEGAGLEST_APPDATA_INSTALL_PATH="${EPREFIX}"/usr/share/metainfo #709450 ) + cmake_src_configure } src_install() { - use doc && HTML_DOCS="docs/glest_factions/" + local DOCS=( docs/{AUTHORS.data,CHANGELOG,README}.txt ) + use doc && local HTML_DOCS=( docs/glest_factions ) + cmake_src_install }