1 |
commit: 174e204358ae1a16c1b73da60b1f201adda92291 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 6 06:57:01 2018 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 6 06:57:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=174e2043 |
7 |
|
8 |
media-gfx/valentina: version bump |
9 |
|
10 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
12 |
|
13 |
media-gfx/valentina/Manifest | 1 + |
14 |
media-gfx/valentina/valentina-0.6.0.ebuild | 125 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 126 insertions(+) |
16 |
|
17 |
diff --git a/media-gfx/valentina/Manifest b/media-gfx/valentina/Manifest |
18 |
index 3072e6c6b36..235fb647dad 100644 |
19 |
--- a/media-gfx/valentina/Manifest |
20 |
+++ b/media-gfx/valentina/Manifest |
21 |
@@ -1,4 +1,5 @@ |
22 |
DIST valentina-0.5.0.zip 37175844 BLAKE2B 73cfb434c87e7d59efa76c303f4cc13dd9df08b9d5f61becd03943b78ce68e8735d192f2f2d5d5dfe25cda19ba998b0ea4a73bc3d0845bd4a065f7c5b4e66098 SHA512 3e69f965de1f8179850a8c6a5a0d3b5e87384158191b9c4a3647a5421d1efe567e98298bd8f47a8288eac358520469ae7979a4a61df64ccfbeb1a36fb231efcf |
23 |
+DIST valentina-0.6.0.zip 38305855 BLAKE2B 82733e97cd2ab1c2e0edddc05de228c040c43bd6a21b874b30554c526123ebd26d70f9fb8bb7556062f7df7b8d8f38c370d0f9ccd3d38100dacf841a68d4d1e6 SHA512 3bcc943c155b1b848c5328b53c8148448ede8fd057c8a50570045f61519bbeaaf0831f4a16127a24537feacb5251236c3bdc96e02788729635f4ec072686ca16 |
24 |
DIST valentina-4798.patch 25302 BLAKE2B 153cc2ccc603703a520b5181e5192bac86410ab51eec305effe43463ce081dbbf3bb48eedb93e8ea5928f3f71351526a175c61a23a7005fda5bf4e14cc57403e SHA512 c3adbd2caa4cfb73960de850b29bee881fc408c9e4032e1fa2f29ba80b91abaa194738ff1cfb607657343990a166ad310387a66ceca546ffae0543d774bc53b4 |
25 |
DIST valentina-4802.patch 6733 BLAKE2B b7e30b77aab75b45e7bfd06165586f8356cfa438e0f5f5fb708d818f04fe9be7fdd025b8098cb5ca1f45cceef0671abf7014c112ab11da8e6c9c1a640e412ab8 SHA512 5628599c1dd208ba9ea8ea5e518bf6aed5ef11aa750670335478e5af49d6e9f235901c79d6483b1897f8288259fd06b463462eddcd062c4920ff251430998ff4 |
26 |
DIST valentina-5406.patch 596 BLAKE2B 34c5cf515555e455416500795c2afd96176b3ca3c2c3e278dbb6311e7cfb38bba6556126beef23d8b98ace76f0156250974d95310a6af046c0884580aa1d19d9 SHA512 f504ca766969703a20fc7c16652d4615722afda9156eb07c43845d1a6e9c7d08a2e8f07be7c71b4379326757f95e95e85858add2b1d13b0e4e5e8b1974ce18ae |
27 |
|
28 |
diff --git a/media-gfx/valentina/valentina-0.6.0.ebuild b/media-gfx/valentina/valentina-0.6.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..b063352ab94 |
31 |
--- /dev/null |
32 |
+++ b/media-gfx/valentina/valentina-0.6.0.ebuild |
33 |
@@ -0,0 +1,125 @@ |
34 |
+# Copyright 1999-2018 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit qmake-utils gnome2-utils xdg-utils |
40 |
+ |
41 |
+DESCRIPTION="Cloth patternmaking software" |
42 |
+HOMEPAGE="https://valentinaproject.bitbucket.io/" |
43 |
+SRC_URI="https://bitbucket.org/dismine/${PN}/get/v${PV}.zip -> ${P}.zip" |
44 |
+ |
45 |
+LICENSE="GPL-3" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="gnome" |
49 |
+ |
50 |
+LANGS="cs de el en en es fi fr he id it nl pt-BR ro ru uk zh-CN" |
51 |
+ |
52 |
+for LANG in ${LANGS}; do |
53 |
+ IUSE="${IUSE} l10n_${LANG}" |
54 |
+done |
55 |
+ |
56 |
+CDEPEND=" |
57 |
+ app-text/poppler |
58 |
+ dev-qt/linguist:5 |
59 |
+ dev-qt/qtconcurrent:5 |
60 |
+ dev-qt/qtcore:5 |
61 |
+ dev-qt/qtgui:5 |
62 |
+ dev-qt/qtnetwork:5[ssl] |
63 |
+ dev-qt/qtprintsupport:5 |
64 |
+ dev-qt/qtsvg:5 |
65 |
+ dev-qt/qtwidgets:5 |
66 |
+ dev-qt/qtxml:5 |
67 |
+ dev-qt/qtxmlpatterns:5" |
68 |
+RDEPEND="${CDEPEND}" |
69 |
+DEPEND="${CDEPEND} |
70 |
+ app-arch/unzip" |
71 |
+ |
72 |
+S=${WORKDIR}/dismine-${PN}-dd3cff212db5 |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local locales="" |
76 |
+ local locale |
77 |
+ |
78 |
+ for LANG in ${LANGS}; do |
79 |
+ if use l10n_${LANG}; then |
80 |
+ case ${LANG} in |
81 |
+ "cs") |
82 |
+ locale="cs_CZ" |
83 |
+ ;; |
84 |
+ "de") |
85 |
+ locale="de_DE" |
86 |
+ ;; |
87 |
+ "el") |
88 |
+ locale="el_GR" |
89 |
+ ;; |
90 |
+ "en") |
91 |
+ locale="en_CA en_IN en_US" |
92 |
+ ;; |
93 |
+ "es") |
94 |
+ locale="es_ES" |
95 |
+ ;; |
96 |
+ "fi") |
97 |
+ locale="fi_FI" |
98 |
+ ;; |
99 |
+ "fr") |
100 |
+ locale="fr_FR" |
101 |
+ ;; |
102 |
+ "he") |
103 |
+ locale="he_IL" |
104 |
+ ;; |
105 |
+ "id") |
106 |
+ locale="id_ID" |
107 |
+ ;; |
108 |
+ "it") |
109 |
+ locale="it_IT" |
110 |
+ ;; |
111 |
+ "nl") |
112 |
+ locale="nl_NL" |
113 |
+ ;; |
114 |
+ "pt-BR") |
115 |
+ locale="pt_BR" |
116 |
+ ;; |
117 |
+ "ro") |
118 |
+ locale="ro_RO" |
119 |
+ ;; |
120 |
+ "ru") |
121 |
+ locale="ru_RU" |
122 |
+ ;; |
123 |
+ "uk") |
124 |
+ locale="uk_UA" |
125 |
+ ;; |
126 |
+ "zh-CN") |
127 |
+ locale="zh_CN" |
128 |
+ ;; |
129 |
+ esac |
130 |
+ |
131 |
+ locales="${locales} ${locale}" |
132 |
+ fi |
133 |
+ done |
134 |
+ |
135 |
+ eqmake5 LOCALES="${locales}" "CONFIG+=noDebugSymbols no_ccache noRunPath noTests noWindowsInstaller" Valentina.pro -r |
136 |
+} |
137 |
+ |
138 |
+src_install() { |
139 |
+ emake install INSTALL_ROOT="${D}" |
140 |
+ |
141 |
+ dodoc AUTHORS.txt ChangeLog.txt README.txt |
142 |
+ |
143 |
+ doman dist/debian/${PN}.1 |
144 |
+ doman dist/debian/tape.1 |
145 |
+ |
146 |
+ cp dist/debian/valentina.sharedmimeinfo dist/debian/${PN}.xml || die |
147 |
+ insinto /usr/share/mime/packages |
148 |
+ doins dist/debian/${PN}.xml |
149 |
+} |
150 |
+ |
151 |
+pkg_postinst() { |
152 |
+ xdg_desktop_database_update |
153 |
+ xdg_mimeinfo_database_update |
154 |
+ |
155 |
+ if use gnome ; then |
156 |
+ gnome2_icon_cache_update |
157 |
+ fi |
158 |
+} |