diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-01-28 17:47:13 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-01-28 17:47:13 +0000 |
commit | d074845dcc5988e3bedf0b97af661229cdeac7be (patch) | |
tree | daf95d0cfc6bd9c73ce2f7ec2185f47c7c857cd1 /games-kids/gcompris | |
parent | Fix strip mask for *bsd for #494418, thanks to Uta Satoh. (diff) | |
download | historical-d074845dcc5988e3bedf0b97af661229cdeac7be.tar.gz historical-d074845dcc5988e3bedf0b97af661229cdeac7be.tar.bz2 historical-d074845dcc5988e3bedf0b97af661229cdeac7be.zip |
old
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'games-kids/gcompris')
-rw-r--r-- | games-kids/gcompris/ChangeLog | 7 | ||||
-rw-r--r-- | games-kids/gcompris/Manifest | 27 | ||||
-rw-r--r-- | games-kids/gcompris/files/gcompris-12.11-build.patch | 107 | ||||
-rw-r--r-- | games-kids/gcompris/files/gcompris-12.11-underlinking.patch | 18 | ||||
-rw-r--r-- | games-kids/gcompris/gcompris-12.11-r1.ebuild | 98 | ||||
-rw-r--r-- | games-kids/gcompris/gcompris-12.11.ebuild | 98 |
6 files changed, 7 insertions, 348 deletions
diff --git a/games-kids/gcompris/ChangeLog b/games-kids/gcompris/ChangeLog index 2ece22f3d715..9eafab6813b8 100644 --- a/games-kids/gcompris/ChangeLog +++ b/games-kids/gcompris/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-kids/gcompris # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.99 2014/01/26 10:55:49 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.100 2014/01/28 17:47:08 mr_bones_ Exp $ + + 28 Jan 2014; Michael Sterrett <mr_bones_@gentoo.org> + -files/gcompris-12.11-build.patch, -files/gcompris-12.11-underlinking.patch, + -gcompris-12.11-r1.ebuild, -gcompris-12.11.ebuild: + old 26 Jan 2014; Agostino Sarubbo <ago@gentoo.org> gcompris-13.11.ebuild: Stable for x86, wrt bug #498266 diff --git a/games-kids/gcompris/Manifest b/games-kids/gcompris/Manifest index ceca517f8914..ae669c8e3ca8 100644 --- a/games-kids/gcompris/Manifest +++ b/games-kids/gcompris/Manifest @@ -1,30 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX gcompris-12.11-build.patch 4287 SHA256 5dc68273de5a8a998d39c70110a80bea2870b941f133c86f8323dc19c09f3dd9 SHA512 54564c502b29f955b406e2652335d72a8fd6162ab0837a9f29cfe01c60583a87a1ec53e325ed7a70a7d1538413d01aa5d6336d00ad6b1a9b6897cae0edddba44 WHIRLPOOL 7f20d717a777c62fdb5f790356d0f8a8c183f9496fee350000ad1310b98b738ff71eff8c8d4b17b3cccd7874f79277e9da93f84c2a7bd3e24bba4feea8ce964b -AUX gcompris-12.11-underlinking.patch 444 SHA256 734387cb438ab31d6735cec3718c7249c58e5906f588b113efa92a22ec8745c8 SHA512 a051ad5775d417804ca47885a6d0d07f11e053afcc670c8d4c75e37841ace308bfb54772ac6399e2b8cc84000c26a294e40aef97c7f0123a451dd48a22e52138 WHIRLPOOL 7ba523ccbd6f6544842b24f33ad563b85e543070bd004936a4ddc836201ee824e2cd49466ae3019c34ba8a5fc8a3c5893afc0e7a6f24bc3f83c67de291cc14c0 AUX gcompris-13.11-build.patch 3270 SHA256 0b76fe744a8f5b3cd25a504ca4168268a295c623ae6b73424b977bf5dce8cc9a SHA512 01d1027a831950f903a30e7f31c6b3a79bd4e8fd5ad35252f9809e74d6f8a2b504c2d770bf332d0ba16937e926e1e410188e31c61d78cfc6c904b9e7c5ff48d4 WHIRLPOOL cf0c1f8b9edcc86c5d613ae022fed7da58d402a42e5b5f49b864f149a4e24192720c02e5a83f6ebee3a75b9b317e3ab828f2759b2ba4b7fa803454e090ffbfea -DIST gcompris-12.11.tar.bz2 167528452 SHA256 97b688497963cc907e3d91f844483fb006a07b22010528dafb09ae5380523b20 SHA512 f60e9c3a5e4d781fb550b628d46f6af582a1a7de67271699b6f2abdc905250efca31d444b4cf3aa63044f7183fc8139d68849850738098d766bf5ff3fcc08916 WHIRLPOOL 9a0888b510dd5f23864f30fd1eb10ab8c140ce75f745c5705a28a72d41780259e726c74183e828fd6a04ad4caf3321ae7afc0322909e03a6b8b1a7faf93a329b DIST gcompris-13.11.tar.bz2 264431313 SHA256 418dad2c8f0fc90e16e97ab67b6700e3af5f33ae05d83f28f3b1117183f88c57 SHA512 c74abb948559944cb8552ee8d3f760d598b04e9962f3650fb356775df568a27f5f9436fec9fc1348af1d0802434337494a0be909ffc7adfa6873e74dcbc9cbee WHIRLPOOL d25e3d3e4504e05a43ec95457c7ac6a194738e07339c9372619f76332aefa2efc9d82e2d3583cb72e113a2f3126bca96655fc0f62a61ce86133c66a9a8405bf0 -EBUILD gcompris-12.11-r1.ebuild 2401 SHA256 f84b70f544617bb546151123f989990a9d2b27bd615fd19a52193387a20d1073 SHA512 e9dff727cca671bc077b2849c55ae37a9b3e2241bcae1ed5be981303309917ada44c55d6e00c85586141910df01ea485bcc2fb35ce226037d9ea6ed2239de673 WHIRLPOOL 89e0f3845e0ae27703b8cf4413463403e7bf3dc82834a035ecfc90a1a212d59c13413b8ba01b36475fca03dbcf0f0bbfb19440c3679f9c407c42ab9e53470228 -EBUILD gcompris-12.11.ebuild 2336 SHA256 dba0f72fa03e9d592bcd6ddf7642548fc267aed890661b335e91993c8e8e2700 SHA512 e3dcc9ab7f135d4c471e57e7fdfdf4fe1b6e27ecbe4f7024d96084671491b3d9e75d1c774c3ecbc45f9d9df8bf369f26fb800ae800e9eeded9b8cdf651943e62 WHIRLPOOL cc43e8c1184689575d8e9011b38c65975888bcf542ca9b4838166e3e190d67c05d678533b6e763ea964fd36c7670a4c3a6e40bdd24482b1a9e21271ae19197ec EBUILD gcompris-13.11.ebuild 2335 SHA256 7d84ad2064785769dfbe60576ba2cf2d79e9f74546d9d2777cbc51c50e070d7f SHA512 0fa024409e3e1a65507060a2d1cc3dc04b2fbecef00144e6d5999bec469dc71b1bb04effb0ca18691688a9afab253c16fd7da0c8f71b54083b25ca2305bbe4b7 WHIRLPOOL 55c222cd4f0a637b84a06bb2778cf13750f9e50a00099298a851d208280d61320cdf99a041dbbdbf11cf774a6d1f940e012c1183a1b30175d581e54d8a00c70b -MISC ChangeLog 14399 SHA256 353364b74e4944edaeff7d461dde88f670f22a1bd7f5b952018b23940c172fa2 SHA512 8db2b5e5f6d8cfaf1d42f9cc548877d80cabbb8a456d21f461d88fd06a93514949a7e6a478ae35f27f9b2e89715666a456d50c47ce3d606540fbbbd6b91a2515 WHIRLPOOL 8a4f54713d3d6e32329f7e31a4992e14350f2f9eeaac863e487dc8a33c7db245c8c1a73530fd79bf07267d5fb333d92274b03b700e7c1ef05a821187aa063eb8 +MISC ChangeLog 14600 SHA256 3326fec92a37fd3c4d3fe014de673570ad071dd88824821ae14730f4b75c17ab SHA512 0e68caf752c43d5da1aaea24e082ca15d74449367c7dcffb33b626d7a7c38838beacb28de371715101037d0be06544c88d05efeb18f6d334813147fedb1e9155 WHIRLPOOL 25e21446dda8eee8c5a7368f50a6820f6cea8164392e4d2086b1a661bffc39d0173551b1c813ffee26a033eb9e80b8a3f6bb6b7e4f31c5ad1fe931faaa06373a MISC metadata.xml 160 SHA256 5ac0a3647e8149d52ce55d391cf1680ac52d6f0330be21c3bca4790b971b5e5d SHA512 e5ae2b384aa96a402995bf0e8b4c29d38d57f1ebc44eeca71d7eda9a29431b7737c3c3a5df053e868a21c21abb457658344e7fb7c2102d4625a160273048c2db WHIRLPOOL b626c8afedc54ba9adb429cb53f860c0165702b1cea15f5c84c4e458cc94f28755ec66c5b73d9ecc155c1de70c82e1d79ba859c2124d0a78437681f2786e1246 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) - -iQIcBAEBCAAGBQJS5Om2AAoJELp701BxlEWfb10QALExwiU1EVD6N4Zm8bkVs2tK -8Np2m109f/F2sa1oYDIqY2gYV86P6ThWhT8z3KfaifiAq+lCMK28LKiYRXAVV9TI -lwAYdFm9Hc93iXo/aHr1wEvvAFZzeYB/kd8onknd0byqHO71tT6OLJXoJWyA70ql -K5Xnzr32A8aX8B1MXeKvSxYJsFmu2/rpQYYHdE9bmUoe35jrpjCOu2l6xPiS0Ajp -5p8WDFHa9vYdcHchKlPRDRjMX+mc4dGz3KvMkRBRvx68f9Tv9a8/fWK3rloyq45J -oPjT/A1s6W0K4AL4Xo13820zgV8fDslDdBypK2aefyQy6fxOkqTUPD6jzHd/bwj9 -W9lTP+bhEy/dcq7teOJjvk1lslI+twBGH74O+CbzPBeeozWvNV2nduglpK8T+sIQ -IOSDP6Jhrsfu9ud8ewzl6MdanHrZcbpeGu+tJ3TMNMrwzA9aXeEUWHXgW+jx2soQ -oA4JKEKjkL8Kl/0Xm4EViXLG8UeoZmtNVp4MxedYlPvzub1ynDv0SMu8FBFgh7PS -AakZjRaVjDCNN808kP7BrrhMfwgEMmeMVvuk4ToFSlO7HUzS0EAM6ybprkxzwXHp -e0VGMEsPcqP+WKVLkMTcNHeLLKBLBRC0/hmpMbmZ2cbViiJiHUo7uvvdGePsuKeN -L8Eq/Znz+SM8BdIP2K/w -=zs7h ------END PGP SIGNATURE----- diff --git a/games-kids/gcompris/files/gcompris-12.11-build.patch b/games-kids/gcompris/files/gcompris-12.11-build.patch deleted file mode 100644 index 02432de06474..000000000000 --- a/games-kids/gcompris/files/gcompris-12.11-build.patch +++ /dev/null @@ -1,107 +0,0 @@ -diff -ru gcompris-12.11.orig/Makefile.am gcompris-12.11/Makefile.am ---- gcompris-12.11.orig/Makefile.am 2012-05-29 13:39:35.000000000 -0400 -+++ gcompris-12.11/Makefile.am 2012-11-28 15:13:10.438931729 -0500 -@@ -17,7 +17,7 @@ - # endif - - --icondir=$(datadir)/pixmaps -+icondir=/usr/share/pixmaps - icon_DATA = gcompris.png gcompris-edit.png - - if BUILD_MINGW32 -@@ -25,7 +25,7 @@ - Applications_in_files = - Applications_DATA = - else --Applicationsdir = $(datadir)/applications/ -+Applicationsdir = /usr/share/applications/ - Applications_in_files = gcompris.desktop.in gcompris-edit.desktop.in - Applications_DATA = gcompris.desktop gcompris-edit.desktop - endif -diff -ru gcompris-12.11.orig/configure.ac gcompris-12.11/configure.ac ---- gcompris-12.11.orig/configure.ac 2012-11-18 11:18:29.000000000 -0500 -+++ gcompris-12.11/configure.ac 2012-11-28 15:16:34.904426137 -0500 -@@ -204,10 +204,8 @@ - USE_DEBUG="$enableval", USE_DEBUG="no") - if test "x$USE_DEBUG" == "xyes" ; then - AC_DEFINE_UNQUOTED(DEBUG, 1, "Enable debug messages.") -- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -g" --else -- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -O2" - fi -+CFLAGS="$CFLAGS $OSX_CFLAGS -Wall" - - dnl disable activation code - AC_ARG_ENABLE(disable-activation-code, -@@ -345,21 +343,21 @@ - fi - else - dnl Set PACKAGE_LOCALE_DIR in config.h. -- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${myprefix}/${DATADIRNAME}/locale", [GCompris locale directory]) -+ AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "/usr/share/locale", [GCompris locale directory]) - - dnl Set PACKAGE_DATA_DIR - PACKAGE_DATA_DIR="boards" - AC_SUBST(PACKAGE_DATA_DIR) -- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${myprefix}/${DATADIRNAME}", [GCompris data directory]) -+ AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}", [GCompris data directory]) - - dnl Plugin Directory - my_libdir=`eval echo "${libdir}"` -- AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${my_libdir}", [Gcompris plugins directory]) -+ AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${libdir}", [Gcompris plugins directory]) - plugindir=$libdir/gcompris - AC_SUBST(plugindir) - - dnl Python plugin Directory -- PYTHON_PLUGIN_DIR="${myprefix}/${DATADIRNAME}/${PACKAGE}/python" -+ PYTHON_PLUGIN_DIR="${datadir}/${PACKAGE}/python" - AC_SUBST(PYTHON_PLUGIN_DIR) - - dnl System GCompris config directory -@@ -367,7 +365,7 @@ - - dnl Test for gnuchess - if test x$build_gnuchess = xno; then -- AC_PATH_PROGS(GNUCHESS, gnuchess gnome-gnuchess, no, [/usr/bin:/usr/games:/usr/local/bin:$PATH]) -+ AC_PATH_PROGS(GNUCHESS, gnuchess gnome-gnuchess, no, [/usr/games/bin:/usr/bin:/usr/games:/usr/local/bin:$PATH]) - else - GNUCHESS="gcompris-gnuchess" - fi -diff -ru gcompris-12.11.orig/docs/C/Makefile.am gcompris-12.11/docs/C/Makefile.am ---- gcompris-12.11.orig/docs/C/Makefile.am 2012-09-16 09:25:23.000000000 -0400 -+++ gcompris-12.11/docs/C/Makefile.am 2012-11-28 15:17:02.551410995 -0500 -@@ -6,7 +6,7 @@ - - EXTRA_DIST = $(man_MANS) - --gcompris_helpdir = $(datadir)/gnome/help/$(PACKAGE)/C -+gcompris_helpdir = /usr/share/gnome/help/$(PACKAGE)/C - - # Info documentation is outdated and useless - #all: $(doc) -diff -ru gcompris-12.11.orig/docs/fr/Makefile.am gcompris-12.11/docs/fr/Makefile.am ---- gcompris-12.11.orig/docs/fr/Makefile.am 2012-09-16 09:25:23.000000000 -0400 -+++ gcompris-12.11/docs/fr/Makefile.am 2012-11-28 15:17:19.767778814 -0500 -@@ -6,7 +6,7 @@ - #EXTRA_DIST = topic.dat \ - # gcompris.texi - --gcompris_helpdir = $(datadir)/gnome/help/$(PACKAGE)/fr -+gcompris_helpdir = /usr/share/gnome/help/$(PACKAGE)/fr - - #all: $(doc) - -diff -ru gcompris-12.11.orig/src/gcompris/gcompris.c gcompris-12.11/src/gcompris/gcompris.c ---- gcompris-12.11.orig/src/gcompris/gcompris.c 2012-10-26 19:24:09.000000000 -0400 -+++ gcompris-12.11/src/gcompris/gcompris.c 2012-11-28 15:18:48.644514899 -0500 -@@ -1322,7 +1322,7 @@ - properties->package_plugin_dir = g_strconcat(pkg_clib_dir, "/gcompris", NULL); - properties->package_python_plugin_dir = g_strconcat(pkg_data_dir, "/gcompris/python", - NULL); -- properties->system_icon_dir = g_strconcat(pkg_data_dir, "/pixmaps", NULL); -+ properties->system_icon_dir = g_strconcat("/usr/share", "/pixmaps", NULL); - properties->menu_dir = g_strdup(properties->package_data_dir); - g_free(pkg_data_dir); - g_free(pkg_clib_dir); diff --git a/games-kids/gcompris/files/gcompris-12.11-underlinking.patch b/games-kids/gcompris/files/gcompris-12.11-underlinking.patch deleted file mode 100644 index 2270ad27f466..000000000000 --- a/games-kids/gcompris/files/gcompris-12.11-underlinking.patch +++ /dev/null @@ -1,18 +0,0 @@ -From: Julian Ospald <hasufell@gentoo.org> -Date: Sat Oct 26 19:40:23 UTC 2013 -Subject: fix underlinking - -https://bugs.gentoo.org/show_bug.cgi?id=488964 - ---- gcompris-12.11/configure.ac -+++ gcompris-12.11/configure.ac -@@ -57,7 +57,8 @@ - gtk+-2.0 >= $GTK_REQUIRED \ - librsvg-2.0 >= $LIBRSVG_REQUIRED \ - libxml-2.0 >= $LIBXML_REQUIRED \ -- gthread-2.0 ) -+ gthread-2.0 \ -+ gmodule-2.0 ) - - AC_SUBST(GCOMPRIS_CFLAGS) - AC_SUBST(GCOMPRIS_LIBS) diff --git a/games-kids/gcompris/gcompris-12.11-r1.ebuild b/games-kids/gcompris/gcompris-12.11-r1.ebuild deleted file mode 100644 index a51d1a0ba0e1..000000000000 --- a/games-kids/gcompris/gcompris-12.11-r1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-12.11-r1.ebuild,v 1.1 2013/10/26 20:49:32 hasufell Exp $ - -EAPI=5 -PYTHON_COMPAT=( python2_6 python2_7 ) -PYTHON_REQ_USE="sqlite,threads" - -inherit autotools eutils python-single-r1 games - -DESCRIPTION="full featured educational application for children from 2 to 10" -HOMEPAGE="http://gcompris.net/" -SRC_URI="mirror://sourceforge/gcompris/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="gstreamer" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="x11-libs/gtk+:2 - gnome-base/librsvg[gtk] - gstreamer? ( - media-libs/gstreamer:0.10 - media-libs/gst-plugins-good:0.10 - media-plugins/gst-plugins-ogg:0.10 - media-plugins/gst-plugins-alsa:0.10 - media-plugins/gst-plugins-vorbis:0.10 ) - !gstreamer? ( - media-libs/sdl-mixer - media-libs/libsdl:0 ) - dev-libs/libxml2 - dev-libs/popt - virtual/libintl - games-board/gnuchess - dev-db/sqlite:3 - dev-python/pygtk[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - gnome-base/gnome-common - dev-perl/XML-Parser - sys-devel/gettext - sys-apps/texinfo - app-text/texi2html - virtual/pkgconfig" -RDEPEND="${RDEPEND} - media-gfx/tuxpaint - sci-electronics/gnucap" - -pkg_setup() { - python-single-r1_pkg_setup - games_pkg_setup -} - -src_prepare() { - # Drop DEPRECATED flags, bug #387817 - sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \ - src/gcompris/Makefile.am src/gcompris/Makefile.in \ - src/goocanvas/src/Makefile.am src/goocanvas/src/Makefile.in \ - || die - - epatch "${FILESDIR}"/${P}-build.patch \ - "${FILESDIR}"/${P}-underlinking.patch - cp /usr/share/gettext/config.rpath . - eautoreconf - sed -i \ - -e 's#^itlocaledir =.*$#itlocaledir = @localedir@#' \ - po/Makefile.in.in || die - - # Fix desktop files - sed -i \ - -e '/Encoding/d' \ - gcompris.desktop.in \ - gcompris-edit.desktop.in || die -} - -src_configure() { - GNUCHESS="${GAMES_BINDIR}"/gnuchess \ - egamesconf \ - --datarootdir="${GAMES_DATADIR}" \ - --datadir="${GAMES_DATADIR}" \ - --localedir=/usr/share/locale \ - --infodir=/usr/share/info \ - --with-python="${PYTHON}" \ - $(use_enable !gstreamer sdlmixer) \ - --enable-sqlite \ - --enable-py-build-only -} - -src_compile() { - emake -j1 -} - -src_install() { - emake DESTDIR="${D}" install - prune_libtool_files --modules - dodoc AUTHORS ChangeLog NEWS README THANKS TODO - prepgamesdirs -} diff --git a/games-kids/gcompris/gcompris-12.11.ebuild b/games-kids/gcompris/gcompris-12.11.ebuild deleted file mode 100644 index 8f9b5a7ae34e..000000000000 --- a/games-kids/gcompris/gcompris-12.11.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-12.11.ebuild,v 1.6 2013/10/26 20:04:23 hasufell Exp $ - -EAPI=5 -PYTHON_DEPEND="2:2.6" -PYTHON_USE_WITH="sqlite threads" - -inherit autotools eutils python games - -DESCRIPTION="full featured educational application for children from 2 to 10" -HOMEPAGE="http://gcompris.net/" -SRC_URI="mirror://sourceforge/gcompris/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="gstreamer" - -RDEPEND="x11-libs/gtk+:2 - gnome-base/librsvg[gtk] - gstreamer? ( - media-libs/gstreamer:0.10 - media-libs/gst-plugins-good:0.10 - media-plugins/gst-plugins-ogg:0.10 - media-plugins/gst-plugins-alsa:0.10 - media-plugins/gst-plugins-vorbis:0.10 ) - !gstreamer? ( - media-libs/sdl-mixer - media-libs/libsdl:0 ) - dev-libs/libxml2 - dev-libs/popt - virtual/libintl - games-board/gnuchess - dev-db/sqlite:3 - dev-python/pygtk" -DEPEND="${RDEPEND} - gnome-base/gnome-common - dev-perl/XML-Parser - sys-devel/gettext - sys-apps/texinfo - app-text/texi2html - virtual/pkgconfig" -RDEPEND="${RDEPEND} - media-gfx/tuxpaint - sci-electronics/gnucap" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - games_pkg_setup -} - -src_prepare() { - # Drop DEPRECATED flags, bug #387817 - sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \ - src/gcompris/Makefile.am src/gcompris/Makefile.in \ - src/goocanvas/src/Makefile.am src/goocanvas/src/Makefile.in \ - || die - - epatch "${FILESDIR}"/${P}-build.patch \ - "${FILESDIR}"/${P}-underlinking.patch - cp /usr/share/gettext/config.rpath . - eautoreconf - sed -i \ - -e 's#^itlocaledir =.*$#itlocaledir = @localedir@#' \ - po/Makefile.in.in || die - - # Fix desktop files - sed -i \ - -e '/Encoding/d' \ - gcompris.desktop.in \ - gcompris-edit.desktop.in || die -} - -src_configure() { - GNUCHESS="${GAMES_BINDIR}"/gnuchess \ - egamesconf \ - --datarootdir="${GAMES_DATADIR}" \ - --datadir="${GAMES_DATADIR}" \ - --localedir=/usr/share/locale \ - --infodir=/usr/share/info \ - --with-python="$(PYTHON -a)" \ - $(use_enable !gstreamer sdlmixer) \ - --enable-sqlite \ - --enable-py-build-only -} - -src_compile() { - emake -j1 -} - -src_install() { - emake DESTDIR="${D}" install - prune_libtool_files --modules - dodoc AUTHORS ChangeLog NEWS README THANKS TODO - prepgamesdirs -} |