1 |
commit: 553c2ed2679c30adcff4c9444acbad42023acacc |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 1 12:43:00 2020 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 1 12:43:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=553c2ed2 |
7 |
|
8 |
app-i18n/ibus-cangjie: update metadata location |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
12 |
|
13 |
.../files/ibus-cangjie-2.4-metadata.patch | 61 ++++++++++++++++++++++ |
14 |
...ie-2.4-r1.ebuild => ibus-cangjie-2.4-r2.ebuild} | 9 +++- |
15 |
2 files changed, 69 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-i18n/ibus-cangjie/files/ibus-cangjie-2.4-metadata.patch b/app-i18n/ibus-cangjie/files/ibus-cangjie-2.4-metadata.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..acc2b0ca9e8 |
20 |
--- /dev/null |
21 |
+++ b/app-i18n/ibus-cangjie/files/ibus-cangjie-2.4-metadata.patch |
22 |
@@ -0,0 +1,61 @@ |
23 |
+https://github.com/Cangjians/ibus-cangjie/commit/378f57b9126eb2af7660c45073107ba8f1dac3f8 |
24 |
+ |
25 |
+Author: Boyuan Yang <byang@××××××.org> |
26 |
+ |
27 |
+--- a/Makefile.am |
28 |
++++ b/Makefile.am |
29 |
+@@ -28,7 +28,7 @@ ibus_cangjie_datadir = $(pkgdatadir) |
30 |
+ @INTLTOOL_XML_RULE@ |
31 |
+ appdata_in_files = data/cangjie.appdata.xml.in data/quick.appdata.xml.in |
32 |
+ appdata_DATA = $(appdata_in_files:.xml.in=.xml) |
33 |
+-appdatadir = $(datadir)/appdata |
34 |
++appdatadir = $(datadir)/metainfo |
35 |
+ |
36 |
+ component_in_in_files = data/cangjie.xml.in.in data/quick.xml.in.in |
37 |
+ component_DATA = $(component_in_in_files:.xml.in.in=.xml) |
38 |
+--- a/data/cangjie.appdata.xml.in |
39 |
++++ b/data/cangjie.appdata.xml.in |
40 |
+@@ -1,7 +1,7 @@ |
41 |
+ <?xml version="1.0" encoding="UTF-8"?> |
42 |
+-<application> |
43 |
+- <id type="inputmethod">cangjie.xml</id> |
44 |
+- <licence>CC0</licence> |
45 |
++<component type="inputmethod"> |
46 |
++ <id>cangjie.xml</id> |
47 |
++ <metadata_license>CC0-1.0</metadata_license> |
48 |
+ <_name>Cangjie</_name> |
49 |
+ <_summary>Cangjie input method</_summary> |
50 |
+ <description> |
51 |
+@@ -12,6 +12,6 @@ |
52 |
+ experience for people of the SAR by default, but provide useful options |
53 |
+ for others.</_p> |
54 |
+ </description> |
55 |
+- <url type="homepage">http://cangjians.github.io/ibus-cangjie</url> |
56 |
+- <updatecontact>hklug@××××××××××××.com</updatecontact> |
57 |
+-</application> |
58 |
++ <url type="homepage">https://cangjians.github.io/projects/ibus-cangjie/</url> |
59 |
++ <update_contact>hklug@××××××××××××.com</update_contact> |
60 |
++</component> |
61 |
+--- a/data/quick.appdata.xml.in |
62 |
++++ b/data/quick.appdata.xml.in |
63 |
+@@ -1,7 +1,7 @@ |
64 |
+ <?xml version="1.0" encoding="UTF-8"?> |
65 |
+-<application> |
66 |
+- <id type="inputmethod">quick.xml</id> |
67 |
+- <licence>CC0</licence> |
68 |
++<component type="inputmethod"> |
69 |
++ <id>quick.xml</id> |
70 |
++ <metadata_license>CC0-1.0</metadata_license> |
71 |
+ <_name>Quick</_name> |
72 |
+ <_summary>Quick input method</_summary> |
73 |
+ <description> |
74 |
+@@ -13,6 +13,6 @@ |
75 |
+ experience for people of the SAR by default, but provide useful options |
76 |
+ for others.</_p> |
77 |
+ </description> |
78 |
+- <url type="homepage">http://cangjians.github.io/ibus-cangjie</url> |
79 |
+- <updatecontact>hklug@××××××××××××.com</updatecontact> |
80 |
+-</application> |
81 |
++ <url type="homepage">https://cangjians.github.io/projects/ibus-cangjie/</url> |
82 |
++ <update_contact>hklug@××××××××××××.com</update_contact> |
83 |
++</component> |
84 |
|
85 |
diff --git a/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild b/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r2.ebuild |
86 |
similarity index 88% |
87 |
rename from app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild |
88 |
rename to app-i18n/ibus-cangjie/ibus-cangjie-2.4-r2.ebuild |
89 |
index 1f42602a211..b5215cf73eb 100644 |
90 |
--- a/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild |
91 |
+++ b/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r2.ebuild |
92 |
@@ -4,7 +4,7 @@ |
93 |
EAPI="7" |
94 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
95 |
|
96 |
-inherit gnome2-utils python-r1 xdg |
97 |
+inherit autotools gnome2-utils python-r1 xdg |
98 |
|
99 |
DESCRIPTION="Chinese Cangjie and Quick engines for IBus" |
100 |
HOMEPAGE="http://cangjians.github.io/" |
101 |
@@ -25,6 +25,13 @@ DEPEND="${RDEPEND}" |
102 |
BDEPEND="dev-util/intltool |
103 |
nls? ( sys-devel/gettext )" |
104 |
|
105 |
+PATCHES=( "${FILESDIR}"/${P}-metadata.patch ) |
106 |
+ |
107 |
+src_prepare() { |
108 |
+ default |
109 |
+ eautoreconf |
110 |
+} |
111 |
+ |
112 |
src_configure() { |
113 |
python_foreach_impl default |
114 |
} |