diff options
-rw-r--r-- | media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch (renamed from media-gfx/valentina/files/disable-tests-compilation.patch) | 0 | ||||
-rw-r--r-- | media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch (renamed from media-gfx/valentina/files/fix-insecure-runpaths.patch) | 0 | ||||
-rw-r--r-- | media-gfx/valentina/files/0.5.0-locales.patch (renamed from media-gfx/valentina/files/locales.patch) | 0 | ||||
-rw-r--r-- | media-gfx/valentina/valentina-0.5.0-r1.ebuild (renamed from media-gfx/valentina/valentina-0.5.0.ebuild) | 19 | ||||
-rw-r--r-- | media-gfx/valentina/valentina-9999.ebuild | 14 |
5 files changed, 17 insertions, 16 deletions
diff --git a/media-gfx/valentina/files/disable-tests-compilation.patch b/media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch index a819a02a336b..a819a02a336b 100644 --- a/media-gfx/valentina/files/disable-tests-compilation.patch +++ b/media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch diff --git a/media-gfx/valentina/files/fix-insecure-runpaths.patch b/media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch index a98a069dfb5a..a98a069dfb5a 100644 --- a/media-gfx/valentina/files/fix-insecure-runpaths.patch +++ b/media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch diff --git a/media-gfx/valentina/files/locales.patch b/media-gfx/valentina/files/0.5.0-locales.patch index a9084627df57..a9084627df57 100644 --- a/media-gfx/valentina/files/locales.patch +++ b/media-gfx/valentina/files/0.5.0-locales.patch diff --git a/media-gfx/valentina/valentina-0.5.0.ebuild b/media-gfx/valentina/valentina-0.5.0-r1.ebuild index 172cf895fa38..96dceba5eb92 100644 --- a/media-gfx/valentina/valentina-0.5.0.ebuild +++ b/media-gfx/valentina/valentina-0.5.0-r1.ebuild @@ -3,11 +3,11 @@ EAPI=6 -inherit epatch qmake-utils gnome2-utils fdo-mime +inherit epatch qmake-utils gnome2-utils xdg-utils DESCRIPTION="Cloth patternmaking software" -HOMEPAGE="http://valentinaproject.bitbucket.org/" -SRC_URI="https://bitbucket.org/dismine/valentina/get/v0.4.2.zip -> ${P}.zip" +HOMEPAGE="https://valentina-project.org/" +SRC_URI="https://github.com/valentina-project/vpo2/archive/v${PV}.zip -> ${P}.zip" LICENSE="GPL-3" SLOT="0" @@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86" IUSE="gnome" # en_IN not supported in Gentoo so not added here -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" +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" for LANG in ${LANGS}; do IUSE="${IUSE} linguas_${LANG}" @@ -38,9 +38,9 @@ DEPEND="${CDEPEND} S=${WORKDIR}/dismine-${PN}-44d43351cb59 src_prepare() { - epatch "${FILESDIR}/locales.patch" \ - "${FILESDIR}/fix-insecure-runpaths.patch" \ - "${FILESDIR}/disable-tests-compilation.patch" + epatch "${FILESDIR}/${PV}-locales.patch" \ + "${FILESDIR}/${PV}-fix-insecure-runpaths.patch" \ + "${FILESDIR}/${PV}-disable-tests-compilation.patch" default } @@ -60,7 +60,7 @@ src_configure() { src_install() { emake install INSTALL_ROOT="${D}" - dodoc LICENSE_GPL.txt ChangeLog.txt README.txt + dodoc AUTHORS.txt ChangeLog.txt README.md doman dist/debian/${PN}.1 doman dist/debian/tape.1 @@ -71,7 +71,8 @@ src_install() { } pkg_postinst() { - fdo-mime_desktop_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update if use gnome ; then gnome2_icon_cache_update diff --git a/media-gfx/valentina/valentina-9999.ebuild b/media-gfx/valentina/valentina-9999.ebuild index 26d48b1311b8..66229d43a07d 100644 --- a/media-gfx/valentina/valentina-9999.ebuild +++ b/media-gfx/valentina/valentina-9999.ebuild @@ -3,13 +3,12 @@ EAPI=6 -inherit mercurial qmake-utils gnome2-utils fdo-mime +inherit git-r3 qmake-utils gnome2-utils xdg-utils DESCRIPTION="Cloth patternmaking software" -HOMEPAGE="http://valentinaproject.bitbucket.org/" -SRC_URI="" -EHG_REPO_URI="https://bitbucket.org/dismine/valentina" -EHG_REVISION="develop" +HOMEPAGE="https://valentina-project.org/" +EGIT_REPO_URI="https://github.com/valentina-project/vpo2.git" +EGIT_BRANCH="develop" LICENSE="GPL-3" SLOT="0" @@ -51,7 +50,7 @@ src_configure() { src_install() { emake install INSTALL_ROOT="${D}" - dodoc LICENSE_GPL.txt ChangeLog.txt README.txt + dodoc AUTHORS.txt ChangeLog.txt README.md doman dist/debian/${PN}.1 doman dist/debian/tape.1 @@ -62,7 +61,8 @@ src_install() { } pkg_postinst() { - fdo-mime_desktop_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update if use gnome ; then gnome2_icon_cache_update |