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 90A85138334 for ; Sun, 8 Sep 2019 07:19:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C10AFE077F; Sun, 8 Sep 2019 07:19:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 8B3BDE077F for ; Sun, 8 Sep 2019 07:19:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 18F6A34AE70 for ; Sun, 8 Sep 2019 07:19:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 892E7766 for ; Sun, 8 Sep 2019 07:19:23 +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: <1567927151.f7311589c2ae141558d355e974b3d6aaefbb83b3.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/qimgv-0.8.2.ebuild X-VCS-Directories: media-gfx/qimgv/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: f7311589c2ae141558d355e974b3d6aaefbb83b3 X-VCS-Branch: master Date: Sun, 8 Sep 2019 07:19:23 +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: d58c984f-bb5d-4973-9dbe-c1b0c9fdbe17 X-Archives-Hash: 276e1f151cacfff51e810938532f11af commit: f7311589c2ae141558d355e974b3d6aaefbb83b3 Author: Jiayi Zhao gmail com> AuthorDate: Mon Sep 2 22:37:05 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Sep 8 07:19:11 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7311589 media-gfx/qimgv: version bump 0.8.2 - remove video use flag as build system no longer accounts for it - add exif use flag 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/qimgv-0.8.2.ebuild | 56 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/media-gfx/qimgv/Manifest b/media-gfx/qimgv/Manifest index e5c1aeaa1aa..91a4f6e5dd5 100644 --- a/media-gfx/qimgv/Manifest +++ b/media-gfx/qimgv/Manifest @@ -1 +1,2 @@ DIST qimgv-0.7.3.tar.gz 266307 BLAKE2B b13794f4bd7ff8b2c9309f95453baa65f91c60d155e22a86eac1eb79b3dc7f9da003dbfdbfc2d14cbb6242c769516283785ed72e2f50d5bb51b394db05c167b8 SHA512 fae7986ce29941232dd2863a0900651fb3a7d6d184b05e763670b16c74bb0cc27ce6eb936b2a41a2183e3dc5c33006e3fe3491ed043c6e357ea31d6a716d80e0 +DIST qimgv-0.8.2.tar.gz 237098 BLAKE2B da71da019e87041cfa9f21592827e5a5623b2088e1349e534c437b0d5e50377980279fe99b7a18fb447c99ddb643a15c418fcfa2f261d3a559c639f560add0c4 SHA512 e80caa356cd2c7607a1d92a4ef4a79486ed504adb8ae454557e6a94d1d3ca5c023b78921e49777b1a06ca82556255d51357948281aae6a671ec01c597492a2cf diff --git a/media-gfx/qimgv/qimgv-0.8.2.ebuild b/media-gfx/qimgv/qimgv-0.8.2.ebuild new file mode 100644 index 00000000000..52a5b418e7b --- /dev/null +++ b/media-gfx/qimgv/qimgv-0.8.2.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" + +BDEPEND=" + dev-util/cmake + virtual/pkgconfig +" +DEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + media-video/mpv[libmpv] + exif? ( media-libs/libexif ) + kde? ( kde-frameworks/kwindowsystem:5 ) +" +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) + ) + cmake-utils_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}