public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/pencil/
@ 2020-01-29 16:05 99% Ben Kohler
  0 siblings, 0 replies; 1+ results
From: Ben Kohler @ 2020-01-29 16:05 UTC (permalink / raw
  To: gentoo-commits

commit:     d00e22160ec694b1efc95bbcfe598cc8dec18ac7
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 29 16:03:43 2020 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Wed Jan 29 16:04:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d00e2216

media-gfx/pencil: take pkg, bump to 0.6.4, fix missing deps, EAPI=7

Closes: https://bugs.gentoo.org/681576
Closes: https://bugs.gentoo.org/684356
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 media-gfx/pencil/Manifest            |  1 +
 media-gfx/pencil/metadata.xml        |  5 ++-
 media-gfx/pencil/pencil-0.6.4.ebuild | 63 ++++++++++++++++++++++++++++++++++++
 3 files changed, 68 insertions(+), 1 deletion(-)

diff --git a/media-gfx/pencil/Manifest b/media-gfx/pencil/Manifest
index 05e5b6ece13..7f57cc457c2 100644
--- a/media-gfx/pencil/Manifest
+++ b/media-gfx/pencil/Manifest
@@ -1 +1,2 @@
 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

diff --git a/media-gfx/pencil/metadata.xml b/media-gfx/pencil/metadata.xml
index eac6c670643..9fb96e2736a 100644
--- a/media-gfx/pencil/metadata.xml
+++ b/media-gfx/pencil/metadata.xml
@@ -1,7 +1,10 @@
 <?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>

diff --git a/media-gfx/pencil/pencil-0.6.4.ebuild b/media-gfx/pencil/pencil-0.6.4.ebuild
new file mode 100644
index 00000000000..7a7001dd26d
--- /dev/null
+++ b/media-gfx/pencil/pencil-0.6.4.ebuild
@@ -0,0 +1,63 @@
+# 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
+}


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-01-29 16:05 99% [gentoo-commits] repo/gentoo:master commit in: media-gfx/pencil/ Ben Kohler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox