net-wireless/acarsdec - 3.7 (AlexandreFournier)

Search

Install

Install this version:

emerge -a =net-wireless/acarsdec-3.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-wireless/acarsdec-3.7

Or alternatively:

emerge --autounmask-write -a =net-wireless/acarsdec-3.7

Package Information

Description:
An open source ACARS decoder with rtl_sdr frontend
Homepage:
https://github.com/TLeconte/acarsdec
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
3.7 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="An open source ACARS decoder with rtl_sdr frontend"
HOMEPAGE="https://github.com/TLeconte/acarsdec"
SRC_URI="https://github.com/TLeconte/${PN}/archive/${P}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/${PN}-${P}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="airspy mqtt +rtlsdr sndfile"
REQUIRED_USE="|| ( airspy rtlsdr )"

RDEPEND="
	airspy? ( net-wireless/airspy )
	mqtt? ( net-libs/paho-mqtt-c )
	rtlsdr? ( net-wireless/rtl-sdr )
	sndfile? ( media-libs/libsndfile )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_prepare() {
	# CMake 4 refuses a pre-3.5 minimum outright
	sed -i 's/cmake_minimum_required (VERSION 3.2)/cmake_minimum_required (VERSION 3.10)/' \
		CMakeLists.txt || die

	# do not force -Ofast and -march=native over the user's CFLAGS
	sed -i '/add_compile_options(-Ofast -march=native)/d' CMakeLists.txt || die

	cmake_src_prepare
}

src_configure() {
	local mycmakeargs=(
		-Dairspy=$(usex airspy ON OFF)
		-Drtl=$(usex rtlsdr ON OFF)
		-Dsdrplay=OFF
	)

	cmake_src_configure
}

USE Flags

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

Global/Standard Flags

rtlsdr
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	airspy? ( net-wireless/airspy )
	mqtt? ( net-libs/paho-mqtt-c )
	rtlsdr? ( net-wireless/rtl-sdr )
	sndfile? ( media-libs/libsndfile )

RDEPEND

	airspy? ( net-wireless/airspy )
	mqtt? ( net-libs/paho-mqtt-c )
	rtlsdr? ( net-wireless/rtl-sdr )
	sndfile? ( media-libs/libsndfile )

BDEPEND

virtual/pkgconfig

Manifest for 3.7

Type File Size Source URLs
DIST acarsdec-3.7.tar.gz 320535 bytes https://github.com/TLeconte/acarsdec/archive/acarsdec-3.7.tar.gz