hasufell-repository/packages/games-rpg/valyriatear/valyriatear-scm.exheres-0

59 lines
1.4 KiB
Bash
Raw Normal View History

# 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
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
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/
https://github.com/Bertram25/ValyriaTear"
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"
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
media-libs/SDL:2[X]
media-libs/SDL_image:2
media-libs/SDL_ttf:2
x11-dri/glu
2014-11-25 20:50:51 +00:00
x11-dri/mesa
x11-libs/libX11
"
CMAKE_SRC_CONFIGURE_PARAMS=(
2016-02-16 14:02:39 +00:00
-DPKG_BINDIR=/usr/$(exhost --target)/bin
2014-11-25 20:50:51 +00:00
-DPKG_DATADIR=/usr/share/${PN}
-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
}