summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-05-02 21:59:34 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-05-02 21:59:34 +0000
commit1053268a3b99c1fac497f17bd597ed5504dd6a00 (patch)
tree511731654f99f3e19e9f2d2daa42d799fbbc6dd4 /games-rpg/valyriatear
parentinitial import (diff)
downloadhistorical-1053268a3b99c1fac497f17bd597ed5504dd6a00.tar.gz
historical-1053268a3b99c1fac497f17bd597ed5504dd6a00.tar.bz2
historical-1053268a3b99c1fac497f17bd597ed5504dd6a00.zip
initial import
Package-Manager: portage-2.2.0_alpha173/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-rpg/valyriatear')
-rw-r--r--games-rpg/valyriatear/Manifest18
-rw-r--r--games-rpg/valyriatear/files/valyriatear-0.5.1-libpng-1.6.patch15
-rw-r--r--games-rpg/valyriatear/files/valyriatear-0.5.1-paths.patch19
-rw-r--r--games-rpg/valyriatear/metadata.xml13
-rw-r--r--games-rpg/valyriatear/valyriatear-0.5.1.ebuild68
5 files changed, 131 insertions, 2 deletions
diff --git a/games-rpg/valyriatear/Manifest b/games-rpg/valyriatear/Manifest
index af346abeb81a..d260f1f43e4f 100644
--- a/games-rpg/valyriatear/Manifest
+++ b/games-rpg/valyriatear/Manifest
@@ -1,6 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX valyriatear-0.5.1-libpng-1.6.patch 568 SHA256 b8d9d7410c8d778c70343e4288cfeef9de380f7905dfc1200d526f0f2f4b19c1 SHA512 25d7f67cc54e46a8f4996bfd4d6a2a09f13ef73c6e44c155d3dab81d351c535637f14f643671a18b5a2828bdac437389f691e2b3903d22fecc81b2c84f85a73c WHIRLPOOL da77394968dba15899967b5192d53c4d651694cb1ca8c9a1115809fd8092212815fffac9cfb5e2e3f2c07e329f11f994c84a2f469d509da84988eabde5dbcb31
AUX valyriatear-0.5.1-paths.patch 718 SHA256 8a40f2b7aab68b785941afc002a70446a2cd798003d9bddd77da5dd79870912d SHA512 cc75119df986749b84bc12c5e31df341d85fb090fccd8f1f7d5e13a7bcd022ad2ffff8d6875b22e9e8051c4e57da1bd093216ec78dd929aecbcabed97a273b82 WHIRLPOOL 8e2f432f85fd61c3c777ea59f04538ae4482cca2f92d4d28b862658201a09436abc500c91e6143f7f50879f9fda59b04cb1e578bd29324c41a0514c614f6073e
DIST valyriatear-0.5.1.tar.gz 50024608 SHA256 756347f68b66c3a2dbadcfdcaaaf1e34895a6b5d9fa17c5d26af0fd9aae961e9 SHA512 2f9f9c23fbb537e532ba3791f6ddad0dae83a7c12c76ec3584174e96ea6fc0859537789991f210040ae967db2a1d4f55f8331f6722faff0cde3e4b5b835ec4ea WHIRLPOOL a7f8f232df7df0d915e2ac195809a5a827beeeb1efc7d532bfb53d153d19b91b71a50c9610047d07aa510cb1a3c6ed956dbe0c2756e475c72c5b4de503666fc3
-EBUILD valyriatear-0.5.1.ebuild 1366 SHA256 b711e5f257b787edc148dae9593d4a902c179fb688d3f4204f105b92b19228e5 SHA512 4330e96f67649918a2956b18248982638e3a46372e6d5240316e6f3f18df0b48f1847003819605d065cab60b7c69286b478e2c9aeb8de329235b33cebe350bde WHIRLPOOL a2c9d275f7c2c0c9c040da7e39416d5b62e7bf05c6a5c29ead44f296117825289e459add3d69f03fa95c3cda663979b4232deae345ef18f18fb1bfb33f5b6f56
-MISC ChangeLog 352 SHA256 7875d8e0b3967978bfa3aa4ace0834fab3022f820702b048116673d1ebf7ca1f SHA512 5de3f0b5f88f50a45e92d76728dc25b682b4736990874e0eadcace5491c0ebd53d2de5d18e2f52a64bcfe9150b8c73d5961c045db17041cca9a38b6f3d49e7a2 WHIRLPOOL 3a25a6e419c88fc240d206d71f39eda47c8148744b753eb93aef40669a1fd78b2196e5d4336468f10d5059a1725c2a581a080e465b265bf849e9512c359dd762
+EBUILD valyriatear-0.5.1.ebuild 1476 SHA256 2ce0606c3c53dc636fd48aae094489e0fb20fee8a76025a4e90bf1dababa3972 SHA512 e7f1604a27f0942f8554c341e2e6c14cddd103c057159f763194931be77d494be7feaa3a0981de57030dd4d10b99c80b3552dba91f2f2c865f6ba52481e5c957 WHIRLPOOL 9b30059a9682da3c8552ff6b7a658df0e62c33cad859480e3010ed23af9a2bc6c34399dac73abd52f63a3fdadef057079f726264a604e4866b91f76b5d08dc59
+MISC ChangeLog 447 SHA256 1c4a51bf234d0a857b820be26b7c1fa19dfd377177aeecad2606321e5c493dca SHA512 2ec09256993006652a2e95c13b9a1d44e282fec60d79200a1be593bc7e85694eaf8e560660a2da51228881a205fa63b9a3fd6b4a79ce2b447db41b52edce544a WHIRLPOOL 3d5ac678e6991c07beb28efddf18c8bc348c112284d1849f9dbff28f9f464fb648ecd7f48b7f759899e3f2995d0c577e7a19bd8496c13e563bfaf9fb8263dbfd
MISC metadata.xml 341 SHA256 0756d6cf029e9160b796ab816a9da3fab8db36c6c60df76467b244a80236f690 SHA512 2f4e8254f74a199b009ac1e53b94118470756688f6ac8d62b18a3b57a6ae3ff111b4a74973a1d46119cfcfa50f83cae8b0169ce6f3e6fca85d125b3d1c15df3c WHIRLPOOL faab63968d826df3f0b94287eb9a7afa6213eda882a531387f9641f697c5d1ef8ea1c015b730f3677f9a011c1705bf6f2985420f9e68ac6987b0f01741bbc4a6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRguHGAAoJEFpvPKfnPDWzussH/1H/X7ZgHJ8uRBgh4Putu7J4
+nrv1YFt4S5QnxF6wwbR111sDBTkv/gsPuBWp5Xnq50KeKWqKibk9Xrr62I14B3Iw
+2oYa5HlVSdXahqR6u2hbiERJ9iApbAjlXLRKJ6wyBym0N37NQPIkfFu1pvfzu8rY
+eMXlcTLRNGGduzbpvrl0qK2OKocg7LcwUWYFaGkRntuHVcb5nKnE70zrn3NNl0dB
+cTv5EdUp/ikqEyIlo8a0IjOojAruDXlr7A333RmxpSLj4akNg2cXmpeiELvpvO+/
+SObTTjTpYrAXdrrIT7T0+3V8Xt9/jMUvemj7De/BrN/DsaoOqERYosnHX+/GJEA=
+=nSPn
+-----END PGP SIGNATURE-----
diff --git a/games-rpg/valyriatear/files/valyriatear-0.5.1-libpng-1.6.patch b/games-rpg/valyriatear/files/valyriatear-0.5.1-libpng-1.6.patch
new file mode 100644
index 000000000000..07b290031f55
--- /dev/null
+++ b/games-rpg/valyriatear/files/valyriatear-0.5.1-libpng-1.6.patch
@@ -0,0 +1,15 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Thu May 2 19:58:42 UTC 2013
+Subject: fix build with libpng-1.6
+
+--- src/engine/video/image.cpp
++++ src/engine/video/image.cpp
+@@ -698,7 +698,7 @@
+ png_read_png(png_ptr, info_ptr, PNG_TRANSFORM_STRIP_16 | PNG_TRANSFORM_PACKING | PNG_TRANSFORM_EXPAND, NULL);
+
+ // grab the relevant data...
+-#if PNG_LIBPNG_VER_SONUM == 15
++#if PNG_LIBPNG_VER_SONUM >= 15
+ cols = png_get_image_width(png_ptr, info_ptr);
+ rows = png_get_image_height(png_ptr, info_ptr);
+ bpp = png_get_bit_depth(png_ptr, info_ptr) * 8;
diff --git a/games-rpg/valyriatear/files/valyriatear-0.5.1-paths.patch b/games-rpg/valyriatear/files/valyriatear-0.5.1-paths.patch
new file mode 100644
index 000000000000..c306176e2a92
--- /dev/null
+++ b/games-rpg/valyriatear/files/valyriatear-0.5.1-paths.patch
@@ -0,0 +1,19 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Thu May 2 19:58:05 UTC 2013
+Subject: make paths modifiable
+
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -41,9 +41,9 @@
+ IF (NOT OSX AND NOT BEOS)
+ OPTION(USE_X11 "Use X11 Clipboard functionality" ON)
+ ENDIF ()
+- SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/valyriatear)
+- SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale)
+- SET(PKG_BINDIR ${CMAKE_INSTALL_PREFIX}/bin)
++ SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/valyriatear CACHE PATH "Data dir")
++ SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale CACHE PATH "Locale dir")
++ SET(PKG_BINDIR ${CMAKE_INSTALL_PREFIX}/bin CACHE PATH "Binary dir")
+ ENDIF (WIN32)
+
+ # The sub-folders to parse
diff --git a/games-rpg/valyriatear/metadata.xml b/games-rpg/valyriatear/metadata.xml
new file mode 100644
index 000000000000..10397fdd67c7
--- /dev/null
+++ b/games-rpg/valyriatear/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+ <use>
+ <flag name='editor'>Compile the Qt editor along with the game</flag>
+ </use>
+</pkgmetadata>
+
diff --git a/games-rpg/valyriatear/valyriatear-0.5.1.ebuild b/games-rpg/valyriatear/valyriatear-0.5.1.ebuild
new file mode 100644
index 000000000000..d0d8934a5bd1
--- /dev/null
+++ b/games-rpg/valyriatear/valyriatear-0.5.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/valyriatear/valyriatear-0.5.1.ebuild,v 1.1 2013/05/02 21:59:33 hasufell Exp $
+
+EAPI=5
+
+inherit eutils cmake-utils games
+
+DESCRIPTION="A free 2D J-RPG based on the Hero of Allacrost engine"
+HOMEPAGE="http://valyriatear.blogspot.de/"
+SRC_URI="https://github.com/Bertram25/ValyriaTear/archive/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug editor nls"
+
+RDEPEND="
+ dev-cpp/luabind
+ dev-lang/lua
+ media-libs/libpng:0=
+ media-libs/libsdl[X,joystick,opengl,video]
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/sdl-image[png]
+ media-libs/sdl-ttf
+ sys-libs/zlib
+ virtual/glu
+ virtual/jpeg
+ virtual/opengl
+ x11-libs/libX11
+ editor? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/ValyriaTear-${PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-{paths,libpng-1.6}.patch
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_SYSTEM_LUABIND=ON
+ -DPKG_BINDIR="${GAMES_BINDIR}"
+ -DPKG_DATADIR="${GAMES_DATADIR}/${PN}"
+ $(cmake-utils_use editor EDITOR_SUPPORT)
+ $(cmake-utils_use !nls DISABLE_TRANSLATIONS)
+ $(cmake-utils_use debug DEBUG_FEATURES)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ prepgamesdirs
+}