summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-05 16:15:53 +0000
committerSam James <sam@gentoo.org>2021-04-05 16:24:39 +0000
commita5bc70259289675b96f3fffd18b77ccf7b4c0f84 (patch)
treeb423db8d9485f933a9d5086b760b4e91d7e63bea /games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild
parentsys-apps/qdirstat: bump to version 1.7.1 (diff)
downloadgentoo-a5bc70259289675b96f3fffd18b77ccf7b4c0f84.tar.gz
gentoo-a5bc70259289675b96f3fffd18b77ccf7b4c0f84.tar.bz2
gentoo-a5bc70259289675b96f3fffd18b77ccf7b4c0f84.zip
games-arcade/emilia-pinball: port to EAPI 7, games.eclass--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild')
-rw-r--r--games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild59
1 files changed, 0 insertions, 59 deletions
diff --git a/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild b/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild
deleted file mode 100644
index 56747f70384..00000000000
--- a/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils games
-
-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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="virtual/opengl
- x11-libs/libSM
- media-libs/libsdl[joystick,opengl,video,X]
- media-libs/sdl-image[png]
- media-libs/sdl-mixer[vorbis]
- dev-libs/libltdl:0"
-DEPEND="${RDEPEND}
- x11-libs/libXt"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- sed -i -e '/dnl/d' {src,test}/Makefile.am || die #334899
- epatch "${FILESDIR}"/${P}-glibc210.patch \
- "${FILESDIR}"/${P}-libtool.patch \
- "${FILESDIR}"/${P}-gcc46.patch \
- "${FILESDIR}"/${P}-parallel.patch
- rm -rf libltdl
- eautoreconf
-}
-
-src_configure() {
- egamesconf --with-x
-}
-
-src_compile() {
- emake CXXFLAGS="${CXXFLAGS}"
-}
-
-src_install() {
- default
- dosym "${GAMES_BINDIR}"/pinball "${GAMES_BINDIR}"/emilia-pinball
- mv "${D}/${GAMES_PREFIX}/include" "${D}/usr/" || die
- dodir /usr/bin
- mv "${D}/${GAMES_BINDIR}/pinball-config" "${D}/usr/bin/" || die
- sed -i \
- -e 's:-I${prefix}/include/pinball:-I/usr/include/pinball:' \
- "${D}"/usr/bin/pinball-config || die
- newicon data/pinball.xpm ${PN}.xpm
- make_desktop_entry emilia-pinball "Emilia pinball"
- prepgamesdirs
-}