commit:     1ea23f10d0bc7b27c925ac9a5375ea9ea126331c
Author:     Jiayi Zhao <jeff.no.zhao <AT> gmail <DOT> com>
AuthorDate: Sun Jan 14 15:48:48 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 13 07:41:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea23f10

media-gfx/qimgv: new package

Closes: https://github.com/gentoo/gentoo/pull/6858

 media-gfx/qimgv/Manifest          |  1 +
 media-gfx/qimgv/metadata.xml      | 12 +++++++++++
 media-gfx/qimgv/qimgv-0.6.ebuild  | 44 +++++++++++++++++++++++++++++++++++++++
 media-gfx/qimgv/qimgv-9999.ebuild | 38 +++++++++++++++++++++++++++++++++
 4 files changed, 95 insertions(+)

diff --git a/media-gfx/qimgv/Manifest b/media-gfx/qimgv/Manifest
new file mode 100644
index 00000000000..30759212828
--- /dev/null
+++ b/media-gfx/qimgv/Manifest
@@ -0,0 +1 @@
+DIST qimgv-0.6.tar.gz 232586 BLAKE2B 
077210c16906dbc746f18295f80ac8ea5f948b4abba366659826ebd0ebad1876da53be26a3855c58a2f25e2cfc02fb2ef030a74e17e89f92b2aef572e58a8e0c
 SHA512 
50156a6bdf08e8cc82d30ad23d1deef7f0c119c970c8e577d8b0de65f6b11827e0cf57593834ae7e8887dce5d83215cbd98e9c5b8905d6a3580943e432bdb6cb

diff --git a/media-gfx/qimgv/metadata.xml b/media-gfx/qimgv/metadata.xml
new file mode 100644
index 00000000000..ccef191fae1
--- /dev/null
+++ b/media-gfx/qimgv/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>jeff.no.z...@gmail.com</email>
+               <name>Jiayi Zhao</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-ma...@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/media-gfx/qimgv/qimgv-0.6.ebuild b/media-gfx/qimgv/qimgv-0.6.ebuild
new file mode 100644
index 00000000000..1d1623a2470
--- /dev/null
+++ b/media-gfx/qimgv/qimgv-0.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils xdg-utils
+
+DESCRIPTION="A cross-platform image viewer with webm support. Written in qt5"
+HOMEPAGE="https://github.com/easymodo/qimgv";
+SRC_URI="https://github.com/easymodo/qimgv/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       dev-qt/qtconcurrent:5
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtwidgets:5
+       media-video/mpv[libmpv]
+"
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig
+"
+
+src_prepare() {
+       # so cmake can find binaries
+       sed -i 's/build\/qimgv/${CMAKE_BINARY_DIR}\/qimgv/' CMakeLists.txt || 
die
+
+       cmake-utils_src_prepare
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}

diff --git a/media-gfx/qimgv/qimgv-9999.ebuild 
b/media-gfx/qimgv/qimgv-9999.ebuild
new file mode 100644
index 00000000000..a5955797418
--- /dev/null
+++ b/media-gfx/qimgv/qimgv-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit git-r3 cmake-utils gnome2-utils xdg-utils
+
+DESCRIPTION="A cross-platform image viewer with webm support. Written in qt5."
+HOMEPAGE="https://github.com/easymodo/qimgv";
+
+EGIT_REPO_URI="https://github.com/easymodo/qimgv.git";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="
+       dev-qt/qtconcurrent:5
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtwidgets:5
+       media-video/mpv[libmpv]
+"
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig
+"
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}

Reply via email to