dev-games/liblcf: add 0.8

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer 2023-08-30 01:06:22 +02:00
parent 187166c639
commit 5fa77f9b26
No known key found for this signature in database
GPG Key ID: 5568A2DDA60CA297
3 changed files with 57 additions and 1 deletions

View File

@ -1 +1,2 @@
DIST liblcf-0.7.0.tar.gz 292623 BLAKE2B 7cf2f21244796b85745ac30bcc3ec7118dd10d5a7054fdd423bbb71ab9b0a4c85ccc644bd57c251374378fe525e1302367456ee348828efb8d97d825727f2caa SHA512 0abf77a7e4615f21b643b0e35d41450dc0dbd37d337fbbf619a19f73da3ee18e9d216f151f52a121be2d91bfee47c1a153f4c64df630d5c587cf4b6071e5b77a
DIST liblcf-0.8.gh.tar.gz 305885 BLAKE2B 79c99fc9550ce2c005dc438ce8af794514427f638ffc07e8365609186c4a852859aa1e019c0e100b9778e2bc3b5573543d0640c41146ff4488670a6da5c1078b SHA512 54f3c2d330e82cbf7a17256cfe9a17e968895bb58968c212d4e3604d79f9c1e0492163ab01c53f060cffd8ee7f4280bb8ac939be110927f6a524c1799ba335b5

View File

@ -0,0 +1,46 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="Library to handle RPG Maker 2000/2003 and EasyRPG projects"
HOMEPAGE="https://github.com/EasyRPG/liblcf"
SRC_URI="https://github.com/EasyRPG/liblcf/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc tools"
RDEPEND="
dev-libs/expat
dev-libs/icu:=
"
DEPEND="${RDEPEND}"
BDEPEND="doc? ( app-doc/doxygen[dot] )"
HTML_DOCS="doc/*"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=True
-DLIBLCF_UPDATE_MIMEDB=False
-DLIBLCF_ENABLE_TOOLS=$(usex tools)
$(cmake_use_find_package doc Doxygen)
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
# Why do we have to build this explicitly :/
use doc && cmake_build liblcf_doc
}
src_test() {
cmake_build check
}

View File

@ -1,8 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person">
<email>watermanpaint@posteo.net</email>
<name>Lucio Sauer</name>
</maintainer>
<upstream>
<remote-id type="github">EasyRPG/liblcf</remote-id>
</upstream>
<use>
<flag name="tools">
Build and install additional command line tools, including lcf2xml
and lcfstrings.
</flag>
</use>
</pkgmetadata>