summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-03-02 10:33:42 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-03-02 10:33:42 +0000
commit0e8be3a7d076d436857be56013ce7b42e87bb87a (patch)
tree3b52be30f60778d356342b5dddb55e3180b18dc3 /dev-games/neoengine
parentAdded gnome USE flag for gconf-python dependency. Added pkg_postrm/postinst f... (diff)
downloadgentoo-2-0e8be3a7d076d436857be56013ce7b42e87bb87a.tar.gz
gentoo-2-0e8be3a7d076d436857be56013ce7b42e87bb87a.tar.bz2
gentoo-2-0e8be3a7d076d436857be56013ce7b42e87bb87a.zip
Removing internal copies of libraries. Bug #247243
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'dev-games/neoengine')
-rw-r--r--dev-games/neoengine/ChangeLog8
-rw-r--r--dev-games/neoengine/files/neoengine-0.8.2-nolibs.patch84
-rw-r--r--dev-games/neoengine/neoengine-0.8.2-r1.ebuild56
3 files changed, 147 insertions, 1 deletions
diff --git a/dev-games/neoengine/ChangeLog b/dev-games/neoengine/ChangeLog
index 83446476b25c..a207a7aec4e8 100644
--- a/dev-games/neoengine/ChangeLog
+++ b/dev-games/neoengine/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-games/neoengine
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/neoengine/ChangeLog,v 1.14 2009/01/16 20:38:48 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/neoengine/ChangeLog,v 1.15 2009/03/02 10:33:41 tupone Exp $
+
+*neoengine-0.8.2-r1 (02 Mar 2009)
+
+ 02 Mar 2009; Alfredo Tupone <tupone@gentoo.org>
+ +files/neoengine-0.8.2-nolibs.patch, +neoengine-0.8.2-r1.ebuild:
+ Removing internal copies of libraries. Bug #247243 by flameeyes@gentoo.org
16 Jan 2009; Tupone Alfredo <tupone@gentoo.org>
+files/neoengine-0.8.2-gcc43.patch, neoengine-0.8.2.ebuild:
diff --git a/dev-games/neoengine/files/neoengine-0.8.2-nolibs.patch b/dev-games/neoengine/files/neoengine-0.8.2-nolibs.patch
new file mode 100644
index 000000000000..420405089ae8
--- /dev/null
+++ b/dev-games/neoengine/files/neoengine-0.8.2-nolibs.patch
@@ -0,0 +1,84 @@
+--- neofczip/Makefile.am.dynamic.old 2009-03-02 09:17:40.000000000 +0100
++++ neofczip/Makefile.am.dynamic 2009-03-02 09:17:49.000000000 +0100
+@@ -1,11 +1,11 @@
+
+ lib_LTLIBRARIES = libneofczip.la
+
+-libneofczip_la_SOURCES = neofczip.cpp adler32.c compress.c crc32.c deflate.c gzio.c infback.c inffast.c inflate.c inftrees.c minigzip.c trees.c uncompr.c zutil.c
++libneofczip_la_SOURCES = neofczip.cpp
+
+ EXTRA_DIST = zlib.h neofczip.dsp Makefile.am.static Makefile.am.dynamic
+
+-libneofczip_la_LIBADD = @NEOENGINE_EXTRA_LIBS@
++libneofczip_la_LIBADD = @NEOENGINE_EXTRA_LIBS@ -lz
+
+ # set the include path found by configure
+ INCLUDES = -I..
+--- neoicpng/Makefile.am.dynamic.old 2009-03-02 10:03:19.000000000 +0100
++++ neoicpng/Makefile.am.dynamic 2009-03-02 10:03:27.000000000 +0100
+@@ -1,9 +1,7 @@
+
+ lib_LTLIBRARIES = libneoicpng.la
+
+-libneoicpng_la_SOURCES = neoicpng.cpp png.c pngerror.c pngget.c pngmem.c pngpread.c pngread.c pngrio.c \
+- pngrtran.c pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c pngwtran.c pngwutil.c deflate.c \
+- inflate.c trees.c zutil.c infblock.c inftrees.c infcodes.c infutil.c inffast.c adler32.c crc32.c
++libneoicpng_la_SOURCES = neoicpng.cpp
+
+ EXTRA_DIST = pnggccrd.c pngvcrd.c deflate.h infblock.h infcodes.h inffast.h inffixed.h inftrees.h \
+ infutil.h pngasmrd.h pngconf.h png.h trees.h zconf.h zlib.h zutil.h \
+@@ -11,7 +9,7 @@
+ neoicpng-static.dsp neoicpng-static.vcproj neoicpng-static.dev \
+ LICENSE Makefile.am.static Makefile.am.dynamic
+
+-libneoicpng_la_LIBADD = @NEOENGINE_EXTRA_LIBS@
++libneoicpng_la_LIBADD = @NEOENGINE_EXTRA_LIBS@ -lpng
+
+ # set the include path found by configure
+ INCLUDES = -I..
+--- neofcbzip2/Makefile.am.dynamic.old 2009-03-02 10:20:40.000000000 +0100
++++ neofcbzip2/Makefile.am.dynamic 2009-03-02 10:20:49.000000000 +0100
+@@ -1,13 +1,13 @@
+
+ lib_LTLIBRARIES = libneofcbzip2.la
+
+-libneofcbzip2_la_SOURCES = neofcbzip2.cpp blocksort.c bzlib.c compress.c crctable.c decompress.c huffman.c randtable.c
++libneofcbzip2_la_SOURCES = neofcbzip2.cpp
+
+ EXTRA_DIST = bzlib.h bzlib_private.h neofcbzip2.dsp neofcbzip2.vcproj neofcbzip2.dev \
+ neofcbzip2-static.dsp neofcbzip2-static.vcproj neofcbzip2-static.dev \
+ Makefile.am.static Makefile.am.dynamic
+
+-libneofcbzip2_la_LIBADD = @NEOENGINE_EXTRA_LIBS@
++libneofcbzip2_la_LIBADD = @NEOENGINE_EXTRA_LIBS@ -lbz2
+
+ # set the include path found by configure
+ INCLUDES = -I..
+--- neoicjpeg/Makefile.am.dynamic.old 2004-03-22 11:04:21.000000000 +0100
++++ neoicjpeg/Makefile.am.dynamic 2009-03-02 10:26:00.000000000 +0100
+@@ -1,15 +1,7 @@
+
+ lib_LTLIBRARIES = libneoicjpeg.la
+
+-libneoicjpeg_la_SOURCES = neoicjpeg.cpp \
+- jcapimin.c jcmarker.c jdapimin.c jdinput.c jdtrans.c jidctred.c jquant1.c \
+- jcapistd.c jcmaster.c jdapistd.c jdmainct.c jerror.c jquant2.c \
+- jccoefct.c jcomapi.c jdatadst.c jdmarker.c jfdctflt.c jutils.c \
+- jccolor.c jcparam.c jdatasrc.c jdmaster.c jfdctfst.c \
+- jcdctmgr.c jcphuff.c jdcoefct.c jdmerge.c jfdctint.c jmemmgr.c \
+- jchuff.c jcprepct.c jdcolor.c jdphuff.c jidctflt.c \
+- jcinit.c jcsample.c jddctmgr.c jdpostct.c jidctfst.c jmemnobs.c \
+- jcmainct.c jctrans.c jdhuff.c jdsample.c jidctint.c
++libneoicjpeg_la_SOURCES = neoicjpeg.cpp
+
+ EXTRA_DIST = README jchuff.h jdhuff.h jmemsys.h jpeglib.h \
+ jconfig.h jerror.h jmorecfg.h jversion.h jdct.h \
+@@ -17,7 +9,7 @@
+ neoicjpeg-static.dsp neoicjpeg-static.vcproj neoicjpeg-static.dev \
+ Makefile.am.static Makefile.am.dynamic
+
+-libneoicjpeg_la_LIBADD = @NEOENGINE_EXTRA_LIBS@
++libneoicjpeg_la_LIBADD = @NEOENGINE_EXTRA_LIBS@ -ljpeg
+
+ # set the include path found by configure
+ INCLUDES = -I..
diff --git a/dev-games/neoengine/neoengine-0.8.2-r1.ebuild b/dev-games/neoengine/neoengine-0.8.2-r1.ebuild
new file mode 100644
index 000000000000..89cf097fed24
--- /dev/null
+++ b/dev-games/neoengine/neoengine-0.8.2-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/neoengine/neoengine-0.8.2-r1.ebuild,v 1.1 2009/03/02 10:33:41 tupone Exp $
+
+EAPI=2
+inherit eutils autotools
+
+DESCRIPTION="An open source, platform independent, 3D game engine written in C++"
+HOMEPAGE="http://www.neoengine.org/"
+SRC_URI="mirror://sourceforge/neoengine/${P}.tar.bz2"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE="doc"
+
+RDEPEND="virtual/opengl
+ media-libs/alsa-lib
+ media-libs/libpng
+ media-libs/jpeg"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/neoengine
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}"-gcc41.patch \
+ "${FILESDIR}/${P}"-gcc43.patch \
+ "${FILESDIR}"/${P}-nolibs.patch
+
+ ./setbuildtype.sh dynamic
+
+ eautoreconf || die "eautoreconf failed"
+ eautomake neodevopengl/Makefile || die "eautomake neodevopengl failed"
+ eautomake neodevalsa/Makefile || die "eautomake neodevalsa failed"
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ || die "econf failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+
+ if use doc; then
+ emake doc || die "emake doc failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog* NEWS README
+ use doc && dohtml -r *-api
+}