diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-12-31 18:41:03 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-12-31 18:41:03 +0000 |
commit | a21baa6ec1c4473a92716344d7fc4b3d01003058 (patch) | |
tree | 179dec09491811589c9cbcbd37baa71b75fcfc65 /games-kids/gcompris/gcompris-4.2-r1.ebuild | |
parent | Fix bug that causes awk script to fail when pipe is not closed. Closes bug 36792 (diff) | |
download | gentoo-2-a21baa6ec1c4473a92716344d7fc4b3d01003058.tar.gz gentoo-2-a21baa6ec1c4473a92716344d7fc4b3d01003058.tar.bz2 gentoo-2-a21baa6ec1c4473a92716344d7fc4b3d01003058.zip |
fix segfault #35443
Diffstat (limited to 'games-kids/gcompris/gcompris-4.2-r1.ebuild')
-rw-r--r-- | games-kids/gcompris/gcompris-4.2-r1.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/games-kids/gcompris/gcompris-4.2-r1.ebuild b/games-kids/gcompris/gcompris-4.2-r1.ebuild new file mode 100644 index 000000000000..1f16e8391344 --- /dev/null +++ b/games-kids/gcompris/gcompris-4.2-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: initial version by Ron Simpkin doobedoobedo@quake3world.com + +inherit games + +DESCRIPTION="full featured educational application for children from 3 to 10" +HOMEPAGE="http://ofset.sourceforge.net/gcompris/" +SRC_URI="mirror://sourceforge/gcompris/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="oggvorbis nls python" + +DEPEND="virtual/x11 + >=sys-apps/sed-4 + >=gnome-base/libgnome-1.96.0 + >=gnome-base/libgnomeui-1.96.0 + >=gnome-base/libgnomecanvas-2.0.2 + >=dev-libs/glib-2.0 + =x11-libs/gtk+-2* + dev-libs/libassetml + dev-libs/libxml2 + games-board/gnuchess + sys-apps/texinfo + app-text/texi2html + python? ( dev-lang/python ) + oggvorbis? ( media-libs/libogg + media-libs/libvorbis + media-libs/libao )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-lang.patch +} + +src_compile() { + export GNUCHESS="${GAMES_BINDIR}/gnuchess" + + local myconf="" + use oggvorbis && myconf="${myconf} --with-ogg=/usr --with-vorbis=/usr --with-ao=/usr" + use python && myconf="${myconf} --with-python=`which python`" +# egamesconf ${myconf} || die +# for f in `grep -Rl /usr/games/share *` ; do +# sed -i \ +# -e "s:${GAMES_PREFIX}/share/gnome:/usr/share/gnome:g" \ +# -e "s:${GAMES_PREFIX}/share:${GAMES_DATADIR}:g" \ +# ${f} || die "sed ${f} failed" +# done + econf ${myconf} || die + + emake || die "emake failed" +} + +src_install() { + make install DESTDIR=${D} || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS TODO +# mv ${D}/${GAMES_DATADIR}/{locale,gnome,pixmaps} ${D}/usr/share/ +# rm -rf ${D}/${GAMES_LIBDIR}/menu +# if [ ! `use nls` ] ; then +# rm -rf ${D}/usr/share/locale +# cd ${D}/${GAMES_DATADIR}/gcompris/boards/sounds +# rm -rf `find -type d -maxdepth 1 -mindepth 1 ! -name en` +# fi +# prepgamesdirs +} |