Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/panini/
Date: Fri, 12 Jan 2018 23:31:23
Message-Id: 1515799869.4ccb29158cd530a40f3ffbcb2b1816cd35135f0d.asturm@gentoo
commit:     4ccb29158cd530a40f3ffbcb2b1816cd35135f0d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 23:30:20 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 23:31:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ccb2915

media-gfx/panini: 0.72.0 version bump

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-gfx/panini/Manifest             |  1 +
 media-gfx/panini/metadata.xml         |  2 +-
 media-gfx/panini/panini-0.72.0.ebuild | 52 +++++++++++++++++++++++++++++++++++
 3 files changed, 54 insertions(+), 1 deletion(-)

diff --git a/media-gfx/panini/Manifest b/media-gfx/panini/Manifest
index f81534d6a7a..b8083b87e50 100644
--- a/media-gfx/panini/Manifest
+++ b/media-gfx/panini/Manifest
@@ -1 +1,2 @@
 DIST Panini-0.71.104-src.zip 602843 BLAKE2B 93882ceebd4cbd7d5b00c4a1f6e34c10c7e5c16b30bb5d2dbd1000377bae7de2e4f73ecfe432a3a9e4b95fae79e06d14d2f08d82f3ba7621067914b3d3426fa8 SHA512 506047cbaf6928ee234ad1071b4aeefeec43dc7cfe7640db796d25c4932521ed19c8adb3983dc00e31595e4ce87c38d65f88903f1756bbae2ce0b19843680737
+DIST panini-0.72.0.tar.gz 328528 BLAKE2B b5053147d51f308395d2c3505bc0821947cd2c32955f86071cbbdd00c750793729be723c133ec7a619ff0fce5a0d9813580954597137a4e66780390b882bca7f SHA512 b859e723832d2d57de69dcbcd09615245e11d7fce124a55f7795608a8e9337427d9d1d10867ef9eecb16bd792313f5146ae19de553603bd70dedca69ba7c2de1

diff --git a/media-gfx/panini/metadata.xml b/media-gfx/panini/metadata.xml
index cba202fec3f..5a6248de464 100644
--- a/media-gfx/panini/metadata.xml
+++ b/media-gfx/panini/metadata.xml
@@ -6,6 +6,6 @@
 		<name>Gentoo Graphics Project</name>
 	</maintainer>
 	<upstream>
-		<remote-id type="sourceforge">pvqt</remote-id>
+		<remote-id type="github">lazarus-pkgs/panini</remote-id>
 	</upstream>
 </pkgmetadata>

diff --git a/media-gfx/panini/panini-0.72.0.ebuild b/media-gfx/panini/panini-0.72.0.ebuild
new file mode 100644
index 00000000000..c552c99c816
--- /dev/null
+++ b/media-gfx/panini/panini-0.72.0.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
+
+MY_P="${P/p/P}-src"
+DESCRIPTION="OpenGL-based panoramic image viewer"
+HOMEPAGE="https://github.com/lazarus-pkgs/panini"
+SRC_URI="https://github.com/lazarus-pkgs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtopengl:5
+	dev-qt/qtwidgets:5
+	sys-libs/zlib
+	virtual/glu
+"
+DEPEND="${RDEPEND}
+	app-arch/unzip
+"
+
+DOCS=( NEWS {BUILD,README,USAGE}.md )
+
+src_prepare() {
+	default
+	eqmake5 ${PN}.pro
+}
+
+src_install() {
+	einstalldocs
+	dobin panini
+	domenu "${FILESDIR}"/${PN}.desktop
+	newicon ui/panini-icon-blue.jpg ${PN}.jpg
+}
+
+pkg_postinst() {
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+}