Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436552 - games-kids/memonix-bin is out of date
Summary: games-kids/memonix-bin is out of date
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-29 07:18 UTC by Mikhail Kurinnoi
Modified: 2012-11-18 08:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
memonix-1.6.ebuild (memonix-1.6.ebuild,1.04 KB, text/plain)
2012-11-15 02:21 UTC, Vicente Olivert Riera (RETIRED)
Details
memonix-1.6.ebuild (memonix-1.6.ebuild,1.04 KB, text/plain)
2012-11-15 02:33 UTC, Vicente Olivert Riera (RETIRED)
Details
memonix-1.6.ebuild (memonix-1.6.ebuild,1.02 KB, text/plain)
2012-11-15 02:37 UTC, Vicente Olivert Riera (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kurinnoi 2012-09-29 07:18:55 UTC
I recently upload new revision of Memonix code on our site, and was surprised that gentoo portages still have only games-kids/memonix-bin , and don't have games-kids/memonix 0_0

Here is all necessary information about Memonix compilation form sources: http://www.viewizard.com/download.php?forceos=linux&forcegame=memonix

Both x86 and amd64 arches are supported.
Comment 1 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-11-15 02:21:19 UTC
Created attachment 329576 [details]
memonix-1.6.ebuild
Comment 2 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-11-15 02:33:51 UTC
Created attachment 329578 [details]
memonix-1.6.ebuild
Comment 3 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-11-15 02:37:35 UTC
Created attachment 329582 [details]
memonix-1.6.ebuild
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-15 05:40:34 UTC
Comment on attachment 329582 [details]
memonix-1.6.ebuild

--- memonix-bin-1.6.ebuild      2009-11-21 20:33:55.000000000 +0100
+++ -   2012-11-15 06:40:17.548247829 +0100
@@ -1,35 +1,45 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/memonix-bin/memonix-bin-1.6.ebuild,v 1.4 2009/11/21 19:33:55 maekke Exp $
+# $Header: $

-inherit eutils games
+EAPI=4
+
+inherit cmake-utils games

-MY_PN=${PN%-bin}
 DESCRIPTION="Brain teasers, puzzle and memory games for kid's in one pack"
 HOMEPAGE="http://www.viewizard.com/memonix/"
-SRC_URI="http://www.viewizard.com/download/memx${PV//./}.tar.gz
-       mirror://gentoo/memonix-addons-1.tar.bz2"
+SRC_URI="http://www.viewizard.com/download/${PN}_${PV}_src.tar.bz2"
 
 LICENSE="Memonix"
 SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
-RESTRICT="strip"

-DEPEND=""
-RDEPEND=""
+DEPEND="dev-util/cmake"
+RDEPEND="media-libs/libsdl
+               media-libs/sdl-image
+               media-libs/sdl-mixer
+               !games-kids/memonix-bin"
+
+S="${WORKDIR}/MemonixSourceCode"

-S=${WORKDIR}/Memonix
+src_configure() {
+       cmake-utils_src_configure
+}
+
+src_compile() {
+       cmake-utils_src_compile
+}
 
 src_install() {
-       exeinto "${GAMES_PREFIX_OPT}/${MY_PN}"
-       doexe Memonix || die "doexe failed"
-       insinto "${GAMES_PREFIX_OPT}/${MY_PN}"
-       doins gamedata.vfs "${WORKDIR}"/addons/* || die "doins failed"
-       dodoc Changes ReadMe
-
-       games_make_wrapper ${MY_PN} "./Memonix" "${GAMES_PREFIX_OPT}/${MY_PN}"
-       newicon icon48.png ${MY_PN}.png || die "newicon failed"
-       make_desktop_entry ${MY_PN} "Memonix" ${MY_PN}
+       dodoc ReadMe.txt
+       cd ..
+       exeinto "${GAMES_DATADIR}/${PN}"
+       doexe "${P}_build/Memonix" || die "doexe failed"
+       insinto "${GAMES_DATADIR}/${PN}"
+       doins "gamedata.vfs" || die "doins failed"
+       games_make_wrapper ${PN} "${GAMES_DATADIR}/${PN}/Memonix" "${GAMES_DATADIR}/${PN}"
+       newicon "icon48.png" "${PN}.png" || die "newicon failed"
+       make_desktop_entry ${PN}
        prepgamesdirs
 }
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2012-11-17 07:56:57 UTC
in portage.
Comment 6 Mikhail Kurinnoi 2012-11-18 08:01:17 UTC
Please note, game license should be GPLv3 for open source version of Memonix.