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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F22E158046 for ; Thu, 10 Oct 2024 20:30:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3583E2ACC; Thu, 10 Oct 2024 20:29:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75F55E2ACC for ; Thu, 10 Oct 2024 20:29:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6AB88343147 for ; Thu, 10 Oct 2024 20:29:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E801027B6 for ; Thu, 10 Oct 2024 20:29:53 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1728591787.c15d1b09354532fdc909cb03f308e30614fdcb1a.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/guichan/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-games/guichan/guichan-0.8.2-r1.ebuild X-VCS-Directories: dev-games/guichan/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: c15d1b09354532fdc909cb03f308e30614fdcb1a X-VCS-Branch: master Date: Thu, 10 Oct 2024 20:29:53 +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: 1921c5a1-7c75-4dfe-b0fd-0aa2c1a72a76 X-Archives-Hash: 4ebe75471c7280481a09442511a92ba2 commit: c15d1b09354532fdc909cb03f308e30614fdcb1a Author: Michael Mair-Keimberger levelnine at> AuthorDate: Tue Sep 3 13:37:36 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Thu Oct 10 20:23:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c15d1b09 dev-games/guichan: EAPI8 bump, fix HOMEPAGE Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Conrad Kostecki gentoo.org> dev-games/guichan/guichan-0.8.2-r1.ebuild | 54 +++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/dev-games/guichan/guichan-0.8.2-r1.ebuild b/dev-games/guichan/guichan-0.8.2-r1.ebuild new file mode 100644 index 000000000000..22e244aec69d --- /dev/null +++ b/dev-games/guichan/guichan-0.8.2-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL" +HOMEPAGE="https://github.com/darkbitsorg/guichan" +SRC_URI="https://github.com/darkbitsorg/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="allegro opengl sdl" + +DEPEND=" + allegro? ( media-libs/allegro:0 ) + opengl? ( virtual/opengl ) + sdl? ( + media-libs/libsdl + media-libs/sdl-image + )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-as-needed.patch + "${FILESDIR}"/${P}-automake-1.13.patch + "${FILESDIR}"/${P}-slibtool-undefined-references.patch +) + +src_prepare() { + default + + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable allegro) + $(use_enable opengl) + $(use_enable sdl) + $(use_enable sdl sdlimage) + ) + + econf "${myeconfargs}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +}