summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2018-08-11 20:52:42 -0400
committerMichał Górny <mgorny@gentoo.org>2018-08-15 13:55:34 +0200
commitab83b9f017d52ec39fed312e2e6dcf463ad70da7 (patch)
tree766302a426dde24687a190837c8cc8f8c291718c /media-gfx
parentsys-fs/treesize: Fix LICENSE (diff)
downloadgentoo-ab83b9f017d52ec39fed312e2e6dcf463ad70da7.tar.gz
gentoo-ab83b9f017d52ec39fed312e2e6dcf463ad70da7.tar.bz2
gentoo-ab83b9f017d52ec39fed312e2e6dcf463ad70da7.zip
media-gfx/qimgv: version bump 0.7
Closes: https://github.com/gentoo/gentoo/pull/9542
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/qimgv/Manifest1
-rw-r--r--media-gfx/qimgv/metadata.xml4
-rw-r--r--media-gfx/qimgv/qimgv-0.7.ebuild46
3 files changed, 51 insertions, 0 deletions
diff --git a/media-gfx/qimgv/Manifest b/media-gfx/qimgv/Manifest
index d3534777deb..b5e9cce2baa 100644
--- a/media-gfx/qimgv/Manifest
+++ b/media-gfx/qimgv/Manifest
@@ -1 +1,2 @@
DIST qimgv-0.6.3.tar.gz 238521 BLAKE2B 55da7c0e7b18547e7c2e2ab76f0a535c655c898707641c896469a07040e8f7f1a6e80580143016e24cdc0a7d9e2287c0d081ca8d262337faeea5d02168796a8e SHA512 c18ed0678bc094fedb339cfa227a5ddace6728b724f7640e4b018e52aa49dfb80d18879b372ab25bbf9e8c38497999471ba35a9bea5cd6b18d5ccbf1e55f3301
+DIST qimgv-0.7.tar.gz 273405 BLAKE2B c4f497eb132eeefa161e328f1ce246ff0a369e21b895cf85b68a69aaf446289ae0fc1170be9c424c32fc8659c196d1c7542938813edef30ea30f4e8509f22cfe SHA512 35fb8fbba75e08dad945fcbc679f449894c6eafc01ab0166b1929956dca636ccd25ba261c22c58a4d283aafa0690ca2c1f672092fc40c5b532f41944e4b0a9e3
diff --git a/media-gfx/qimgv/metadata.xml b/media-gfx/qimgv/metadata.xml
index ccef191fae1..21ece4b8101 100644
--- a/media-gfx/qimgv/metadata.xml
+++ b/media-gfx/qimgv/metadata.xml
@@ -9,4 +9,8 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
+
+ <use>
+ <flag name="video">Add support for gif/webm playback via libmpv</flag>
+ </use>
</pkgmetadata>
diff --git a/media-gfx/qimgv/qimgv-0.7.ebuild b/media-gfx/qimgv/qimgv-0.7.ebuild
new file mode 100644
index 00000000000..7af9daad7bf
--- /dev/null
+++ b/media-gfx/qimgv/qimgv-0.7.ebuild
@@ -0,0 +1,46 @@
+# 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="kde video"
+
+RDEPEND="
+ >=dev-qt/qtconcurrent-5.10.0
+ >=dev-qt/qtcore-5.10.0
+ >=dev-qt/qtgui-5.10.0
+ >=dev-qt/qtwidgets-5.10.0
+ kde? ( kde-frameworks/kwindowsystem:5 )
+ video? ( media-video/mpv[libmpv] )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DKDE_BLUR=$(usex kde)
+ -DVIDEO_SUPPORT=$(usex video)
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}