summaryrefslogtreecommitdiff
path: root/games-sports/xmoto
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-sports/xmoto
reinit the tree, so we can have metadata
Diffstat (limited to 'games-sports/xmoto')
-rw-r--r--games-sports/xmoto/Manifest8
-rw-r--r--games-sports/xmoto/metadata.xml11
-rw-r--r--games-sports/xmoto/xmoto-0.5.11-r1.ebuild96
-rw-r--r--games-sports/xmoto/xmoto-0.5.11.ebuild96
4 files changed, 211 insertions, 0 deletions
diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest
new file mode 100644
index 000000000000..fc11347f914a
--- /dev/null
+++ b/games-sports/xmoto/Manifest
@@ -0,0 +1,8 @@
+DIST inksmoto-0.7.0.tar.gz 2628941 SHA256 60bd1369d4c347e127886a5813af13daf39b56ce818c9f8b2fc7d4bba0af7e11 SHA512 af0ae49ea160a2274f6835abd82ccaa00dc9ff81875b7d4ea29789388c131b519cb77e6da42efeaf51d52b97090c67320af38145204a1d5418781c99cb23a704 WHIRLPOOL e7137f1f23815cdef1061896b8dd687af38a79be341827dcaa437c39de95a98d94b4173d973899a8422c3e77088da11869957996f21c2822d8cfddf15b6a7ea6
+DIST xmoto-0.5.11-src.tar.gz 40785573 SHA256 a584a6f9292b184686b72c78f16de4b82d5c5b72ad89e41912ff50d03eca26b2 SHA512 7046745e8f7a045fa2ce1deb3fd75b73b233dc1092f5ecd6dd4e42938f70269a93a3a623a39a1f0520c90643a42dc1ce93c43ad07bf225ff6c50741cc02511f6 WHIRLPOOL 9301a6456dea420cc92706022b9003446363d90591f6c90977a1e85195419f42d168456db61077d4e757976ee7ccbb183e6337fda4a683334cea796aa65a7c3b
+DIST xmoto_0.5.11+dfsg-6.debian.tar.xz 25240 SHA256 066a62c61c026a5bb698058023db058f6192c062e48c04edcae73abc608eb0d2 SHA512 961f97a3427e77cf020d73820ff99fdc0ca81e5953a18ed9386a1b476eb2af897073adcd7141e993fbf4f8fdca9efdab8cf20b89bfc31196afdcb4f2095ab390 WHIRLPOOL d1c57655ff095d4edb81643c65a4c9530c7287cf79d7a20247b33a4f33b0e3a83afc798ac5248e8f097c9a38cb54a104fb7e125071b27e3e27ba5a9bfccd8aa3
+EBUILD xmoto-0.5.11-r1.ebuild 2604 SHA256 e68e6f0b40889debb6c9068cb423c03e612d7bdc324498a99612c9c6387a6f0c SHA512 4b8e1c280fe9bd3d1dd1bc1f3f54201cf7564fe67080462335c16fca93bc24ab302713fbe3278aef404fe2f2952dd70968365736194f57db29d8569b1a4d2c1d WHIRLPOOL 58308466edd14dcc30645771403edbf1350c3d44efd8ab148a9b4ff0288da8ccf928de5b51fa0c4c138dca5e5fe91f53823ba7be4d1b739780754c95bb3dd358
+EBUILD xmoto-0.5.11.ebuild 2660 SHA256 efb22c8c37dff3e2a80dfe8bce6c559fe1a55aa145262ecca90f47fa85ef429e SHA512 70b21d085d3629e93e65016cb14b99228aa59a3f4acb1aca89ef390ccd482705d1b2ee59ef96a95295c8e613c80427037deb52787899a268cace835e786985ab WHIRLPOOL c15a2e7f7acf41e8a7c90b5ea848000064717249890b73dbd0f166e695360f8358bb54449818fcc9bc3dd736ed3891eaddb6df2bd71574d2713af6959e6d6cb7
+MISC ChangeLog 3326 SHA256 bbe279f0a80c5dfba95f2d2789f00a4f9faf2c0a71acdcdc1da108211b3af9f4 SHA512 7cc70ce8446b6371645d968d509b69ef2b3da976625a91534915b773855ec272e159e91a8e65d863fff00f6a59769450ba9869423f5034c4342a412477a4079d WHIRLPOOL 7b50d93a8e62aec00750578eb49912d8eb62b6c6389d54d4afb94e05c69febb4dc5cba3c6a14d041b02934e75d37a9d080223b035207c81dd8ae915a5009bf42
+MISC ChangeLog-2015 9984 SHA256 6927f270d21b78282cb9008e73eb1639245d165010e28b9654ea6a4e660e70a3 SHA512 7409891e44c31679d8f553f631cb6cf1bb8e9ab24031a35b82bd9b9ae55ef7401b32d3c6ee79791306cdc5881c80fe999eb820f635f0d8dc1e01799b743055d9 WHIRLPOOL a9efc469528e18a7251a4ac41b6050e4f69663d87c93ab052bac0095d91291b4124f21020f58052cf9a55419015a7a679874d37befcd89b2bfaaad8bd3f8ae89
+MISC metadata.xml 369 SHA256 86a15721fc1a51247d53e9e68fcc71056b03dff9641851aa4e291739d396526a SHA512 392f5a45194ba2a42e56516d171862c7255094d88b5cce82a3e8135441399b02dd4d35c98e3649de3a4c7fd3212f31582a00a6118acee7216e6537ea17388cd8 WHIRLPOOL 726ca653152d4219c47aeb99cafb5b09a8a39e0e0d6f2e650192b5a73534f97dd90370df86075bb581e61edfa9f5e72843c287390836da5418f3264d66f04b72
diff --git a/games-sports/xmoto/metadata.xml b/games-sports/xmoto/metadata.xml
new file mode 100644
index 000000000000..23c7b787914a
--- /dev/null
+++ b/games-sports/xmoto/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <use>
+ <flag name="editor">Depend on inkscape, scripts to convert svg to level (svg2lvl)</flag>
+ </use>
+</pkgmetadata>
diff --git a/games-sports/xmoto/xmoto-0.5.11-r1.ebuild b/games-sports/xmoto/xmoto-0.5.11-r1.ebuild
new file mode 100644
index 000000000000..b6e40c184637
--- /dev/null
+++ b/games-sports/xmoto/xmoto-0.5.11-r1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils flag-o-matic
+
+LVL_PV="0.7.0" #they unfortunately don't release both at the same time, why ~ as separator :(
+LVL="inksmoto-${LVL_PV}"
+DEB_PV=6
+DESCRIPTION="A challenging 2D motocross platform game"
+HOMEPAGE="http://xmoto.tuxfamily.org"
+SRC_URI="http://download.tuxfamily.org/xmoto/xmoto/${PV}/${P}-src.tar.gz
+ mirror://debian/pool/main/x/${PN}/${PN}_${PV}+dfsg-${DEB_PV}.debian.tar.xz
+ editor? ( http://download.tuxfamily.org/xmoto/svg2lvl/${LVL_PV}/${LVL}.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="editor nls"
+
+RDEPEND="
+ app-arch/bzip2
+ dev-db/sqlite:3
+ dev-games/ode
+ dev-lang/lua:0[deprecated]
+ dev-libs/libxdg-basedir
+ dev-libs/libxml2
+ media-fonts/dejavu
+ media-libs/libpng:0
+ media-libs/libsdl[joystick,opengl]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-net
+ media-libs/sdl-ttf
+ net-misc/curl
+ virtual/jpeg:0
+ virtual/opengl
+ virtual/glu
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ nls? ( sys-devel/gettext )"
+RDEPEND="${RDEPEND}
+ editor? ( media-gfx/inkscape )"
+
+src_prepare() {
+ default
+
+ EPATCH_SOURCE="${WORKDIR}/debian/patches" \
+ epatch $(cat ${WORKDIR}/debian/patches/series)
+ use editor && rm -vf "${WORKDIR}"/extensions/{bezmisc,inkex}.py
+ sed -i \
+ -e '/^gettextsrcdir/s:=.*:= @localedir@/gettext/po:' \
+ po/Makefile.in.in || die
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_configure() {
+ # bug #289792
+ filter-flags -DdDOUBLE -DdSINGLE
+
+ # bug #569624 - ode-0.13 needs one or the other defined
+ append-cppflags -Dd$(has_version 'dev-games/ode[double-precision]' && echo DOUBLE || echo SINGLE)
+
+ econf \
+ --enable-threads=posix \
+ $(use_enable nls) \
+ --localedir=/usr/share/locale \
+ --with-localesdir=/usr/share/locale \
+ --with-renderer-sdlGfx=0 \
+ --with-renderer-openGl=1
+}
+
+src_install() {
+ default
+
+ rm -f "${D}/usr/share/xmoto"/Textures/Fonts/DejaVu*.ttf
+ dosym /usr/share/fonts/dejavu/DejaVuSans.ttf /usr/share/xmoto/Textures/Fonts/DejaVuSans.ttf
+ dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf /usr/share/xmoto/Textures/Fonts/DejaVuSansMono.ttf
+ doicon extra/xmoto.xpm
+ make_desktop_entry xmoto Xmoto
+
+ if use editor; then
+ insinto /usr/share/inkscape/
+ doins -r "${WORKDIR}"/extensions/
+ fi
+}
+
+pkg_postinst() {
+ if use editor; then
+ elog "If you want to know how to create Xmoto levels"
+ elog "have a look at this Tutorial:"
+ elog " http://wiki.xmoto.tuxfamily.org/index.php?title=Inksmoto-${LVL_PV}"
+ elog "You can share your levels on the Xmoto homepage."
+ fi
+}
diff --git a/games-sports/xmoto/xmoto-0.5.11.ebuild b/games-sports/xmoto/xmoto-0.5.11.ebuild
new file mode 100644
index 000000000000..99e74c4c2098
--- /dev/null
+++ b/games-sports/xmoto/xmoto-0.5.11.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils flag-o-matic games
+
+LVL_PV="0.7.0" #they unfortunately don't release both at the same time, why ~ as separator :(
+LVL="inksmoto-${LVL_PV}"
+DEB_PV=6
+DESCRIPTION="A challenging 2D motocross platform game"
+HOMEPAGE="http://xmoto.tuxfamily.org"
+SRC_URI="http://download.tuxfamily.org/xmoto/xmoto/${PV}/${P}-src.tar.gz
+ mirror://debian/pool/main/x/${PN}/${PN}_${PV}+dfsg-${DEB_PV}.debian.tar.xz
+ editor? ( http://download.tuxfamily.org/xmoto/svg2lvl/${LVL_PV}/${LVL}.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="editor nls"
+
+RDEPEND="
+ dev-libs/libxdg-basedir
+ dev-db/sqlite:3
+ dev-games/ode
+ dev-lang/lua:0[deprecated]
+ virtual/jpeg:0
+ media-libs/libpng:0
+ dev-libs/libxml2
+ media-libs/libsdl[joystick,opengl]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-ttf
+ media-libs/sdl-net
+ net-misc/curl
+ app-arch/bzip2
+ virtual/opengl
+ virtual/glu
+ media-fonts/dejavu
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ nls? ( sys-devel/gettext )"
+RDEPEND="${RDEPEND}
+ editor? ( media-gfx/inkscape )"
+
+src_prepare() {
+ EPATCH_SOURCE="${WORKDIR}/debian/patches" \
+ epatch $(cat ${WORKDIR}/debian/patches/series)
+ use editor && rm -vf "${WORKDIR}"/extensions/{bezmisc,inkex}.py
+ sed -i \
+ -e '/^gettextsrcdir/s:=.*:= @localedir@/gettext/po:' \
+ po/Makefile.in.in || die
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_configure() {
+ # bug #289792
+ filter-flags -DdDOUBLE -DdSINGLE
+ # bug #569624 - ode-0.13 needs one or the other defined
+ append-cppflags -Dd$(has_version 'dev-games/ode[double-precision]' && echo DOUBLE || echo SINGLE)
+
+ egamesconf \
+ --enable-threads=posix \
+ $(use_enable nls) \
+ --localedir=/usr/share/locale \
+ --with-localesdir=/usr/share/locale \
+ --with-renderer-sdlGfx=0 \
+ --with-renderer-openGl=1
+}
+
+src_install() {
+ default
+
+ rm -f "${D}${GAMES_DATADIR}/xmoto"/Textures/Fonts/DejaVu*.ttf
+ dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}/xmoto"/Textures/Fonts/DejaVuSans.ttf
+ dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf "${GAMES_DATADIR}/xmoto"/Textures/Fonts/DejaVuSansMono.ttf
+ doicon extra/xmoto.xpm
+ make_desktop_entry xmoto Xmoto
+
+ prepgamesdirs
+
+ if use editor; then
+ insinto /usr/share/inkscape/
+ doins -r "${WORKDIR}"/extensions/
+ fi
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if use editor; then
+ elog "If you want to know how to create Xmoto levels"
+ elog "have a look at this Tutorial:"
+ elog " http://wiki.xmoto.tuxfamily.org/index.php?title=Inksmoto-${LVL_PV}"
+ elog "You can share your levels on the Xmoto homepage."
+ fi
+}