From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BD65E138334 for ; Sun, 29 Dec 2019 23:48:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1970E0B18; Sun, 29 Dec 2019 23:48:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78590E0B18 for ; Sun, 29 Dec 2019 23:48:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A2ED34DCCE for ; Sun, 29 Dec 2019 23:48:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B54F29 for ; Sun, 29 Dec 2019 23:48:28 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1577663291.7b3cef697d4af630a8fbe4d31aa9858a3ae43fa6.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/qimgv/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/qimgv/Manifest media-gfx/qimgv/qimgv-0.8.8.ebuild X-VCS-Directories: media-gfx/qimgv/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7b3cef697d4af630a8fbe4d31aa9858a3ae43fa6 X-VCS-Branch: master Date: Sun, 29 Dec 2019 23:48:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4c6816a6-de53-4f8c-bb15-e6c75a88a7a8 X-Archives-Hash: 52185000a9b81d634cba67f436dfe958 commit: 7b3cef697d4af630a8fbe4d31aa9858a3ae43fa6 Author: Jiayi Zhao gmail com> AuthorDate: Sat Dec 28 20:19:49 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 29 23:48:11 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b3cef69 media-gfx/qimgv: version bump 0.8.8 Signed-off-by: Jiayi Zhao gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14157 Signed-off-by: Andreas Sturmlechner gentoo.org> media-gfx/qimgv/Manifest | 1 + media-gfx/qimgv/qimgv-0.8.8.ebuild | 56 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/media-gfx/qimgv/Manifest b/media-gfx/qimgv/Manifest index d974a51f05e..184ebbc4abe 100644 --- a/media-gfx/qimgv/Manifest +++ b/media-gfx/qimgv/Manifest @@ -1 +1,2 @@ DIST qimgv-0.8.5.tar.gz 242650 BLAKE2B 25ac2854b0c35e2288b0e770559bac5ac0152df1e73b025fe99609e3f7126ad0c5342a6f87dd34b0847b22031ca77db7b98b1ef8b9c278fcbebb395454d426a4 SHA512 f4c3df7db433eca04ed0827039a02fcbb6e0d5b2f696010351dc6238c39b7a08784780ad8d56f3701d13506dd6c64671ce361817928d7fb2bb25b88c3f3d32ce +DIST qimgv-0.8.8.tar.gz 460682 BLAKE2B fb701fbb336bf8e51751f677f7fddfd7eb0e1b770697ee510c0008a3ebddb0a3948d5a3f6f57a676dfa3117ca03b908cc3f88bcaec16a07000108279bd5fed80 SHA512 376f79eba2a625eb0f622494ce7ba98e1182b43cc6d7e268382c794a74d2772bd17083ac9ae45fcafc5eeb0665ef06ab34bdbeee8401a35bd0652744c576e131 diff --git a/media-gfx/qimgv/qimgv-0.8.8.ebuild b/media-gfx/qimgv/qimgv-0.8.8.ebuild new file mode 100644 index 00000000000..e605fa5db2f --- /dev/null +++ b/media-gfx/qimgv/qimgv-0.8.8.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-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="exif kde video" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + exif? ( media-gfx/exiv2:= ) + kde? ( kde-frameworks/kwindowsystem:5 ) + video? ( media-video/mpv[libmpv] ) +" +RDEPEND=" + ${DEPEND} +" + +src_prepare() { + cmake-utils_src_prepare + # respect make.conf CXXFLAGS + sed -i -e '/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -lstdc++fs -O3")/d' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DEXIV2=$(usex exif) + -DKDE_SUPPORT=$(usex kde) + -DVIDEO_SUPPORT=$(usex video) + ) + cmake-utils_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}