summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-09 20:35:05 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-10 10:06:58 +0200
commit21b3c95da35f0dfa7d15e5fa4da7527f0ee3c798 (patch)
tree697ceb810309023560b70ab44312308b5ec59716 /net-dialup/cutecom
parentprofiles/arch/ia64/package.use.mask: unmask sys-block/fio[zbc,io-uring] (diff)
downloadgentoo-21b3c95da35f0dfa7d15e5fa4da7527f0ee3c798.tar.gz
gentoo-21b3c95da35f0dfa7d15e5fa4da7527f0ee3c798.tar.bz2
gentoo-21b3c95da35f0dfa7d15e5fa4da7527f0ee3c798.zip
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 <asturm@gentoo.org>
Diffstat (limited to 'net-dialup/cutecom')
-rw-r--r--net-dialup/cutecom/cutecom-0.51.0-r1.ebuild17
1 files 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 96ceaa41d2cb..d30662f8f36a 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"
}