dev-games/liblcf: new package, add 0.7.0

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier 2023-01-29 08:24:50 +01:00
parent 754f9672ac
commit 794862ec39
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST liblcf-0.7.0.tar.gz 292623 BLAKE2B 7cf2f21244796b85745ac30bcc3ec7118dd10d5a7054fdd423bbb71ab9b0a4c85ccc644bd57c251374378fe525e1302367456ee348828efb8d97d825727f2caa SHA512 0abf77a7e4615f21b643b0e35d41450dc0dbd37d337fbbf619a19f73da3ee18e9d216f151f52a121be2d91bfee47c1a153f4c64df630d5c587cf4b6071e5b77a

View File

@ -0,0 +1,38 @@
# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg-utils
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}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
RDEPEND="
dev-libs/expat
dev-libs/icu:=
doc? ( app-doc/doxygen )
"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=True
-DLIBLCF_UPDATE_MIMEDB=False
)
cmake_src_configure
}
src_test() {
cmake_build check
}
pkg_postrm() { xdg_mimeinfo_database_update; }
pkg_postinst() { xdg_mimeinfo_database_update; }