diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /media-gfx/pencil/pencil-0.6.5.ebuild | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'media-gfx/pencil/pencil-0.6.5.ebuild')
-rw-r--r-- | media-gfx/pencil/pencil-0.6.5.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/media-gfx/pencil/pencil-0.6.5.ebuild b/media-gfx/pencil/pencil-0.6.5.ebuild new file mode 100644 index 000000000000..e4872b8d9df9 --- /dev/null +++ b/media-gfx/pencil/pencil-0.6.5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop 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/_/-}" +PATCHES="${FILESDIR}/${P}-skip-building-tests.patch" + +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 +} |