summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-03-28 23:39:53 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-03-28 23:45:22 +0200
commitefb8a69f9521334e35cbdd51a6a10d170714c466 (patch)
tree107f1aa45ea5642408d922be15daa5aead32ccbb
parentmedia-video/abby: Remove last-rited package (diff)
downloadgentoo-efb8a69f9521334e35cbdd51a6a10d170714c466.tar.gz
gentoo-efb8a69f9521334e35cbdd51a6a10d170714c466.tar.bz2
gentoo-efb8a69f9521334e35cbdd51a6a10d170714c466.zip
media-gfx/pencil: 0.6.1_rc1 version bump
Thanks-to: Agustin Ferrari <swicher@gmail.com> Bug: https://bugs.gentoo.org/602042 Package-Manager: Portage-2.3.26, Repoman-2.3.7
-rw-r--r--media-gfx/pencil/Manifest1
-rw-r--r--media-gfx/pencil/pencil-0.6.1_rc1.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/media-gfx/pencil/Manifest b/media-gfx/pencil/Manifest
index e8a8afd0b590..fe8444908242 100644
--- a/media-gfx/pencil/Manifest
+++ b/media-gfx/pencil/Manifest
@@ -1 +1,2 @@
DIST pencil-0.4.4b-src.zip 1147003 BLAKE2B 178f25c716b392505862ed4f56c5683428a7c36cf99d5e1c959be4e2c0fa1d4262ef50234d83c8a4591eaaa4ebaebaa62fcce8484ba4bf45a87ec74784401c25 SHA512 5ed5bad3d2a1ac993539c2c510bcc5a1df3e33f37187c069d21f3c784eb8a290c69cfccbba8645ebab58b0feafb3c229d882dcade72fca3110846c7b1629331b
+DIST pencil-0.6.1_rc1.tar.gz 2515450 BLAKE2B 7852368397f51cf8f6d51d8a16aafa148ab5f7d3286d593ae9f610322379a84e0b5473ccdb065b2c0d175fb5faf04b908cb129feafeff75f756858b8cf8f6e48 SHA512 242a226d5ef9cdb5c886ff5e452f0aab22689ad787bbb6ce649b5ad4939959dc5245d3fdf50402438b8f62598f59e166f739af4b37f6092e7a10e26b4e02febb
diff --git a/media-gfx/pencil/pencil-0.6.1_rc1.ebuild b/media-gfx/pencil/pencil-0.6.1_rc1.ebuild
new file mode 100644
index 000000000000..ae567e8d0058
--- /dev/null
+++ b/media-gfx/pencil/pencil-0.6.1_rc1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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=""
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ einstalldocs
+
+ # install target not yet provided
+ # emake INSTALL_ROOT="${D}" install || die "emake install failed"
+ 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
+}