1 |
commit: 794862ec39d9cadbf509f29b16e403413e276708 |
2 |
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> |
3 |
AuthorDate: Sun Jan 29 07:24:50 2023 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Sun Jan 29 10:51:49 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=794862ec |
7 |
|
8 |
dev-games/liblcf: new package, add 0.7.0 |
9 |
|
10 |
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> |
11 |
|
12 |
dev-games/liblcf/Manifest | 1 + |
13 |
dev-games/liblcf/liblcf-0.7.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-games/liblcf/Manifest b/dev-games/liblcf/Manifest |
17 |
new file mode 100644 |
18 |
index 000000000..927fc9188 |
19 |
--- /dev/null |
20 |
+++ b/dev-games/liblcf/Manifest |
21 |
@@ -0,0 +1 @@ |
22 |
+DIST liblcf-0.7.0.tar.gz 292623 BLAKE2B 7cf2f21244796b85745ac30bcc3ec7118dd10d5a7054fdd423bbb71ab9b0a4c85ccc644bd57c251374378fe525e1302367456ee348828efb8d97d825727f2caa SHA512 0abf77a7e4615f21b643b0e35d41450dc0dbd37d337fbbf619a19f73da3ee18e9d216f151f52a121be2d91bfee47c1a153f4c64df630d5c587cf4b6071e5b77a |
23 |
|
24 |
diff --git a/dev-games/liblcf/liblcf-0.7.0.ebuild b/dev-games/liblcf/liblcf-0.7.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..aa0cbea45 |
27 |
--- /dev/null |
28 |
+++ b/dev-games/liblcf/liblcf-0.7.0.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 2023 Haelwenn (lanodan) Monnier <contact@×××××××××.me> |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit cmake xdg-utils |
36 |
+ |
37 |
+DESCRIPTION="Library to handle RPG Maker 2000/2003 and EasyRPG projects" |
38 |
+HOMEPAGE="https://github.com/EasyRPG/liblcf" |
39 |
+SRC_URI="https://github.com/EasyRPG/liblcf/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+LICENSE="MIT" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64" |
43 |
+ |
44 |
+IUSE="doc" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ dev-libs/expat |
48 |
+ dev-libs/icu:= |
49 |
+ doc? ( app-doc/doxygen ) |
50 |
+" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+ |
53 |
+src_configure() { |
54 |
+ local mycmakeargs=( |
55 |
+ -DBUILD_SHARED_LIBS=True |
56 |
+ -DLIBLCF_UPDATE_MIMEDB=False |
57 |
+ ) |
58 |
+ |
59 |
+ cmake_src_configure |
60 |
+} |
61 |
+ |
62 |
+src_test() { |
63 |
+ cmake_build check |
64 |
+} |
65 |
+ |
66 |
+pkg_postrm() { xdg_mimeinfo_database_update; } |
67 |
+pkg_postinst() { xdg_mimeinfo_database_update; } |