diff options
author | Lucio Sauer <watermanpaint@posteo.net> | 2023-08-30 01:06:22 +0200 |
---|---|---|
committer | Lucio Sauer <watermanpaint@posteo.net> | 2023-08-30 01:06:22 +0200 |
commit | 5fa77f9b26561474222cad32836c2a3ba4ade1ae (patch) | |
tree | 4bb17518dd078fddcc9958decf28ffb25f35cd98 /dev-games | |
parent | app-doc/geeknote: fix installation of autocompletiion (diff) | |
download | guru-5fa77f9b26561474222cad32836c2a3ba4ade1ae.tar.gz guru-5fa77f9b26561474222cad32836c2a3ba4ade1ae.tar.bz2 guru-5fa77f9b26561474222cad32836c2a3ba4ade1ae.zip |
dev-games/liblcf: add 0.8
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/liblcf/Manifest | 1 | ||||
-rw-r--r-- | dev-games/liblcf/liblcf-0.8.ebuild | 46 | ||||
-rw-r--r-- | dev-games/liblcf/metadata.xml | 11 |
3 files changed, 57 insertions, 1 deletions
diff --git a/dev-games/liblcf/Manifest b/dev-games/liblcf/Manifest index 927fc9188..b39666f9f 100644 --- a/dev-games/liblcf/Manifest +++ b/dev-games/liblcf/Manifest @@ -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 diff --git a/dev-games/liblcf/liblcf-0.8.ebuild b/dev-games/liblcf/liblcf-0.8.ebuild new file mode 100644 index 000000000..a909a2ff6 --- /dev/null +++ b/dev-games/liblcf/liblcf-0.8.ebuild @@ -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 +} diff --git a/dev-games/liblcf/metadata.xml b/dev-games/liblcf/metadata.xml index 17af9cab0..82b36b4bc 100644 --- a/dev-games/liblcf/metadata.xml +++ b/dev-games/liblcf/metadata.xml @@ -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> |