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 4E720138334 for ; Fri, 4 Oct 2019 05:39:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34648E0884; Fri, 4 Oct 2019 05:39:51 +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 EEB03E0884 for ; Fri, 4 Oct 2019 05:39:50 +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 46FDC34B8D6 for ; Fri, 4 Oct 2019 05:39:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93870829 for ; Fri, 4 Oct 2019 05:39:46 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1570167570.58afdafd6fbaf8a6da08e13b256bf4773f92d7d1.juippis@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/metadata.xml media-gfx/qimgv/qimgv-0.8.5.ebuild X-VCS-Directories: media-gfx/qimgv/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 58afdafd6fbaf8a6da08e13b256bf4773f92d7d1 X-VCS-Branch: master Date: Fri, 4 Oct 2019 05:39:46 +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: ddc516d7-587e-4533-9a94-3f71bffefe08 X-Archives-Hash: cafeea5c00c9f6c0d89f778ca6bcd20a commit: 58afdafd6fbaf8a6da08e13b256bf4773f92d7d1 Author: Jiayi Zhao gmail com> AuthorDate: Wed Oct 2 15:42:40 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Oct 4 05:39:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58afdafd media-gfx/qimgv: version bump 0.8.5 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Jiayi Zhao gmail.com> Signed-off-by: Joonas Niilola gentoo.org> media-gfx/qimgv/Manifest | 1 + media-gfx/qimgv/metadata.xml | 3 ++ media-gfx/qimgv/qimgv-0.8.5.ebuild | 56 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/media-gfx/qimgv/Manifest b/media-gfx/qimgv/Manifest index 424ee1d3f6c..b2668420d91 100644 --- a/media-gfx/qimgv/Manifest +++ b/media-gfx/qimgv/Manifest @@ -1 +1,2 @@ DIST qimgv-0.8.2.tar.gz 237098 BLAKE2B da71da019e87041cfa9f21592827e5a5623b2088e1349e534c437b0d5e50377980279fe99b7a18fb447c99ddb643a15c418fcfa2f261d3a559c639f560add0c4 SHA512 e80caa356cd2c7607a1d92a4ef4a79486ed504adb8ae454557e6a94d1d3ca5c023b78921e49777b1a06ca82556255d51357948281aae6a671ec01c597492a2cf +DIST qimgv-0.8.5.tar.gz 242650 BLAKE2B 25ac2854b0c35e2288b0e770559bac5ac0152df1e73b025fe99609e3f7126ad0c5342a6f87dd34b0847b22031ca77db7b98b1ef8b9c278fcbebb395454d426a4 SHA512 f4c3df7db433eca04ed0827039a02fcbb6e0d5b2f696010351dc6238c39b7a08784780ad8d56f3701d13506dd6c64671ce361817928d7fb2bb25b88c3f3d32ce diff --git a/media-gfx/qimgv/metadata.xml b/media-gfx/qimgv/metadata.xml index ccef191fae1..840ab55fbe9 100644 --- a/media-gfx/qimgv/metadata.xml +++ b/media-gfx/qimgv/metadata.xml @@ -9,4 +9,7 @@ proxy-maint@gentoo.org Proxy Maintainers + + Add support for gif/webm playback via libmpv + diff --git a/media-gfx/qimgv/qimgv-0.8.5.ebuild b/media-gfx/qimgv/qimgv-0.8.5.ebuild new file mode 100644 index 00000000000..81ac18fca86 --- /dev/null +++ b/media-gfx/qimgv/qimgv-0.8.5.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 +}