1 |
commit: 17516adb95147f7c975fb2f11ae708d922ca17bf |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 23 17:41:20 2017 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 23 17:41:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17516adb |
7 |
|
8 |
media-gfx/valentina: fixed repoman warnings, improved the ebuilds, fixed sources and homepages |
9 |
|
10 |
Package-Manager: Portage-2.3.12, Repoman-2.3.3 |
11 |
|
12 |
...on.patch => 0.5.0-disable-tests-compilation.patch} | 0 |
13 |
...npaths.patch => 0.5.0-fix-insecure-runpaths.patch} | 0 |
14 |
.../files/{locales.patch => 0.5.0-locales.patch} | 0 |
15 |
...lentina-0.5.0.ebuild => valentina-0.5.0-r1.ebuild} | 19 ++++++++++--------- |
16 |
media-gfx/valentina/valentina-9999.ebuild | 14 +++++++------- |
17 |
5 files changed, 17 insertions(+), 16 deletions(-) |
18 |
|
19 |
diff --git a/media-gfx/valentina/files/disable-tests-compilation.patch b/media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch |
20 |
similarity index 100% |
21 |
rename from media-gfx/valentina/files/disable-tests-compilation.patch |
22 |
rename to media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch |
23 |
|
24 |
diff --git a/media-gfx/valentina/files/fix-insecure-runpaths.patch b/media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch |
25 |
similarity index 100% |
26 |
rename from media-gfx/valentina/files/fix-insecure-runpaths.patch |
27 |
rename to media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch |
28 |
|
29 |
diff --git a/media-gfx/valentina/files/locales.patch b/media-gfx/valentina/files/0.5.0-locales.patch |
30 |
similarity index 100% |
31 |
rename from media-gfx/valentina/files/locales.patch |
32 |
rename to media-gfx/valentina/files/0.5.0-locales.patch |
33 |
|
34 |
diff --git a/media-gfx/valentina/valentina-0.5.0.ebuild b/media-gfx/valentina/valentina-0.5.0-r1.ebuild |
35 |
similarity index 69% |
36 |
rename from media-gfx/valentina/valentina-0.5.0.ebuild |
37 |
rename to media-gfx/valentina/valentina-0.5.0-r1.ebuild |
38 |
index 172cf895fa3..96dceba5eb9 100644 |
39 |
--- a/media-gfx/valentina/valentina-0.5.0.ebuild |
40 |
+++ b/media-gfx/valentina/valentina-0.5.0-r1.ebuild |
41 |
@@ -3,11 +3,11 @@ |
42 |
|
43 |
EAPI=6 |
44 |
|
45 |
-inherit epatch qmake-utils gnome2-utils fdo-mime |
46 |
+inherit epatch qmake-utils gnome2-utils xdg-utils |
47 |
|
48 |
DESCRIPTION="Cloth patternmaking software" |
49 |
-HOMEPAGE="http://valentinaproject.bitbucket.org/" |
50 |
-SRC_URI="https://bitbucket.org/dismine/valentina/get/v0.4.2.zip -> ${P}.zip" |
51 |
+HOMEPAGE="https://valentina-project.org/" |
52 |
+SRC_URI="https://github.com/valentina-project/vpo2/archive/v${PV}.zip -> ${P}.zip" |
53 |
|
54 |
LICENSE="GPL-3" |
55 |
SLOT="0" |
56 |
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86" |
57 |
IUSE="gnome" |
58 |
|
59 |
# en_IN not supported in Gentoo so not added here |
60 |
-LANGS="cs_CZ de_DE en_CA en_US es_ES fi_FI fr_FR he_IL id_ID it_IT nl_NL ro_RO ru_RU uk_UA" |
61 |
+LANGS="cs_CZ de_DE el_GR en_CA en_US es_ES fi_FI fr_FR he_IL id_ID it_IT nl_NL pt_BR ro_RO ru_RU uk_UA zh_CN" |
62 |
|
63 |
for LANG in ${LANGS}; do |
64 |
IUSE="${IUSE} linguas_${LANG}" |
65 |
@@ -38,9 +38,9 @@ DEPEND="${CDEPEND} |
66 |
S=${WORKDIR}/dismine-${PN}-44d43351cb59 |
67 |
|
68 |
src_prepare() { |
69 |
- epatch "${FILESDIR}/locales.patch" \ |
70 |
- "${FILESDIR}/fix-insecure-runpaths.patch" \ |
71 |
- "${FILESDIR}/disable-tests-compilation.patch" |
72 |
+ epatch "${FILESDIR}/${PV}-locales.patch" \ |
73 |
+ "${FILESDIR}/${PV}-fix-insecure-runpaths.patch" \ |
74 |
+ "${FILESDIR}/${PV}-disable-tests-compilation.patch" |
75 |
|
76 |
default |
77 |
} |
78 |
@@ -60,7 +60,7 @@ src_configure() { |
79 |
src_install() { |
80 |
emake install INSTALL_ROOT="${D}" |
81 |
|
82 |
- dodoc LICENSE_GPL.txt ChangeLog.txt README.txt |
83 |
+ dodoc AUTHORS.txt ChangeLog.txt README.md |
84 |
|
85 |
doman dist/debian/${PN}.1 |
86 |
doman dist/debian/tape.1 |
87 |
@@ -71,7 +71,8 @@ src_install() { |
88 |
} |
89 |
|
90 |
pkg_postinst() { |
91 |
- fdo-mime_desktop_database_update |
92 |
+ xdg_desktop_database_update |
93 |
+ xdg_mimeinfo_database_update |
94 |
|
95 |
if use gnome ; then |
96 |
gnome2_icon_cache_update |
97 |
|
98 |
diff --git a/media-gfx/valentina/valentina-9999.ebuild b/media-gfx/valentina/valentina-9999.ebuild |
99 |
index 26d48b1311b..66229d43a07 100644 |
100 |
--- a/media-gfx/valentina/valentina-9999.ebuild |
101 |
+++ b/media-gfx/valentina/valentina-9999.ebuild |
102 |
@@ -3,13 +3,12 @@ |
103 |
|
104 |
EAPI=6 |
105 |
|
106 |
-inherit mercurial qmake-utils gnome2-utils fdo-mime |
107 |
+inherit git-r3 qmake-utils gnome2-utils xdg-utils |
108 |
|
109 |
DESCRIPTION="Cloth patternmaking software" |
110 |
-HOMEPAGE="http://valentinaproject.bitbucket.org/" |
111 |
-SRC_URI="" |
112 |
-EHG_REPO_URI="https://bitbucket.org/dismine/valentina" |
113 |
-EHG_REVISION="develop" |
114 |
+HOMEPAGE="https://valentina-project.org/" |
115 |
+EGIT_REPO_URI="https://github.com/valentina-project/vpo2.git" |
116 |
+EGIT_BRANCH="develop" |
117 |
|
118 |
LICENSE="GPL-3" |
119 |
SLOT="0" |
120 |
@@ -51,7 +50,7 @@ src_configure() { |
121 |
src_install() { |
122 |
emake install INSTALL_ROOT="${D}" |
123 |
|
124 |
- dodoc LICENSE_GPL.txt ChangeLog.txt README.txt |
125 |
+ dodoc AUTHORS.txt ChangeLog.txt README.md |
126 |
|
127 |
doman dist/debian/${PN}.1 |
128 |
doman dist/debian/tape.1 |
129 |
@@ -62,7 +61,8 @@ src_install() { |
130 |
} |
131 |
|
132 |
pkg_postinst() { |
133 |
- fdo-mime_desktop_database_update |
134 |
+ xdg_desktop_database_update |
135 |
+ xdg_mimeinfo_database_update |
136 |
|
137 |
if use gnome ; then |
138 |
gnome2_icon_cache_update |