[gentoo-commits] repo/gentoo:master commit in: media-gfx/valentina/, media-gfx/valentina/files/
commit: 28418c3c72b33359b7ddde9da433b40bf29c6fa5 Author: Miroslav Šulc gentoo org> AuthorDate: Mon Dec 30 17:01:41 2019 + Commit: Miroslav Šulc gentoo org> CommitDate: Mon Dec 30 17:01:41 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28418c3c media-gfx/valentina: 0.6.1 - fixed building with qt 5.14 Closes: https://bugs.gentoo.org/704244 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Miroslav Šulc gentoo.org> media-gfx/valentina/files/5858.patch | 1495 media-gfx/valentina/valentina-0.6.1.ebuild |1 + 2 files changed, 1496 insertions(+) diff --git a/media-gfx/valentina/files/5858.patch b/media-gfx/valentina/files/5858.patch new file mode 100644 index 000..b24d89eb8e1 --- /dev/null +++ b/media-gfx/valentina/files/5858.patch @@ -0,0 +1,1495 @@ +# HG changeset patch +# User Roman Telezhynskyi +# Date 1577703657 -7200 +# Mon Dec 30 13:00:57 2019 +0200 +# Branch release +# Node ID fb8691f522f3515d7c3014a0ea90b60b352a444e +# Parent 065a26d8b5779ca5c8c2486509352c8c48190a33 +Fix move sematic. + +diff -r 065a26d8b577 -r fb8691f522f3 src/libs/qmuparser/qmuparsercallback.cpp +--- a/src/libs/qmuparser/qmuparsercallback.cpp Sun Dec 29 14:37:46 2019 +0200 b/src/libs/qmuparser/qmuparsercallback.cpp Mon Dec 30 13:00:57 2019 +0200 +@@ -208,6 +208,21 @@ + return *this; + } + ++#ifdef Q_COMPILER_RVALUE_REFS ++//- ++QmuParserCallback ::operator=(QmuParserCallback &_Fun) Q_DECL_NOTHROW ++{ ++Swap(a_Fun); ++return *this; ++} ++#endif ++ ++//- ++void QmuParserCallback::Swap(QmuParserCallback _Fun) Q_DECL_NOTHROW ++{ ++std::swap(d, a_Fun.d); ++} ++ + //- + /** + * @brief Return true if the function is conservative. +diff -r 065a26d8b577 -r fb8691f522f3 src/libs/qmuparser/qmuparsercallback.h +--- a/src/libs/qmuparser/qmuparsercallback.h Sun Dec 29 14:37:46 2019 +0200 b/src/libs/qmuparser/qmuparsercallback.h Mon Dec 30 13:00:57 2019 +0200 +@@ -86,11 +86,10 @@ + QmuParserCallback =(const QmuParserCallback _Fun); + + #ifdef Q_COMPILER_RVALUE_REFS +-QmuParserCallback =(QmuParserCallback &_Fun) Q_DECL_NOTHROW { Swap(a_Fun); return *this; } ++QmuParserCallback =(QmuParserCallback &_Fun) Q_DECL_NOTHROW; + #endif + +-inline void Swap(QmuParserCallback _Fun) Q_DECL_NOTHROW +-{ std::swap(d, a_Fun.d); } ++void Swap(QmuParserCallback _Fun) Q_DECL_NOTHROW; + + Q_REQUIRED_RESULT QmuParserCallback* Clone() const; + +diff -r 065a26d8b577 -r fb8691f522f3 src/libs/vgeometry/vabstractarc.cpp +--- a/src/libs/vgeometry/vabstractarc.cpp Sun Dec 29 14:37:46 2019 +0200 b/src/libs/vgeometry/vabstractarc.cpp Mon Dec 30 13:00:57 2019 +0200 +@@ -78,6 +78,22 @@ + return *this; + } + ++#ifdef Q_COMPILER_RVALUE_REFS ++//- ++VAbstractArc ::operator=(VAbstractArc &) Q_DECL_NOTHROW ++{ ++Swap(arc); ++return *this; ++} ++#endif ++ ++//- ++void VAbstractArc::Swap(VAbstractArc ) Q_DECL_NOTHROW ++{ ++VAbstractCurve::Swap(arc); ++std::swap(d, arc.d); ++} ++ + //- + VAbstractArc::~VAbstractArc() + {} +diff -r 065a26d8b577 -r fb8691f522f3 src/libs/vgeometry/vabstractarc.h +--- a/src/libs/vgeometry/vabstractarc.hSun Dec 29 14:37:46 2019 +0200 b/src/libs/vgeometry/vabstractarc.hMon Dec 30 13:00:57 2019 +0200 +@@ -58,11 +58,10 @@ + + VAbstractArc& operator= (const VAbstractArc ); + #ifdef Q_COMPILER_RVALUE_REFS +-VAbstractArc =(VAbstractArc &) Q_DECL_NOTHROW { Swap(arc); return *this; } ++VAbstractArc =(VAbstractArc &) Q_DECL_NOTHROW; + #endif + +-inline void Swap(VAbstractArc ) Q_DECL_NOTHROW +-{ VAbstractCurve::Swap(arc); std::swap(d, arc.d); } ++void Swap(VAbstractArc ) Q_DECL_NOTHROW; + + QString GetFormulaF1 () const; + void SetFormulaF1 (const QString , qreal value); +diff -r 065a26d8b577 -r fb8691f522f3 src/libs/vgeometry/vabstractcurve.cpp +--- a/src/libs/vgeometry/vabstractcurve.cppSun Dec 29 14:37:46 2019 +0200 b/src/libs/vgeometry/vabstractcurve.cppMon Dec 30 13:00:57 2019 +0200 +@@ -59,6 +59,22 @@ + return *this; + } + ++#ifdef Q_COMPILER_RVALUE_REFS
[gentoo-commits] repo/gentoo:master commit in: media-gfx/valentina/, media-gfx/valentina/files/
commit: 47dac3a08c2c8b7402419875f1dab968ffe3a5b3 Author: Miroslav Šulc gentoo org> AuthorDate: Fri Mar 1 12:28:40 2019 + Commit: Miroslav Šulc gentoo org> CommitDate: Fri Mar 1 12:28:40 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47dac3a0 media-gfx/valentina-0.6.1: fixed bug #678670 Closes: https://bugs.gentoo.org/678670 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Miroslav Šulc gentoo.org> media-gfx/valentina/files/5823.patch | 50 ++ media-gfx/valentina/valentina-0.6.1.ebuild | 6 +++- 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/media-gfx/valentina/files/5823.patch b/media-gfx/valentina/files/5823.patch new file mode 100644 index 000..79df9a74c5a --- /dev/null +++ b/media-gfx/valentina/files/5823.patch @@ -0,0 +1,50 @@ +# HG changeset patch +# User Roman Telezhynskyi +# Date 1551441739 -7200 +# Fri Mar 01 14:02:19 2019 +0200 +# Branch release +# Node ID 82e62ea2d785e093af68089e509b224f3f4f843f +# Parent 0108ef767e2447e5b5f39378bcf245e25947a25d +Don't use Qt OpenGL module since Q5.4. + +diff -r 0108ef767e24 -r 82e62ea2d785 src/app/valentina/valentina.pro +--- a/src/app/valentina/valentina.pro Sun Feb 24 17:29:12 2019 +0200 b/src/app/valentina/valentina.pro Fri Mar 01 14:02:19 2019 +0200 +@@ -297,7 +297,6 @@ + $$[QT_INSTALL_BINS]/icuuc*.dll \ # Different name for different Qt releases + $$[QT_INSTALL_BINS]/Qt5Core.dll \ + $$[QT_INSTALL_BINS]/Qt5Concurrent.dll \ +-$$[QT_INSTALL_BINS]/Qt5OpenGL.dll \ + $$[QT_INSTALL_BINS]/Qt5Gui.dll \ + $$[QT_INSTALL_BINS]/Qt5Network.dll \ + $$[QT_INSTALL_BINS]/Qt5PrintSupport.dll \ +@@ -309,6 +308,11 @@ + $$[QT_INSTALL_BINS]/libstdc++-6.dll \ + $$[QT_INSTALL_BINS]/libwinpthread-1.dll + ++# Don't use Qt OpenGL module since Q5.4 ++equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 4) { ++package.files += $$[QT_INSTALL_BINS]/Qt5OpenGL.dll ++} ++ + # For support Windows 7+ + greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 6) { + package.files += $$[QT_INSTALL_BINS]/Qt5WinExtras.dll +diff -r 0108ef767e24 -r 82e62ea2d785 src/libs/vwidgets/vwidgets.pro +--- a/src/libs/vwidgets/vwidgets.pro Sun Feb 24 17:29:12 2019 +0200 b/src/libs/vwidgets/vwidgets.pro Fri Mar 01 14:02:19 2019 +0200 +@@ -7,7 +7,12 @@ + # File with common stuff for whole project + include(../../../common.pri) + +-QT += widgets printsupport opengl ++QT += widgets printsupport ++ ++# Don't use Qt OpenGL module since Q5.4 ++equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 4) { ++QT += opengl ++} + + # Name of the library + TARGET = vwidgets + diff --git a/media-gfx/valentina/valentina-0.6.1.ebuild b/media-gfx/valentina/valentina-0.6.1.ebuild index c9b39504031..a59fb86953a 100644 --- a/media-gfx/valentina/valentina-0.6.1.ebuild +++ b/media-gfx/valentina/valentina-0.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -38,6 +38,10 @@ DEPEND="${CDEPEND} S=${WORKDIR}/dismine-${PN}-b639b75d1688 +PATCHES=( + "${FILESDIR}/5823.patch" +) + src_configure() { local locales="" local locale
[gentoo-commits] repo/gentoo:master commit in: media-gfx/valentina/, media-gfx/valentina/files/
commit: 17516adb95147f7c975fb2f11ae708d922ca17bf Author: Miroslav Šulc gentoo org> AuthorDate: Mon Oct 23 17:41:20 2017 + Commit: Miroslav Šulc gentoo org> CommitDate: Mon Oct 23 17:41:44 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17516adb media-gfx/valentina: fixed repoman warnings, improved the ebuilds, fixed sources and homepages Package-Manager: Portage-2.3.12, Repoman-2.3.3 ...on.patch => 0.5.0-disable-tests-compilation.patch} | 0 ...npaths.patch => 0.5.0-fix-insecure-runpaths.patch} | 0 .../files/{locales.patch => 0.5.0-locales.patch} | 0 ...lentina-0.5.0.ebuild => valentina-0.5.0-r1.ebuild} | 19 ++- media-gfx/valentina/valentina-.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 similarity index 100% rename from media-gfx/valentina/files/disable-tests-compilation.patch rename to 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 similarity index 100% rename from media-gfx/valentina/files/fix-insecure-runpaths.patch rename to 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 similarity index 100% rename from media-gfx/valentina/files/locales.patch rename to 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 similarity index 69% rename from media-gfx/valentina/valentina-0.5.0.ebuild rename to media-gfx/valentina/valentina-0.5.0-r1.ebuild index 172cf895fa3..96dceba5eb9 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-.ebuild b/media-gfx/valentina/valentina-.ebuild index 26d48b1311b..66229d43a07 100644 --- a/media-gfx/valentina/valentina-.ebuild +++ b/media-gfx/valentina/valentina-.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 +
[gentoo-commits] repo/gentoo:master commit in: media-gfx/valentina/, media-gfx/valentina/files/
commit: 01f80d5ee8e1764bd76ee1f07c2a8fbfa0af7f38 Author: Miroslav Šulc gentoo org> AuthorDate: Fri Feb 19 21:04:08 2016 + Commit: Miroslav Šulc gentoo org> CommitDate: Fri Feb 19 21:28:24 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f80d5e media-gfx/valentina: disabled compilation of tests Package-Manager: portage-2.2.27 .../files/disable-tests-compilation.patch | 35 ++ media-gfx/valentina/valentina-0.4.2-r3.ebuild | 5 ++-- media-gfx/valentina/valentina-.ebuild | 2 +- 3 files changed, 39 insertions(+), 3 deletions(-) diff --git a/media-gfx/valentina/files/disable-tests-compilation.patch b/media-gfx/valentina/files/disable-tests-compilation.patch new file mode 100644 index 000..a819a02 --- /dev/null +++ b/media-gfx/valentina/files/disable-tests-compilation.patch @@ -0,0 +1,35 @@ +# HG changeset patch +# User Roman Telezhynskyi+# Date 1455906661 -7200 +# Branch develop +# Node ID 8edb1b0f161a5f472a0e6a8a8b5b8a1ae7cf33c5 +# Parent 42a73e7a17757ce9d12e16f616a41f52efdf4b91 +CONFIG key to disable building tests. + +diff --git a/src/src.pro b/src/src.pro +--- a/src/src.pro b/src/src.pro +@@ -1,8 +1,17 @@ + TEMPLATE = subdirs +-SUBDIRS = \ +-libs \ +-app \ +-test + +-app.depends = libs +-test.depends = libs ++noTests{ # For enable run qmake with CONFIG+=noTests ++ SUBDIRS = \ ++ libs \ ++ app ++ ++} else { ++ SUBDIRS = \ ++ libs \ ++ app \ ++ test ++ ++ test.depends = libs ++} ++ ++app.depends = libs diff --git a/media-gfx/valentina/valentina-0.4.2-r3.ebuild b/media-gfx/valentina/valentina-0.4.2-r3.ebuild index 30affd1..cb70b61 100644 --- a/media-gfx/valentina/valentina-0.4.2-r3.ebuild +++ b/media-gfx/valentina/valentina-0.4.2-r3.ebuild @@ -40,7 +40,8 @@ S=${WORKDIR}/dismine-${PN}-44d43351cb59 src_prepare() { epatch "${FILESDIR}/locales.patch" \ - "${FILESDIR}/fix-insecure-runpaths.patch" + "${FILESDIR}/fix-insecure-runpaths.patch" \ + "${FILESDIR}/disable-tests-compilation.patch" } src_configure() { @@ -52,7 +53,7 @@ src_configure() { fi done - eqmake5 LOCALES="${locales}" CONFIG+=noStripDebugSymbols CONFIG+=no_ccache CONFIG+=noRunPath Valentina.pro -r + eqmake5 LOCALES="${locales}" "CONFIG+=noStripDebugSymbols no_ccache noRunPath noTests" Valentina.pro -r } src_install() { diff --git a/media-gfx/valentina/valentina-.ebuild b/media-gfx/valentina/valentina-.ebuild index 70fd441..3ce700b 100644 --- a/media-gfx/valentina/valentina-.ebuild +++ b/media-gfx/valentina/valentina-.ebuild @@ -46,7 +46,7 @@ src_configure() { fi done - eqmake5 LOCALES="${locales}" CONFIG+=noStripDebugSymbols CONFIG+=no_ccache CONFIG+=noRunPath Valentina.pro -r + eqmake5 LOCALES="${locales}" "CONFIG+=noStripDebugSymbols no_ccache noRunPath noTests" Valentina.pro -r } src_install() {
[gentoo-commits] repo/gentoo:master commit in: media-gfx/valentina/, media-gfx/valentina/files/
commit: f6d9becf7de6e4345543d98d9badea17043a2963 Author: Miroslav Šulc gentoo org> AuthorDate: Thu Feb 18 17:58:42 2016 + Commit: Miroslav Šulc gentoo org> CommitDate: Thu Feb 18 17:58:42 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d9becf media-gfx/valentina: new package Package-Manager: portage-2.2.27 media-gfx/valentina/Manifest | 1 + media-gfx/valentina/files/locales.patch| 48 + media-gfx/valentina/metadata.xml | 8 + media-gfx/valentina/valentina-0.4.2.ebuild | 58 ++ media-gfx/valentina/valentina-.ebuild | 53 +++ 5 files changed, 168 insertions(+) diff --git a/media-gfx/valentina/Manifest b/media-gfx/valentina/Manifest new file mode 100644 index 000..dd83a30 --- /dev/null +++ b/media-gfx/valentina/Manifest @@ -0,0 +1 @@ +DIST valentina-0.4.2.zip 21431337 SHA256 7d80d7cf49250cc48f7ae791e1ee3a8de2216f818fe100b883302099d984de05 SHA512 e04615fe0d79e8d0adebaea1808ee123d979babcd9f9320e897921aeda811ece37aff20575fb4bc033f21a91b498f409dbf1a4b8999e8b3c841c2f842ce41263 WHIRLPOOL 59714a19dee39cadc86f5542e52b4424fd7724bbbf5c9e3f6f33ebc48c313bc2b7c5f3f11f82b660f9a2619d05e76bc91f65201c95ae1473efaa540e132020d9 diff --git a/media-gfx/valentina/files/locales.patch b/media-gfx/valentina/files/locales.patch new file mode 100644 index 000..a908462 --- /dev/null +++ b/media-gfx/valentina/files/locales.patch @@ -0,0 +1,48 @@ +diff --git a/src/app/translations.pri b/src/app/translations.pri +index b2dd2c4..87c55f7 100755 +--- a/src/app/translations.pri b/src/app/translations.pri +@@ -9,22 +9,27 @@ PMSYSTEMS += \ + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 \ + p31 p32 p33 p34 p35 p36 p37 p38 p39 p40 p41 p42 p43 p44 p45 p46 p47 p48 p49 p50 p51 p52 p53 p54 p998 + +-LANGUAGES += \ +-ru_RU \ +-uk_UA \ +-de_DE \ +-cs_CZ \ +-he_IL \ +-fr_FR \ +-it_IT \ +-nl_NL \ +-id_ID \ +-es_ES \ +-fi_FI \ +-en_US \ +-en_CA \ +-en_IN \ +-ro_RO ++isEmpty(LOCALES){ ++ LANGUAGES += \ ++ ru_RU \ ++ uk_UA \ ++ de_DE \ ++ cs_CZ \ ++ he_IL \ ++ fr_FR \ ++ it_IT \ ++ nl_NL \ ++ id_ID \ ++ es_ES \ ++ fi_FI \ ++ en_US \ ++ en_CA \ ++ en_IN \ ++ ro_RO \ ++ zh_CN ++ } else { ++ LANGUAGES = $${LOCALES} ++ } + + for(lang, LANGUAGES) { + INSTALL_TRANSLATIONS += $${TRANSLATIONS_PATH}/valentina_$${lang}.qm diff --git a/media-gfx/valentina/metadata.xml b/media-gfx/valentina/metadata.xml new file mode 100644 index 000..7208ccb --- /dev/null +++ b/media-gfx/valentina/metadata.xml @@ -0,0 +1,8 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + fordf...@gentoo.org + Miroslav Šulc + + diff --git a/media-gfx/valentina/valentina-0.4.2.ebuild b/media-gfx/valentina/valentina-0.4.2.ebuild new file mode 100644 index 000..a82b3f1 --- /dev/null +++ b/media-gfx/valentina/valentina-0.4.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qmake-utils + +DESCRIPTION="Cloth patternmaking software" +HOMEPAGE="http://valentinaproject.bitbucket.org/; +SRC_URI="https://bitbucket.org/dismine/valentina/get/v0.4.2.zip -> ${P}.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# 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 zh_CN" + +for LANG in ${LANGS}; do + IUSE="${IUSE} linguas_${LANG}" +done + +CDEPEND=" + app-text/poppler + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + dev-qt/qtxmlpatterns:5" +RDEPEND="${CDEPEND}" +DEPEND="${CDEPEND} + app-arch/unzip" + +S=${WORKDIR}/dismine-${PN}-44d43351cb59 + +src_prepare() { + epatch "${FILESDIR}/locales.patch" +} + +src_configure() { + local locales="" + + for LANG in ${LANGS}; do + if use linguas_${LANG}; then + locales="${locales} ${LANG}" + fi + done + + eqmake5 LOCALES="${locales}" CONFIG+=no_ccache Valentina.pro -r +} + +src_install() { + emake install INSTALL_ROOT="${D}" +} diff --git a/media-gfx/valentina/valentina-.ebuild b/media-gfx/valentina/valentina-.ebuild new file mode 100644 index 000..bb08d8f --- /dev/null +++ b/media-gfx/valentina/valentina-.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit mercurial qmake-utils + +DESCRIPTION="Cloth patternmaking software" +HOMEPAGE="http://valentinaproject.bitbucket.org/; +SRC_URI="" +EHG_REPO_URI="https://bitbucket.org/dismine/valentina;