DIST pencil-0.6.1.1.tar.gz 2987266 BLAKE2B ae97364178e62535c17941c6c4a3ad507f5883628cbce59635a2c86cf3485ebd85a5815f28516315dabc30bd791c723805078d47f36b1409d545a769b78d90c4 SHA512 e84330da70091414a9fca8f0be8c8ca82272d89777cd0e5a33d30e4a53449eca20cfc175c84cbbe063dd1017be5b263ddf490f69771d9931c9d31261ebe46354
+DIST pencil-0.6.4.tar.gz 3397891 BLAKE2B cb3fc754cd9abc2944fd184ea61b057a784a5b9e3c42724ef50b117a933cad0b72456a32e849c2de3ae6a7eb8bc6bdeee3ed751e8a6c8c68a74130d03ba6f1de SHA512 da28bd6bcdb0336c81e0735bec261373cd1e5db06feb012d4bba098c9df2ebea6f5b763e9c5e5e17c1518efdd6b9cde634ecf2152b49c25cde6c93da63e6fde8
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>bkohler@gentoo.org</email>
+ <name>Ben Kohler</name>
+ </maintainer>
<upstream>
<remote-id type="sourceforge">pencil-planner</remote-id>
</upstream>
--- /dev/null
+# 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/_/-}"
+
+src_prepare() {
+ default
+ sed -e "/^QT/s/xmlpatterns //" \
+ -i core_lib/core_lib.pro tests/tests.pro || die
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ einstalldocs
+
+ # install target not yet provided
+ # emake INSTALL_ROOT="${D}" install
+ newbin bin/pencil2d ${PN}
+
+ newicon app/data/icons/icon.png ${PN}.png
+ make_desktop_entry ${PN} pencil2d ${PN} Graphics
+
+ insinto /usr/share/mime/packages/
+ doins app/data/pencil2d.xml
+
+ # TODO: Install l10n files
+}
+
+pkg_postinst() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}