summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-04-25 13:37:50 +0200
committerDavid Seifert <soap@gentoo.org>2021-04-25 13:37:50 +0200
commit41c7b4e172c7922fcaac6d4e86b484f1841297af (patch)
tree7a1f3207f862f18e1fb338cb20c661e9c4fcc3bf /net-wireless
parentprofiles/package.mask: dev-java/velocity-dvsl last-rite (diff)
downloadgentoo-41c7b4e172c7922fcaac6d4e86b484f1841297af.tar.gz
gentoo-41c7b4e172c7922fcaac6d4e86b484f1841297af.tar.bz2
gentoo-41c7b4e172c7922fcaac6d4e86b484f1841297af.zip
net-wireless/cubicsdr: Port to EAPI 7
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/cubicsdr/cubicsdr-0.2.3-r2.ebuild23
-rw-r--r--net-wireless/cubicsdr/cubicsdr-9999.ebuild23
2 files changed, 22 insertions, 24 deletions
diff --git a/net-wireless/cubicsdr/cubicsdr-0.2.3-r2.ebuild b/net-wireless/cubicsdr/cubicsdr-0.2.3-r2.ebuild
index bf112d039bd9..8cb4b6b56d09 100644
--- a/net-wireless/cubicsdr/cubicsdr-0.2.3-r2.ebuild
+++ b/net-wireless/cubicsdr/cubicsdr-0.2.3-r2.ebuild
@@ -1,14 +1,14 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-WX_GTK_VER="3.0-gtk3"
+EAPI=7
-inherit cmake-utils wxwidgets
+WX_GTK_VER="3.0-gtk3"
+inherit cmake wxwidgets
-if [ "${PV}" = "9999" ]; then
- EGIT_REPO_URI="https://github.com/cjcliffe/CubicSDR.git"
+if [[ ${PV} == *9999 ]]; then
inherit git-r3
+ EGIT_REPO_URI="https://github.com/cjcliffe/CubicSDR.git"
else
MY_P="CubicSDR"
SRC_URI="https://github.com/cjcliffe/${MY_P}/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -23,23 +23,22 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="alsa pulseaudio"
-DEPEND="
+RDEPEND="
net-libs/liquid-dsp
x11-libs/wxGTK:${WX_GTK_VER}[opengl]
net-wireless/soapysdr
virtual/opengl
alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-sound/pulseaudio )
-"
-RDEPEND="${DEPEND}"
+ pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${RDEPEND}"
src_configure() {
setup-wxwidgets
local mycmakeargs=(
- -DUSE_AUDIO_ALSA="$(usex alsa)"
- -DUSE_AUDIO_PULSE="$(usex pulseaudio)"
+ -DUSE_AUDIO_ALSA=$(usex alsa)
+ -DUSE_AUDIO_PULSE=$(usex pulseaudio)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
diff --git a/net-wireless/cubicsdr/cubicsdr-9999.ebuild b/net-wireless/cubicsdr/cubicsdr-9999.ebuild
index bf112d039bd9..8cb4b6b56d09 100644
--- a/net-wireless/cubicsdr/cubicsdr-9999.ebuild
+++ b/net-wireless/cubicsdr/cubicsdr-9999.ebuild
@@ -1,14 +1,14 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-WX_GTK_VER="3.0-gtk3"
+EAPI=7
-inherit cmake-utils wxwidgets
+WX_GTK_VER="3.0-gtk3"
+inherit cmake wxwidgets
-if [ "${PV}" = "9999" ]; then
- EGIT_REPO_URI="https://github.com/cjcliffe/CubicSDR.git"
+if [[ ${PV} == *9999 ]]; then
inherit git-r3
+ EGIT_REPO_URI="https://github.com/cjcliffe/CubicSDR.git"
else
MY_P="CubicSDR"
SRC_URI="https://github.com/cjcliffe/${MY_P}/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -23,23 +23,22 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="alsa pulseaudio"
-DEPEND="
+RDEPEND="
net-libs/liquid-dsp
x11-libs/wxGTK:${WX_GTK_VER}[opengl]
net-wireless/soapysdr
virtual/opengl
alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-sound/pulseaudio )
-"
-RDEPEND="${DEPEND}"
+ pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${RDEPEND}"
src_configure() {
setup-wxwidgets
local mycmakeargs=(
- -DUSE_AUDIO_ALSA="$(usex alsa)"
- -DUSE_AUDIO_PULSE="$(usex pulseaudio)"
+ -DUSE_AUDIO_ALSA=$(usex alsa)
+ -DUSE_AUDIO_PULSE=$(usex pulseaudio)
)
- cmake-utils_src_configure
+ cmake_src_configure
}