diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2016-10-21 18:45:55 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2016-10-21 18:45:55 +0200 |
commit | a6c34f249927f1148f96bdfebac5a97c02d994cf (patch) | |
tree | c97325127324625ae944d711c3457645efa6d332 /media-gfx/valentina | |
parent | net-misc/pulseaudio-dlna: adding for bug 575256 (diff) | |
download | gentoo-a6c34f249927f1148f96bdfebac5a97c02d994cf.tar.gz gentoo-a6c34f249927f1148f96bdfebac5a97c02d994cf.tar.bz2 gentoo-a6c34f249927f1148f96bdfebac5a97c02d994cf.zip |
media-gfx/valentina: version bump
Package-Manager: portage-2.3.2
Diffstat (limited to 'media-gfx/valentina')
-rw-r--r-- | media-gfx/valentina/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/valentina/valentina-0.4.5.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/media-gfx/valentina/Manifest b/media-gfx/valentina/Manifest index dd83a3029656..741c5afe6012 100644 --- a/media-gfx/valentina/Manifest +++ b/media-gfx/valentina/Manifest @@ -1 +1,2 @@ DIST valentina-0.4.2.zip 21431337 SHA256 7d80d7cf49250cc48f7ae791e1ee3a8de2216f818fe100b883302099d984de05 SHA512 e04615fe0d79e8d0adebaea1808ee123d979babcd9f9320e897921aeda811ece37aff20575fb4bc033f21a91b498f409dbf1a4b8999e8b3c841c2f842ce41263 WHIRLPOOL 59714a19dee39cadc86f5542e52b4424fd7724bbbf5c9e3f6f33ebc48c313bc2b7c5f3f11f82b660f9a2619d05e76bc91f65201c95ae1473efaa540e132020d9 +DIST valentina-0.4.5.zip 21431337 SHA256 7d80d7cf49250cc48f7ae791e1ee3a8de2216f818fe100b883302099d984de05 SHA512 e04615fe0d79e8d0adebaea1808ee123d979babcd9f9320e897921aeda811ece37aff20575fb4bc033f21a91b498f409dbf1a4b8999e8b3c841c2f842ce41263 WHIRLPOOL 59714a19dee39cadc86f5542e52b4424fd7724bbbf5c9e3f6f33ebc48c313bc2b7c5f3f11f82b660f9a2619d05e76bc91f65201c95ae1473efaa540e132020d9 diff --git a/media-gfx/valentina/valentina-0.4.5.ebuild b/media-gfx/valentina/valentina-0.4.5.ebuild new file mode 100644 index 000000000000..cb70b611b4b2 --- /dev/null +++ b/media-gfx/valentina/valentina-0.4.5.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qmake-utils gnome2-utils fdo-mime + +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" +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 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" \ + "${FILESDIR}/fix-insecure-runpaths.patch" \ + "${FILESDIR}/disable-tests-compilation.patch" +} + +src_configure() { + local locales="" + + for LANG in ${LANGS}; do + if use linguas_${LANG}; then + locales="${locales} ${LANG}" + fi + done + + eqmake5 LOCALES="${locales}" "CONFIG+=noStripDebugSymbols no_ccache noRunPath noTests" Valentina.pro -r +} + +src_install() { + emake install INSTALL_ROOT="${D}" + + dodoc LICENSE_GPL.txt ChangeLog.txt README.txt + + doman dist/debian/${PN}.1 + doman dist/debian/tape.1 + + cp dist/debian/valentina.sharedmimeinfo dist/debian/${PN}.xml || die + insinto /usr/share/mime/packages + doins dist/debian/${PN}.xml +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + if use gnome ; then + gnome2_icon_cache_update + fi +} |