diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-02-04 15:33:34 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-02-04 15:33:48 +0100 |
commit | b300cd47a7846c78dcf9485c9df8d4b3ee1cccb0 (patch) | |
tree | c3635cc64bae461c5db228afb98b25343c773606 /media-gfx/valentina | |
parent | media-gfx/gifsicle: Version bump and security fix (diff) | |
download | gentoo-b300cd47a7846c78dcf9485c9df8d4b3ee1cccb0.tar.gz gentoo-b300cd47a7846c78dcf9485c9df8d4b3ee1cccb0.tar.bz2 gentoo-b300cd47a7846c78dcf9485c9df8d4b3ee1cccb0.zip |
media-gfx/valentina: bump to 0.7.52
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-gfx/valentina')
-rw-r--r-- | media-gfx/valentina/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/valentina/valentina-0.7.52.ebuild | 120 |
2 files changed, 121 insertions, 0 deletions
diff --git a/media-gfx/valentina/Manifest b/media-gfx/valentina/Manifest index e7fb660126b8..6f9b0dbf37b0 100644 --- a/media-gfx/valentina/Manifest +++ b/media-gfx/valentina/Manifest @@ -1,2 +1,3 @@ DIST valentina-5858.patch.bz2 4507 BLAKE2B 10bf1e48b9c822b5fecd040edea05a9fa16bc84d6d8a872a50329bd6b61ae250b489fbf71b19f0453ab5caea0bd7dc821d8c6fbe0fc24a6306d57ce5b34350f9 SHA512 037d2a5305d85d7d6be90c181ee6c39110a86c5f5d77c22453a2933e7d6a43c600f6ffb393015e98f9aab55b0d11291dca482352e1fc74f485578b65b3b84720 DIST valentina-v0.6.1.tar.bz2 25575677 BLAKE2B 56d5adc973df319b3a65f877768c2195e1af2db39118e18fb17636e5739610d55e4ade4d4516a6817347dcdb0e4468e4587cff91fc5a5ea74a35029c52bf858c SHA512 52a3a02bd08f85c6241fe29baa9c8a2b80d2e8b071877bc68f98c3ff7bcdf810d9975903f804bf4e120f1a65c06de405fd44bc822292ab7b6191b778ec703542 +DIST valentina-v0.7.52.tar.bz2 30819274 BLAKE2B 3b9b2ac2c4083371420dca4911bf5162d9d772ddf0a8b4582dac7ca47e6f027279a99bd3d674a7f0ce15e962cdf1afbdb573f8a14a5f6c02baae1f7a5aae37a1 SHA512 71ff3dc4ccea2ee3df34fda0364b211a80d4f953e6d3b9bf9b40ba1f4d1531e751d077983e8d13acb1f524c9883d2f565289d1b67d5de0a152c9a4df1428d6df diff --git a/media-gfx/valentina/valentina-0.7.52.ebuild b/media-gfx/valentina/valentina-0.7.52.ebuild new file mode 100644 index 000000000000..c44783b0bd50 --- /dev/null +++ b/media-gfx/valentina/valentina-0.7.52.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils xdg + +DESCRIPTION="Cloth patternmaking software" +HOMEPAGE="https://smart-pattern.com.ua/" +SRC_URI="https://gitlab.com/smart-pattern/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +LANGS="cs de el en en es fi fr he id it nl pt-BR ro ru uk zh-CN" + +for LANG in ${LANGS}; do + IUSE="${IUSE} l10n_${LANG}" +done + +RDEPEND=" + app-text/poppler + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtopengl:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + dev-qt/qtxmlpatterns:5" +DEPEND=" + ${RDEPEND} + dev-qt/qttest:5 +" +BDEPEND=" + dev-qt/linguist-tools:5 +" + +S=${WORKDIR}/${PN}-v${PV} + +src_configure() { + local locales="" + local locale + + for LANG in ${LANGS}; do + if use l10n_${LANG}; then + case ${LANG} in + "cs") + locale="cs_CZ" + ;; + "de") + locale="de_DE" + ;; + "el") + locale="el_GR" + ;; + "en") + locale="en_CA en_IN en_US" + ;; + "es") + locale="es_ES" + ;; + "fi") + locale="fi_FI" + ;; + "fr") + locale="fr_FR" + ;; + "he") + locale="he_IL" + ;; + "id") + locale="id_ID" + ;; + "it") + locale="it_IT" + ;; + "nl") + locale="nl_NL" + ;; + "pt-BR") + locale="pt_BR" + ;; + "ro") + locale="ro_RO" + ;; + "ru") + locale="ru_RU" + ;; + "uk") + locale="uk_UA" + ;; + "zh-CN") + locale="zh_CN" + ;; + esac + + locales="${locales} ${locale}" + fi + done + + eqmake5 LOCALES="${locales}" "CONFIG+=noDebugSymbols no_ccache noRunPath noTests noWindowsInstaller" Valentina.pro -r +} + +src_install() { + emake install INSTALL_ROOT="${D}" + + dodoc AUTHORS.txt ChangeLog.txt README.txt + + doman dist/debian/${PN}.1 + doman dist/debian/puzzle.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 +} |