summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-arcade/smc/files/smc-1.4-link-libpng.patch15
-rw-r--r--games-arcade/smc/smc-1.4.ebuild63
2 files changed, 0 insertions, 78 deletions
diff --git a/games-arcade/smc/files/smc-1.4-link-libpng.patch b/games-arcade/smc/files/smc-1.4-link-libpng.patch
deleted file mode 100644
index cf576b0c57de..000000000000
--- a/games-arcade/smc/files/smc-1.4-link-libpng.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: configure.ac
-===================================================================
---- configure.ac (revision 907)
-+++ configure.ac (working copy)
-@@ -26,6 +26,10 @@
- CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
- LIBS="$LIBS $SDL_LIBS"
-
-+# Check for libpng
-+AC_CHECK_LIB(png, png_init_io, ,
-+ AC_MSG_ERROR([Unable to find libpng]))
-+
- # Check for SDL_image library
- AC_CHECK_LIB(SDL_image, IMG_LoadPNG_RW, ,
- AC_MSG_ERROR([Unable to find the SDL_image library with PNG support]))
diff --git a/games-arcade/smc/smc-1.4.ebuild b/games-arcade/smc/smc-1.4.ebuild
deleted file mode 100644
index 90d600aa7d37..000000000000
--- a/games-arcade/smc/smc-1.4.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/smc-1.4.ebuild,v 1.4 2008/02/04 18:46:17 nyhm Exp $
-
-inherit autotools eutils games
-
-MY_P=${P}_no_music
-MUSIC_P=SMC_music_4.0_high
-DESCRIPTION="Secret Maryo Chronicles"
-HOMEPAGE="http://www.secretmaryo.org/"
-SRC_URI="mirror://sourceforge/smclone/${MY_P}.tar.bz2
- mirror://sourceforge/smclone/${MUSIC_P}.zip"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-RDEPEND=">=dev-games/cegui-0.5
- dev-libs/boost
- virtual/opengl
- virtual/glu
- media-libs/libpng
- media-libs/libsdl
- media-libs/sdl-image
- media-libs/sdl-mixer
- media-libs/sdl-ttf"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- app-arch/unzip"
-
-pkg_setup() {
- games_pkg_setup
- if ! built_with_use media-libs/sdl-image png ; then
- die "Please emerge sdl-image with USE=png"
- fi
- if ! built_with_use dev-games/cegui opengl ; then
- die "Please emerge cegui with USE=opengl"
- fi
- if ! built_with_use dev-games/cegui devil ; then
- die "Please emerge cegui with USE=devil"
- fi
- if ! built_with_use dev-libs/libpcre unicode ; then
- die "Please emerge dev-libs/libpcre with USE=unicode"
- fi
-}
-
-src_unpack() {
- unpack ${MY_P}.tar.bz2
- cd "${S}"
- unpack ${MUSIC_P}.zip
- epatch "${FILESDIR}"/${P}-link-libpng.patch
- eautoreconf
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- newicon data/icon/window_32.png ${PN}.png
- make_desktop_entry ${PN} "Secret Maryo Chronicles"
- dodoc docs/*.txt
- dohtml docs/{*.css,*.html}
- prepgamesdirs
-}