diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-puzzle/jag |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/jag')
-rw-r--r-- | games-puzzle/jag/Manifest | 6 | ||||
-rw-r--r-- | games-puzzle/jag/jag-0.3.2.ebuild | 66 | ||||
-rw-r--r-- | games-puzzle/jag/metadata.xml | 11 |
3 files changed, 83 insertions, 0 deletions
diff --git a/games-puzzle/jag/Manifest b/games-puzzle/jag/Manifest new file mode 100644 index 000000000000..c5d8b75f5a17 --- /dev/null +++ b/games-puzzle/jag/Manifest @@ -0,0 +1,6 @@ +DIST jag-0.3.2-data.zip 6237911 SHA256 d331b8b1ec20068de0f35d7747b3e4eb4567f505568c3d8621884d2ca46b6d22 SHA512 fd8d625d47c12779baf9158475d378a8a09d8c96e48ebf8f8b23e3967db8fe38fada33625ac155550ec72f96e259b229311652e09001bb146a326ee202f2e32f WHIRLPOOL d4dd8734a1ea61a1a59514208493c07ae8c7cb9a1d2242ff571221e9d547d8a7e8cbe451dc4f1a9b441a5e213e69e892c1d2fa84532759bc0e7c5736ba36087a +DIST jag-0.3.2-src.zip 995053 SHA256 0b1fc46373d7b70bdd359ca93e553bc244a49721fa1a18d5225c5e887b54ca44 SHA512 96379500aabb282324c7308304359412faa503ca2a62a22951313b612f7d065378ba3fa880ff0b2cb42ebd92ddbce22f8e3c088fc6a5361462beaf8b21aed8dc WHIRLPOOL cbf45eacd3b97f2808cc74ca32479ef9c08e2662552ab21ad3dfa54538a7bd723e636ad3e6189da0278a18e4765142f0319ca94be40d3a7bbae3859e67b20385 +EBUILD jag-0.3.2.ebuild 1289 SHA256 e444c9d7b2a4ecb8f57751d30edbba09ed82bf22065e88cca03046941e6b7ca6 SHA512 520178ccf37ffb8abe4b6eecae9d3210d89a39159fad13d64c34c6f130d3a6dd346cd660d28a43c96725a32ed7f2617d0b8c3a1297d1b168e46b107b0ae09975 WHIRLPOOL 339c0a8571dd05388f408a5766ca1458022711d826d2c99a539fa8888b5b8cdc6d4a16aac889dcf510381f2adb1d9fd829347a98e521899127e656a882985823 +MISC ChangeLog 2419 SHA256 c389cf01d368654cda06631448b5eca465a1979932cd1e4e84606c0b5126e8f8 SHA512 edd14799fdd7cfebd33751520b32697870482004261e276cdf3da408d11f3293710962a8204dcaf08787b6a72f1c208e61aa092c63bdb249e761556cfebd40b1 WHIRLPOOL 63293e3dae8982b9d64d3cfbce84214f10daa9dd8c5e015c7dd841b1e5ffa6e879e54cc4aecf50456ecce01452ea836443350e098c58a8e05db4606832947d35 +MISC ChangeLog-2015 2685 SHA256 0440d80bdae295d820d78583ac51719f03f86b1e5ea9830ab84efa1444a8575a SHA512 0dd28199333b287a3396547af0216090a1985f41b119713dd0e7d246fe7f9909a5fce4d7bea99109324b9766d395320ebf0bb1b621a273ad70bcecf1eaa309c6 WHIRLPOOL 4bb52b4be932ab448567b1153b9b244aaf4a493a1ea588e87b561fc66383b82fd33d71cc4b338f2c7738d8e27d1a2c1913d5dd78e32c6a74c6e3737d18ed8bab +MISC metadata.xml 326 SHA256 857a436178a07cd5a6d34991dd030476296132554f609c589e2845d4baf5ebaa SHA512 ab91fc711c2b092c6d15e4bdb2ef60ce1b842f0000cf31c05eb2668706a11f3018aa91475504c15ddbaa2612a316c9caf5d0f237f451bdb5a8411aaeae023d21 WHIRLPOOL 59a0b60c3d80350425233681ed3bb047b6935470fa923b62a5847e8e9e7f194e529ea37a8c1971a4eb702e2cd6234d0e6a19929b39f8c26fc6dd62907e67c272 diff --git a/games-puzzle/jag/jag-0.3.2.ebuild b/games-puzzle/jag/jag-0.3.2.ebuild new file mode 100644 index 000000000000..83cb6b370c23 --- /dev/null +++ b/games-puzzle/jag/jag-0.3.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils qt4-r2 games + +DESCRIPTION="Arcade 2D Puzzle Game" +HOMEPAGE="http://jag.xlabsoft.com/" +SRC_URI="http://jag.xlabsoft.com/files/${P}-src.zip + http://jag.xlabsoft.com/files/${P}-data.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="editor" + +RDEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + x11-libs/libXrandr + media-libs/libsdl[sound,video] + media-libs/sdl-mixer" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR}/${P}-src + +src_prepare() { + mv "${WORKDIR}"/${P}-data/data "${WORKDIR}"/${P}-src/ + sed -i \ + -e "s:/usr/local/bin:${GAMES_BINDIR}:g" \ + -e "s:/usr/local/games:${GAMES_DATADIR}:g" \ + -e "s:LIBS += -lSDLmain:LIBS += -lSDL -lX11:" \ + Game.pro main.cpp editor/editor.pro \ + || die "sed failed" +} + +src_configure() { + qt4-r2_src_configure + if use editor; then + cd editor + eqmake4 editor.pro + fi +} + +src_compile() { + qt4-r2_src_compile + if use editor; then + cd editor + qt4-r2_src_compile + fi +} + +src_install() { + qt4-r2_src_install + newicon images/logo.png ${PN}.png + make_desktop_entry jag Jag + + if use editor; then + cd editor + qt4-r2_src_install + make_desktop_entry jag-editor "Jag Level editor" ${PN} + fi + + prepgamesdirs +} diff --git a/games-puzzle/jag/metadata.xml b/games-puzzle/jag/metadata.xml new file mode 100644 index 000000000000..77b6c07ca6a5 --- /dev/null +++ b/games-puzzle/jag/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">Install level editor</flag> + </use> +</pkgmetadata> |