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 89451138359 for ; Fri, 10 Jul 2020 08:07:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FC74E0848; Fri, 10 Jul 2020 08:07:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 853F5E0848 for ; Fri, 10 Jul 2020 08:07:26 +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 926F934F4DC for ; Fri, 10 Jul 2020 08:07:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F612274 for ; Fri, 10 Jul 2020 08:07:21 +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: <1594368418.21b3c95da35f0dfa7d15e5fa4da7527f0ee3c798.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/cutecom/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dialup/cutecom/cutecom-0.51.0-r1.ebuild X-VCS-Directories: net-dialup/cutecom/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 21b3c95da35f0dfa7d15e5fa4da7527f0ee3c798 X-VCS-Branch: master Date: Fri, 10 Jul 2020 08:07:21 +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: 5f38a0c4-d823-49b8-b00e-963d56b3650c X-Archives-Hash: eb204dcc0f8c0e2e28b1c78f57a7855c commit: 21b3c95da35f0dfa7d15e5fa4da7527f0ee3c798 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jul 9 18:35:05 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Jul 10 08:06:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b3c95d net-dialup/cutecom: EAPI-7, {desktop++,eutils--}.eclass, cmake.eclass Fix DESCRIPTION as well (no PN). Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner gentoo.org> net-dialup/cutecom/cutecom-0.51.0-r1.ebuild | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/net-dialup/cutecom/cutecom-0.51.0-r1.ebuild b/net-dialup/cutecom/cutecom-0.51.0-r1.ebuild index 96ceaa41d2c..d30662f8f36 100644 --- a/net-dialup/cutecom/cutecom-0.51.0-r1.ebuild +++ b/net-dialup/cutecom/cutecom-0.51.0-r1.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils eutils xdg +inherit cmake desktop xdg -DESCRIPTION="CuteCom is a serial terminal, like minicom, written in qt" +DESCRIPTION="A serial terminal, like minicom, written in Qt" HOMEPAGE="https://gitlab.com/cutecom/cutecom" SRC_URI="https://gitlab.com/cutecom/cutecom/-/archive/v${PV}/cutecom-v${PV}.tar.bz2" @@ -14,7 +14,8 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="dev-qt/qtcore:5 +DEPEND=" + dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtserialport:5 @@ -24,19 +25,19 @@ RDEPEND="${DEPEND} S="${WORKDIR}/cutecom-v${PV}" -PATCHES=( "${FILESDIR}"/cutecom-0.51.0-fix-for-qt-5.15.0.patch ) +PATCHES=( "${FILESDIR}"/${P}-fix-for-qt-5.15.0.patch ) src_prepare() { + cmake_src_prepare + sed -i \ -e '/Path/d' \ -e '/Terminal/s/0/false/' \ "${PN}.desktop" || die 'sed on desktop file failed' - - cmake-utils_src_prepare } src_install() { - cmake-utils_src_install + cmake_src_install domenu "${PN}.desktop" doicon "distribution/${PN}.png" }