From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC59C139694 for ; Mon, 15 May 2017 17:36:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB409E0C75; Mon, 15 May 2017 17:36:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 959A4E0C75 for ; Mon, 15 May 2017 17:36:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 56762341659 for ; Mon, 15 May 2017 17:36:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDD347454 for ; Mon, 15 May 2017 17:36:05 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1494869742.ac39805d5fb3668296f88d393556ed2301f9feaf.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/valentina/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/valentina/Manifest media-gfx/valentina/valentina-0.5.0.ebuild X-VCS-Directories: media-gfx/valentina/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: ac39805d5fb3668296f88d393556ed2301f9feaf X-VCS-Branch: master Date: Mon, 15 May 2017 17:36:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0e78d526-6c27-4d91-8ed4-e7a0864822ab X-Archives-Hash: c5e2b3eb4885571de1adca2c4087f915 commit: ac39805d5fb3668296f88d393556ed2301f9feaf Author: Miroslav Šulc gentoo org> AuthorDate: Mon May 15 17:04:15 2017 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Mon May 15 17:35:42 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac39805d media-gfx/valentina: version bump Package-Manager: Portage-2.3.5, Repoman-2.3.2 media-gfx/valentina/Manifest | 1 + media-gfx/valentina/valentina-0.5.0.ebuild | 79 ++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/media-gfx/valentina/Manifest b/media-gfx/valentina/Manifest index 741c5afe601..6bea678af21 100644 --- a/media-gfx/valentina/Manifest +++ b/media-gfx/valentina/Manifest @@ -1,2 +1,3 @@ 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 +DIST valentina-0.5.0.zip 21431337 SHA256 7d80d7cf49250cc48f7ae791e1ee3a8de2216f818fe100b883302099d984de05 SHA512 e04615fe0d79e8d0adebaea1808ee123d979babcd9f9320e897921aeda811ece37aff20575fb4bc033f21a91b498f409dbf1a4b8999e8b3c841c2f842ce41263 WHIRLPOOL 59714a19dee39cadc86f5542e52b4424fd7724bbbf5c9e3f6f33ebc48c313bc2b7c5f3f11f82b660f9a2619d05e76bc91f65201c95ae1473efaa540e132020d9 diff --git a/media-gfx/valentina/valentina-0.5.0.ebuild b/media-gfx/valentina/valentina-0.5.0.ebuild new file mode 100644 index 00000000000..b05f1b1382b --- /dev/null +++ b/media-gfx/valentina/valentina-0.5.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +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" + + default +} + +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 +}