summaryrefslogtreecommitdiff
path: root/games-engines/love
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-engines/love
reinit the tree, so we can have metadata
Diffstat (limited to 'games-engines/love')
-rw-r--r--games-engines/love/Manifest9
-rw-r--r--games-engines/love/files/love-0.8.0-freetype2.patch34
-rw-r--r--games-engines/love/love-0.7.2-r1.ebuild43
-rw-r--r--games-engines/love/love-0.8.0.ebuild54
-rw-r--r--games-engines/love/love-9999.ebuild57
-rw-r--r--games-engines/love/metadata.xml12
6 files changed, 209 insertions, 0 deletions
diff --git a/games-engines/love/Manifest b/games-engines/love/Manifest
new file mode 100644
index 000000000000..22a13963b9dd
--- /dev/null
+++ b/games-engines/love/Manifest
@@ -0,0 +1,9 @@
+AUX love-0.8.0-freetype2.patch 823 SHA256 6cdff5d2fe0d027b94587cc9ed2cca49d054a798de3a02b067504f34cf14deec SHA512 fb4326f474b403cd3ec0bf679b4177dae070faf91848825c75800a2adb5ca1c91d26a555b61f7b031632fd64f50b239bfabb2967cb5e1d7ca1a249544faa0142 WHIRLPOOL bf624e165580c6356f993d8f2b9801713150582e826f914f79cb5108cd81c3e8844e8cb02378e206ea0d30114eea603aa2f90e9ce159e5c37fb07a535b2dffeb
+DIST love-0.7.2-linux-src.tar.gz 900209 SHA256 a57adcb0cbdc390a9bd8e2fe477bc175799b9ffd3486e01f859a36bf27f7f268 SHA512 cbca1d7e3425d1ecbdae019212dfa2814d8ac3bad1faedd4b052cf3e89b5bf2fac6e422283628e4c125858c9db050dee2129476d1a73ec44ffe8a4704f170f61 WHIRLPOOL 1c5258fefca15c71065e0cfff795bfaf30b7c9acabf89ffa5fd71311ce1ee767f98088dbac844f26f50fc69d2d8d384819fce69372f573a48f5d3848a2d1da8f
+DIST love-0.8.0-linux-src.tar.gz 1027356 SHA256 9167ca1cc7893ff1fdcf3b6fc7e2a88be10d899075a513942420fe8f94668ecc SHA512 6a0e28d102b950d3dddf7101996fe0ad04dfd7d4ec5e58797b41ef3382b60e74f90c6e707f882cf43cc0c5cc98703857eefc6418e6a6fd34e88f8019143f55a4 WHIRLPOOL 39c56d987d710b7589db0af3b6b5e59fc05d7e6e49b8e9f88a2a3fc050afe518d561517bb7b2a6428b30cda0322878801aafbdec98976831b37df56c3c02440c
+EBUILD love-0.7.2-r1.ebuild 923 SHA256 39c799587772fe0e15cb2844973a1de2f50da3b879e46bb32be2a25f59cb44d4 SHA512 864b5d00fc12bf45a5a1f95d3ef360c06213a1671b87a12ad1c64f871aaab25c5758decc8f09e36715876a490bdeeef06afc24edf38be4a01875cbbb0efee57f WHIRLPOOL 4a62891a63af2eae1c84d2cfcb76bc78e7cdd7d49e3668380c0f0c1a18607e82dbb816adfb4ec6792f597d6a44669d0ae320b5c410bc985619ba5c5c7e2cb20c
+EBUILD love-0.8.0.ebuild 1156 SHA256 06ab9014f65f8e6f3f4399a758a4fba0d6757387d440acf8bad1a05780a5877f SHA512 77e333916fb29698a1b4b76c97fea91a3b61f88c96a1adca9e3b233f55fb87bb4800b673e5674fb47308b6598b01dd00ded011ec6bc855ea19fa8c5cb29877ab WHIRLPOOL 64910572c940ca9e8e89a48982dd84408db5b121c4b05ba2ce3f072a983d7ba1e2950fe53266c9fee112d82a9485d80113a84843567eaa825652e7a274f64661
+EBUILD love-9999.ebuild 1203 SHA256 273f7e840516808dcc474189aa443803fa12cb8d7935abb7b4c5d33636555c03 SHA512 e3707435e698dee938bba065262618bc5fd24a366e1481f9b205c31b9b5042f495f04776fe1b42020ac4914d302949136914b009f0320c1c51bc18c6cf0e7866 WHIRLPOOL 93877c75a8949f81ca8f86ca1173cb685de10cc9cf8a6e908b0eac478d4bc756a0c599ed984f6d3511254f75f837a3d26331532e6422baa67698658c49074f38
+MISC ChangeLog 3180 SHA256 40897238376237643171d20923b1917be9153ef7dfdf5b76a64f53ca6069a523 SHA512 3f0567c8e1d1f536ca37bd4d629dde85a44706558cda799485351339be75cf9a2cc29cecc9b7f8b36c0142407ad7b1978f93976c26836de52d7f295ccba941e1 WHIRLPOOL 80ee2b64f12a711d444ef37acbcdaa20612ef39e8081386e547ebc0f2160a3f6f68b25be9c1ff0420136811877cbb705cfd59a5abf238493e32e822c1ed1d0b5
+MISC ChangeLog-2015 3066 SHA256 74b0bab8d61f11dca19490e75f4609a7a78b1e6b2d3c06e17b2bc13b2f640c0a SHA512 71fa2cd8210ffeb2e014d7a058e042962cbf3c16a07bb714cbb50fd0e79b4edc9b981731ccbb7da6ec61dff17f474ec65fd7601731c9e43ab926c14e079b1189 WHIRLPOOL 84b1174f9b3157952f122aa4cc02362c02bde1b9f1ae450b5da303fd9ba5ef16f2d3840a8e06a8fea2bf77fc6c431b45cec155ebb9d445054eb49c0b26f012b4
+MISC metadata.xml 379 SHA256 bcaf1053a0170d56b29ffc73b12f50bb90815caf1045432bd48860d9e93f3430 SHA512 ec81121ea013b5ee3e2863c317bad1c4e6c324f44d41202be5f105b7d0416f52d8a5144a9ab354dceb8793c947bf7cc85b192aaee65b0e3f44cfae19340e9399 WHIRLPOOL 2c7699db1110a80179a6da2ef375587aa95642396e9f32052d90d1d88fdd064845bd19b14ddde01efac25969f88cb8514364aac886c19c874bb1982b075205b0
diff --git a/games-engines/love/files/love-0.8.0-freetype2.patch b/games-engines/love/files/love-0.8.0-freetype2.patch
new file mode 100644
index 000000000000..07c655c41203
--- /dev/null
+++ b/games-engines/love/files/love-0.8.0-freetype2.patch
@@ -0,0 +1,34 @@
+--- love-0.8.0/src/modules/font/freetype/Font.h
++++ love-0.8.0/src/modules/font/freetype/Font.h
+@@ -30,10 +30,10 @@
+ #else
+ #include <ft2build.h>
+ #endif
+-#include <freetype/freetype.h>
+-#include <freetype/ftglyph.h>
+-#include <freetype/ftoutln.h>
+-#include <freetype/fttrigon.h>
++#include FT_FREETYPE_H
++#include FT_GLYPH_H
++#include FT_OUTLINE_H
++#include FT_TRIGONOMETRY_H
+
+ namespace love
+ {
+--- love-0.8.0/src/modules/font/freetype/TrueTypeRasterizer.h
++++ love-0.8.0/src/modules/font/freetype/TrueTypeRasterizer.h
+@@ -27,10 +27,10 @@
+
+ // TrueType2
+ #include <ft2build.h>
+-#include <freetype/freetype.h>
+-#include <freetype/ftglyph.h>
+-#include <freetype/ftoutln.h>
+-#include <freetype/fttrigon.h>
++#include FT_FREETYPE_H
++#include FT_GLYPH_H
++#include FT_OUTLINE_H
++#include FT_TRIGONOMETRY_H
+
+ namespace love
+ {
diff --git a/games-engines/love/love-0.7.2-r1.ebuild b/games-engines/love/love-0.7.2-r1.ebuild
new file mode 100644
index 000000000000..114a60337252
--- /dev/null
+++ b/games-engines/love/love-0.7.2-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="A framework for 2D games in Lua"
+HOMEPAGE="http://love2d.org/"
+SRC_URI="https://www.bitbucket.org/rude/${PN}/downloads/${P}-linux-src.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0.7"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="dev-games/physfs
+ dev-lang/lua[deprecated]
+ media-libs/devil[mng,png,tiff]
+ media-libs/freetype
+ media-libs/libmodplug
+ media-libs/libsdl[joystick,opengl]
+ media-libs/libvorbis
+ media-libs/openal
+ media-sound/mpg123
+ virtual/opengl"
+DEPEND="${RDEPEND}
+ media-libs/libmng
+ media-libs/tiff"
+
+S=${WORKDIR}/${PN}-HEAD
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.8.0-freetype2.patch
+}
+
+src_install() {
+ DOCS="readme.txt changes.txt" \
+ default
+ if [[ "${SLOT}" != "0" ]]; then
+ mv "${ED}${GAMES_BINDIR}"/${PN} \
+ "${ED}${GAMES_BINDIR}"/${PN}-${SLOT} || die
+ fi
+}
diff --git a/games-engines/love/love-0.8.0.ebuild b/games-engines/love/love-0.8.0.ebuild
new file mode 100644
index 000000000000..2d8f8f824c4e
--- /dev/null
+++ b/games-engines/love/love-0.8.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit games
+
+if [[ ${PV} == 9999* ]]; then
+ inherit autotools mercurial
+ EHG_REPO_URI="https://bitbucket.org/rude/${PN}"
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="https://www.bitbucket.org/rude/${PN}/downloads/${P}-linux-src.tar.gz"
+ KEYWORDS="amd64 ~arm x86"
+fi
+
+DESCRIPTION="A framework for 2D games in Lua"
+HOMEPAGE="http://love2d.org/"
+
+LICENSE="ZLIB"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-games/physfs
+ dev-lang/lua[deprecated]
+ media-libs/devil[mng,png,tiff]
+ media-libs/freetype
+ media-libs/libmodplug
+ media-libs/libsdl[joystick,opengl,video]
+ media-libs/libvorbis
+ media-libs/openal
+ media-sound/mpg123
+ virtual/opengl"
+DEPEND="${RDEPEND}
+ media-libs/libmng
+ media-libs/tiff"
+
+src_prepare() {
+ if [[ ${PV} == 9999* ]]; then
+ sh platform/unix/gen-makefile || die
+ mkdir platform/unix/m4 || die
+ eautoreconf
+ fi
+ epatch "${FILESDIR}"/${P}-freetype2.patch
+}
+
+src_install() {
+ DOCS="readme.md changes.txt" \
+ default
+ if [[ "${SLOT}" != "0" ]]; then
+ mv "${ED}${GAMES_BINDIR}"/${PN} \
+ "${ED}${GAMES_BINDIR}"/${PN}-${SLOT} || die
+ fi
+}
diff --git a/games-engines/love/love-9999.ebuild b/games-engines/love/love-9999.ebuild
new file mode 100644
index 000000000000..80ae23fbd24b
--- /dev/null
+++ b/games-engines/love/love-9999.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit base games
+
+if [[ ${PV} == 9999* ]]; then
+ inherit autotools mercurial
+ EHG_REPO_URI="https://bitbucket.org/rude/${PN}"
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="https://www.bitbucket.org/rude/${PN}/downloads/${P}-linux-src.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A framework for 2D games in Lua"
+HOMEPAGE="http://love2d.org/"
+
+LICENSE="ZLIB"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-games/physfs
+ dev-lang/lua[deprecated]
+ media-libs/devil[mng,png,tiff]
+ media-libs/freetype
+ media-libs/libmodplug
+ media-libs/libsdl[joystick,opengl]
+ media-libs/libvorbis
+ media-libs/openal
+ media-sound/mpg123
+ virtual/opengl"
+DEPEND="${RDEPEND}
+ media-libs/libmng
+ media-libs/tiff"
+
+DOCS=( "readme.md" "changes.txt" )
+
+src_prepare() {
+ if [[ ${PV} == 9999* ]]; then
+ sh platform/unix/gen-makefile || die
+ cp platform/unix/Makefile.am . || die
+ cp platform/unix/configure.ac . || die
+ mkdir platform/unix/m4 || die
+ eautoreconf
+ fi
+}
+
+src_install() {
+ base_src_install
+ if [[ "${SLOT}" != "0" ]]; then
+ mv "${ED}${GAMES_BINDIR}"/${PN} \
+ "${ED}${GAMES_BINDIR}"/${PN}-${SLOT} || die
+ fi
+}
diff --git a/games-engines/love/metadata.xml b/games-engines/love/metadata.xml
new file mode 100644
index 000000000000..4731fb707fd1
--- /dev/null
+++ b/games-engines/love/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chithanh@gentoo.org</email>
+ <name>Chí-Thanh Christopher Nguyễn</name>
+ </maintainer>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+</pkgmetadata>