2016-02-16 14:22:31 +00:00
|
|
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
2014-11-25 20:50:51 +00:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2016-02-16 14:22:31 +00:00
|
|
|
SCM_REPOSITORY="git://github.com/ValyriaTear/ValyriaTear.git"
|
|
|
|
SCM_luabind_REPOSITORY="git://github.com/ValyriaTear/luabind"
|
|
|
|
SCM_SECONDARY_REPOSITORIES="luabind"
|
|
|
|
SCM_EXTERNAL_REFS="src/luabind:luabind"
|
|
|
|
SCM_CHECKOUT_TO=${PN}
|
|
|
|
|
2016-04-23 02:22:08 +00:00
|
|
|
MY_PNV=ValyriaTear-${PV}
|
|
|
|
|
2014-11-25 20:50:51 +00:00
|
|
|
require gtk-icon-cache freedesktop-desktop
|
2016-02-16 14:22:31 +00:00
|
|
|
require scm-git
|
2016-04-23 02:22:08 +00:00
|
|
|
require cmake [ api=2 ]
|
2014-11-25 20:50:51 +00:00
|
|
|
|
|
|
|
SUMMARY="A free 2D J-RPG based on the Hero of Allacrost engine"
|
|
|
|
HOMEPAGE="http://valyriatear.blogspot.de/
|
2016-02-17 01:53:28 +00:00
|
|
|
https://github.com/Bertram25/ValyriaTear"
|
2016-02-16 14:22:31 +00:00
|
|
|
DOWNLOADS=""
|
2014-11-25 20:50:51 +00:00
|
|
|
|
|
|
|
LICENCES="GPL-2 GPL-3 CCPL-Attribution-ShareAlike-3.0 CCPL-Attribution-3.0 CC0 OFL-1.1"
|
|
|
|
SLOT="0"
|
|
|
|
PLATFORMS="~amd64 ~x86"
|
2016-05-13 20:41:29 +00:00
|
|
|
MYOPTIONS=""
|
2014-11-25 20:50:51 +00:00
|
|
|
|
|
|
|
DEPENDENCIES="
|
|
|
|
build:
|
|
|
|
dev-libs/boost
|
|
|
|
sys-devel/gettext
|
|
|
|
build+run:
|
|
|
|
dev-lang/lua:5.1
|
|
|
|
media-libs/libpng:=[>=1.5]
|
|
|
|
media-libs/libvorbis
|
|
|
|
media-libs/openal
|
2016-02-16 14:22:31 +00:00
|
|
|
media-libs/SDL:2[X]
|
|
|
|
media-libs/SDL_image:2
|
|
|
|
media-libs/SDL_ttf:2
|
2016-02-16 13:58:19 +00:00
|
|
|
x11-dri/glu
|
2014-11-25 20:50:51 +00:00
|
|
|
x11-dri/mesa
|
|
|
|
x11-libs/libX11
|
|
|
|
"
|
|
|
|
|
|
|
|
CMAKE_SRC_CONFIGURE_PARAMS=(
|
2016-05-24 16:58:52 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX="/usr"
|
|
|
|
-DPKG_BINDIR="/usr/$(exhost --target)/bin"
|
|
|
|
-DPKG_DATADIR="/usr/share/${PN}"
|
2014-11-25 20:50:51 +00:00
|
|
|
-DUSE_PCH_COMPILATION=OFF
|
|
|
|
)
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
gtk-icon-cache_pkg_postinst
|
|
|
|
freedesktop-desktop_pkg_postinst
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
gtk-icon-cache_pkg_postrm
|
|
|
|
freedesktop-desktop_pkg_postrm
|
|
|
|
}
|
|
|
|
|