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 45EE11382C5 for ; Sun, 29 Apr 2018 11:27:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4705E09A8; Sun, 29 Apr 2018 11:26:53 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 8F8BAE09A8 for ; Sun, 29 Apr 2018 11:26:53 +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 0B448335CA6 for ; Sun, 29 Apr 2018 11:26:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B08B2AE for ; Sun, 29 Apr 2018 11:26:48 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1525001169.befc01d6639e191db151b7ebc49b17c674786696.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/lxdream/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/lxdream/lxdream-0.9.1-r3.ebuild X-VCS-Directories: games-emulation/lxdream/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: befc01d6639e191db151b7ebc49b17c674786696 X-VCS-Branch: master Date: Sun, 29 Apr 2018 11:26:48 +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-Archives-Salt: 369f0a11-d358-4410-ba1e-567ce772acde X-Archives-Hash: 4db6df1b911c0acd4783cda5a00ee993 commit: befc01d6639e191db151b7ebc49b17c674786696 Author: Pacho Ramos gentoo org> AuthorDate: Sun Apr 29 11:02:51 2018 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Apr 29 11:26:09 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=befc01d6 games-emulation/lxdream: Stop using games.eclass Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-emulation/lxdream/lxdream-0.9.1-r3.ebuild | 64 +++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/games-emulation/lxdream/lxdream-0.9.1-r3.ebuild b/games-emulation/lxdream/lxdream-0.9.1-r3.ebuild new file mode 100644 index 00000000000..b7f1520cfa3 --- /dev/null +++ b/games-emulation/lxdream/lxdream-0.9.1-r3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools flag-o-matic + +DESCRIPTION="An emulator for the Sega Dreamcast system" +HOMEPAGE="http://www.lxdream.org/" +SRC_URI="http://www.lxdream.org/count.php?file=${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# lirc configure option is not recogniced +IUSE="debug profile pulseaudio sdl" #lirc + +RDEPEND=" + app-misc/lirc + + media-libs/alsa-lib + media-libs/libpng:0= + pulseaudio? ( media-sound/pulseaudio ) + sdl? ( media-libs/libsdl[sound] ) + virtual/opengl + x11-libs/gtk+:2 +" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/gettext + virtual/os-headers + !!gnustep-base/gnustep-gui" #377635 + +src_prepare() { + default + + eapply "${FILESDIR}/${PN}-0.9.1-glib-single-include.patch" + + # Make .desktop file pass desktop-file-validate + sed -i \ + -e '/Encoding/d' \ + -e '/FilePattern/d' \ + -e '/Categories/s|$|;|' \ + ${PN}.desktop || die + # Do not override user-specified CFLAGS + sed -i \ + -e s/'CFLAGS=\"-g -fexceptions\"'/'CFLAGS=\"${CFLAGS} -g -fexceptions\"'/ \ + -e '/CCOPT/d' \ + -e '/OBJCOPT/d' \ + configure || die + append-libs -lX11 -lm +} + +src_configure() { + # lirc configure option is not recognized + # $(use_with lirc) \ + econf \ + --datadir="/usr/share" \ + $(use_enable debug trace) \ + $(use_enable debug watch) \ + $(use_enable profile profiled) \ + $(use_with pulseaudio pulse) \ + $(use_with sdl) \ + --without-esd +}