Install this version:
emerge -a =net-wireless/acarsdec-4.3.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-wireless/acarsdec-4.3.1
Or alternatively:
emerge --autounmask-write -a =net-wireless/acarsdec-4.3.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.3.1 | 8 | ~amd64 | 0 |
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="ACARS SDR decoder"
HOMEPAGE="https://github.com/f00b4r0/acarsdec"
SRC_URI="https://github.com/f00b4r0/acarsdec/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
IUSE="airspy alsa json libacars mqtt rtlsdr sndfile soapy"
DEPEND="airspy? ( net-wireless/airspy:= )
alsa? ( media-libs/alsa-lib:= )
json? ( dev-libs/cJSON:= )
libacars? ( net-wireless/libacars:= )
mqtt? ( net-libs/paho-mqtt-c:1.3= )
rtlsdr? ( net-wireless/rtl-sdr:= )
sndfile? ( media-libs/libsndfile:= )"
RDEPEND="${DEPEND}"
BDEPEND=""
REQUIRED_USE="mqtt? ( json )"
src_prepare() {
# Add options that allow disabling auto-detected dependencies
eapply "${FILESDIR}/${P}-cmakelists.patch"
cmake_src_prepare
}
src_configure() {
# sdrplay needs an unpackaged dependency (*not* net-wireless/sdrplay)
local mycmakeargs=(
-Dairspy_enable=$(usex airspy ON OFF)
-Drtl_enable=$(usex rtlsdr ON OFF)
-Dsdrplay_enable=OFF
-Dsoapy_enable=$(usex soapy ON OFF)
-Dlibacars_enable=$(usex libacars ON OFF)
-Dalsa_enable=$(usex alsa ON OFF)
-Dlibsndfile_enable=$(usex sndfile ON OFF)
-Dcjson_enable=$(usex json ON OFF)
-Dmqtt_enable=$(usex mqtt ON OFF)
)
cmake_src_configure
}
Manage flags for this package:
euse -i <flag> -p net-wireless/acarsdec |
euse -E <flag> -p net-wireless/acarsdec |
euse -D <flag> -p net-wireless/acarsdec
airspy? ( net-wireless/airspy:= ) alsa? ( media-libs/alsa-lib:= ) json? ( dev-libs/cJSON:= ) libacars? ( net-wireless/libacars:= ) mqtt? ( net-libs/paho-mqtt-c:1.3= ) rtlsdr? ( net-wireless/rtl-sdr:= ) sndfile? ( media-libs/libsndfile:= )
airspy? ( net-wireless/airspy:= ) alsa? ( media-libs/alsa-lib:= ) json? ( dev-libs/cJSON:= ) libacars? ( net-wireless/libacars:= ) mqtt? ( net-libs/paho-mqtt-c:1.3= ) rtlsdr? ( net-wireless/rtl-sdr:= ) sndfile? ( media-libs/libsndfile:= )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | acarsdec-4.3.1.tar.gz | 334774 bytes | https://github.com/f00b4r0/acarsdec/archive/refs/tags/v4.3.1.tar.gz |