portage-overlay

personal portage ebuild repository
git clone anongit@rnpnr.xyz:portage-overlay.git
Log | Files | Refs | Feed | README

onscripter-20200722.ebuild (812B)


      1 EAPI=7
      2 
      3 DESCRIPTION="Engine for japanese Visual Novels."
      4 HOMEPAGE="https://onscripter.osdn.jp/onscripter.html"
      5 SRC_URI="https://onscripter.osdn.jp/${P}.tar.gz"
      6 
      7 LICENSE="GPL-2"
      8 SLOT="0"
      9 KEYWORDS="amd64"
     10 IUSE=""
     11 
     12 REQUIRED_USE=${LUA_REQUIRED_USE}
     13 
     14 LUA_COMPAT=(lua5-1)
     15 
     16 inherit cmake lua-single
     17 
     18 RDEPEND="
     19 	${LUA_DEPS}
     20 	>=media-libs/libsdl-1.2.6
     21 	>=media-libs/sdl-image-1.2.3
     22 	>=media-libs/sdl-mixer-1.2.5
     23 	>=media-libs/sdl-sound-1.0.3
     24 	>=media-libs/sdl-ttf-2.0.6
     25 	>=media-libs/smpeg-0.4.4
     26 "
     27 DEPEND="${RDEPEND}"
     28 
     29 PATCHES=(
     30 	"${FILESDIR}"/0001-fix-smpeg-header-name.patch
     31 	"${FILESDIR}"/0002-fix-lua-header-name.patch
     32 	"${FILESDIR}"/0003-CMakeLists.patch
     33 )
     34 
     35 src_configure() {
     36 	default
     37 	local mycmakeargs=(
     38 		-DCMAKE_BUILD_TYPE=Release \
     39 		-DCMAKE_INSTALL_PREFIX="${EPREFIX}${LOCAL_PREFIX}"
     40 	)
     41 	cmake_src_configure
     42 }