From 7fa0a7832b504e16e28ee8047d815384e0d5ec01 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 23 Aug 2021 04:46:25 +0100 Subject: games-arcade/emilia-pinball: fix group of binary Closes: https://bugs.gentoo.org/809353 Signed-off-by: Sam James --- .../emilia-pinball/emilia-pinball-0.3.1-r2.ebuild | 76 ---------------------- .../emilia-pinball/emilia-pinball-0.3.1-r3.ebuild | 76 ++++++++++++++++++++++ 2 files changed, 76 insertions(+), 76 deletions(-) delete mode 100644 games-arcade/emilia-pinball/emilia-pinball-0.3.1-r2.ebuild create mode 100644 games-arcade/emilia-pinball/emilia-pinball-0.3.1-r3.ebuild (limited to 'games-arcade') diff --git a/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r2.ebuild b/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r2.ebuild deleted file mode 100644 index 523439876ec8..000000000000 --- a/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools desktop - -MY_PN=${PN/emilia-/} -MY_P=${MY_PN}-${PV} -DESCRIPTION="SDL OpenGL pinball game" -HOMEPAGE="http://pinball.sourceforge.net/" -SRC_URI="mirror://sourceforge/pinball/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-libs/libltdl:0 - media-libs/libsdl[joystick,opengl,video,X] - media-libs/sdl-image[png] - media-libs/sdl-mixer[vorbis] - x11-libs/libICE - x11-libs/libSM - virtual/opengl - virtual/glu -" -DEPEND=" - ${DEPEND} - x11-libs/libXt -" - -RDEPEND+=" acct-group/gamestat" - -PATCHES=( - "${FILESDIR}"/${P}-glibc210.patch - "${FILESDIR}"/${P}-libtool.patch - "${FILESDIR}"/${P}-gcc46.patch - "${FILESDIR}"/${P}-parallel.patch -) - -src_prepare() { - # bug #334899 - sed -i -e '/dnl/d' {src,test}/Makefile.am || die - - default - - rm -rf libltdl || die - eautoreconf -} - -src_configure() { - econf --with-x -} - -src_compile() { - emake CXXFLAGS="${CXXFLAGS}" -} - -src_install() { - default - - dosym pinball /usr/bin/emilia-pinball - - sed -i \ - -e 's:-I${prefix}/include/pinball:-I/usr/include/pinball:' \ - "${ED}"/usr/bin/pinball-config || die - - newicon data/pinball.xpm ${PN}.xpm - make_desktop_entry emilia-pinball "Emilia pinball" - - fperms -R 660 /var/games/pinball - fowners -R root:gamestat /var/games/pinball - fperms g+s /usr/bin/pinball -} diff --git a/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r3.ebuild b/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r3.ebuild new file mode 100644 index 000000000000..2e0de0e6e743 --- /dev/null +++ b/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop + +MY_PN=${PN/emilia-/} +MY_P=${MY_PN}-${PV} +DESCRIPTION="SDL OpenGL pinball game" +HOMEPAGE="http://pinball.sourceforge.net/" +SRC_URI="mirror://sourceforge/pinball/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/libltdl:0 + media-libs/libsdl[joystick,opengl,video,X] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + x11-libs/libICE + x11-libs/libSM + virtual/opengl + virtual/glu +" +DEPEND=" + ${DEPEND} + x11-libs/libXt +" + +RDEPEND+=" acct-group/gamestat" + +PATCHES=( + "${FILESDIR}"/${P}-glibc210.patch + "${FILESDIR}"/${P}-libtool.patch + "${FILESDIR}"/${P}-gcc46.patch + "${FILESDIR}"/${P}-parallel.patch +) + +src_prepare() { + # bug #334899 + sed -i -e '/dnl/d' {src,test}/Makefile.am || die + + default + + rm -rf libltdl || die + eautoreconf +} + +src_configure() { + econf --with-x +} + +src_compile() { + emake CXXFLAGS="${CXXFLAGS}" +} + +src_install() { + default + + dosym pinball /usr/bin/emilia-pinball + + sed -i \ + -e 's:-I${prefix}/include/pinball:-I/usr/include/pinball:' \ + "${ED}"/usr/bin/pinball-config || die + + newicon data/pinball.xpm ${PN}.xpm + make_desktop_entry emilia-pinball "Emilia pinball" + + fperms -R 660 /var/games/pinball + fowners -R root:gamestat /usr/bin/pinball /var/games/pinball + fperms g+s /usr/bin/pinball +} -- cgit v1.2.3-65-gdbad