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 1AC90138334 for ; Wed, 17 Jul 2019 13:10:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE859E0837; Wed, 17 Jul 2019 13:10:53 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 B0ADDE0837 for ; Wed, 17 Jul 2019 13:10:53 +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 474CB347EC1 for ; Wed, 17 Jul 2019 13:10:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3342F6E6 for ; Wed, 17 Jul 2019 13:10:50 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1563369035.2db02e8a6d83b74d1478ecabf1607a61d2747906.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgaminggear/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild X-VCS-Directories: dev-libs/libgaminggear/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 2db02e8a6d83b74d1478ecabf1607a61d2747906 X-VCS-Branch: master Date: Wed, 17 Jul 2019 13:10:50 +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: b21fabf2-a594-4d30-bf67-a7f5c74c8530 X-Archives-Hash: 16bdb1bbd7c4652c31abf0399edb592b commit: 2db02e8a6d83b74d1478ecabf1607a61d2747906 Author: Lars Wendler gentoo org> AuthorDate: Wed Jul 17 13:09:40 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Jul 17 13:10:35 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2db02e8a dev-libs/libgaminggear: Bump to EAPI-7 Removed unused cmake variable and added missing BDEP. Closes: https://bugs.gentoo.org/659162 Closes: https://bugs.gentoo.org/669602 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Lars Wendler gentoo.org> dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild b/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild index d746559f9a2..4e350d095d8 100644 --- a/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild +++ b/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils gnome2-utils +inherit cmake-utils xdg DESCRIPTION="Provides functionality for gaming input devices" @@ -27,6 +27,9 @@ RDEPEND=" DEPEND=" ${RDEPEND} virtual/libgudev +" +BDEPEND=" + dev-util/glib-utils doc? ( app-doc/doxygen ) " @@ -34,10 +37,14 @@ PATCHES=( "${FILESDIR}"/${PN}-0.10.0-doc.patch ) +# Required because xdg.eclass overrides src_prepare() from cmake-utils.eclass +src_prepare() { + cmake-utils_src_prepare +} + src_configure() { mycmakeargs=( -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr - -DDOCDIR=share/doc/${PF} -DWITH_DOC="$(usex doc)" ) cmake-utils_src_configure @@ -48,13 +55,13 @@ src_install() { } pkg_preinst() { - gnome2_icon_savelist + xdg_pkg_preinst } pkg_postinst() { - gnome2_icon_cache_update + xdg_pkg_postinst } pkg_postrm() { - gnome2_icon_cache_update + xdg_pkg_postrm }