summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-01-13 11:55:08 -0500
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-28 15:39:13 +0100
commit33cd78b3f069d03888e69b0fbfcb69fcd84505a5 (patch)
tree894dcb91f6cc353846182e306366dcb80fb45266 /media-gfx
parentapp-admin/metalog: add ~x64-cygwin keyword (diff)
downloadgentoo-33cd78b3f069d03888e69b0fbfcb69fcd84505a5.tar.gz
gentoo-33cd78b3f069d03888e69b0fbfcb69fcd84505a5.tar.bz2
gentoo-33cd78b3f069d03888e69b0fbfcb69fcd84505a5.zip
media-gfx/qimgv: version bump 0.7.3
Package-Manager: Portage-2.3.51-r1, Repoman-2.3.11 Signed-off-by: Jiayi Zhao <jeff.no.zhao@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10824 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/qimgv/Manifest1
-rw-r--r--media-gfx/qimgv/metadata.xml1
-rw-r--r--media-gfx/qimgv/qimgv-0.7.3.ebuild52
3 files changed, 54 insertions, 0 deletions
diff --git a/media-gfx/qimgv/Manifest b/media-gfx/qimgv/Manifest
index 4a0c7a385291..df250099b4b5 100644
--- a/media-gfx/qimgv/Manifest
+++ b/media-gfx/qimgv/Manifest
@@ -1 +1,2 @@
DIST qimgv-0.7.1.tar.gz 273529 BLAKE2B 60f1f87c3347333f76224046776ca4303a03286593191feb18791dd7065ba714db387a1f8cbf6f16f04cab7190645edee4aba11f13d1ce6c0cb52d9b79042f18 SHA512 dd142377aca7248d00ac51d0732de94106e7471973de45d66e8905c476e5eb5f3543e98b1322390dc54946e7c518c1a8711bcde46fb67c376808e4049b22a630
+DIST qimgv-0.7.3.tar.gz 266307 BLAKE2B b13794f4bd7ff8b2c9309f95453baa65f91c60d155e22a86eac1eb79b3dc7f9da003dbfdbfc2d14cbb6242c769516283785ed72e2f50d5bb51b394db05c167b8 SHA512 fae7986ce29941232dd2863a0900651fb3a7d6d184b05e763670b16c74bb0cc27ce6eb936b2a41a2183e3dc5c33006e3fe3491ed043c6e357ea31d6a716d80e0
diff --git a/media-gfx/qimgv/metadata.xml b/media-gfx/qimgv/metadata.xml
index 21ece4b81016..20b86eae5e77 100644
--- a/media-gfx/qimgv/metadata.xml
+++ b/media-gfx/qimgv/metadata.xml
@@ -12,5 +12,6 @@
<use>
<flag name="video">Add support for gif/webm playback via libmpv</flag>
+ <flag name="blur">Add support for background blur</flag>
</use>
</pkgmetadata>
diff --git a/media-gfx/qimgv/qimgv-0.7.3.ebuild b/media-gfx/qimgv/qimgv-0.7.3.ebuild
new file mode 100644
index 000000000000..002bdbd7f4fd
--- /dev/null
+++ b/media-gfx/qimgv/qimgv-0.7.3.ebuild
@@ -0,0 +1,52 @@
+# 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
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ kde? ( kde-frameworks/kwindowsystem:5 )
+ video? ( media-video/mpv[libmpv] )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ cmake-utils_src_prepare
+ # respect make.conf CXXFLAGS
+ sed -i -e '/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3")/d' CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DKDE_SUPPORT=$(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
+}