diff options
author | Ben Kohler <bkohler@gentoo.org> | 2022-02-17 09:32:28 -0600 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2022-02-17 12:50:05 -0600 |
commit | 0db17171a8933690e58cd7814b7b32515dde2e4a (patch) | |
tree | 775181d9937e827dddbb78bf799af5c2c1c251f6 /media-gfx | |
parent | net-misc/dropbox: bump to 142.4.4197 (diff) | |
download | gentoo-0db17171a8933690e58cd7814b7b32515dde2e4a.tar.gz gentoo-0db17171a8933690e58cd7814b7b32515dde2e4a.tar.bz2 gentoo-0db17171a8933690e58cd7814b7b32515dde2e4a.zip |
media-gfx/pencil: bump to 0.6.6
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/pencil/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/pencil/pencil-0.6.6.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/media-gfx/pencil/Manifest b/media-gfx/pencil/Manifest index f25b8666527d..0f75af962fb3 100644 --- a/media-gfx/pencil/Manifest +++ b/media-gfx/pencil/Manifest @@ -1 +1,2 @@ DIST pencil-0.6.5.tar.gz 3714951 BLAKE2B 0b3ba5165f4a6778588eed3141c6260a29470ccf277e42612e68e8b4daf5b9cf32f6a4343c038d6014ceb1e99f7ce8c2a398130ea55e7ef16e2d006de3661625 SHA512 6d95dc4157ea0f5da829f40cdf99c682e560ca74af6964693d221321e7b3e923893957fc30475a725f09c18dc4667968ec6cd92e5ffb56999ea70a927266b637 +DIST pencil-0.6.6.tar.gz 3807612 BLAKE2B a4933399ea7f3103eb097756684f42061f5db4c419983458ce8ad317e7eab667ccc5c29c6bf9a3dec5fe57887c4456b64c6e93be889684bd2b567c247aa6dfeb SHA512 1cb976011a1270a2715568fc740db28e6b1a0f050ff7cc2630687edb6e4b57245bf8f58e69721dabab0a2bd65f58780176e2a59691ed0b19f7276c1aad950e7d diff --git a/media-gfx/pencil/pencil-0.6.6.ebuild b/media-gfx/pencil/pencil-0.6.6.ebuild new file mode 100644 index 000000000000..e162f1c52770 --- /dev/null +++ b/media-gfx/pencil/pencil-0.6.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils xdg-utils + +DESCRIPTION="2D animation and drawing program based on Qt5" +HOMEPAGE="https://www.pencil2d.org/" +SRC_URI="https://github.com/pencil2d/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 +" +DEPEND="${RDEPEND} + test? ( dev-qt/qttest:5 ) +" + +S="${WORKDIR}/${P/_/-}" + +src_prepare() { + default + sed -e "/^QT/s/xmlpatterns //" \ + -i core_lib/core_lib.pro tests/tests.pro || die +} + +src_configure() { + eqmake5 PREFIX=/usr $(usex test "" "CONFIG+=NO_TESTS") +} + +src_install() { + einstalldocs + emake INSTALL_ROOT="${D}" install + # TODO: Install l10n files +} + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} |