public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/dump1090/
Date: Sun, 10 Aug 2025 22:38:21 +0000 (UTC)	[thread overview]
Message-ID: <1754861155.af7fb05ded145e9b4e2bdaeddf2e7dd638a0548d.conikost@gentoo> (raw)

commit:     af7fb05ded145e9b4e2bdaeddf2e7dd638a0548d
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 10 21:15:51 2025 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Aug 10 21:25:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af7fb05d

net-wireless/dump1090: add 10.2

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-wireless/dump1090/Manifest             |   1 +
 net-wireless/dump1090/dump1090-10.2.ebuild | 117 +++++++++++++++++++++++++++++
 2 files changed, 118 insertions(+)

diff --git a/net-wireless/dump1090/Manifest b/net-wireless/dump1090/Manifest
index a05ab7e4a29d..bffa4df73915 100644
--- a/net-wireless/dump1090/Manifest
+++ b/net-wireless/dump1090/Manifest
@@ -1 +1,2 @@
 DIST dump1090-10.0.1.tar.gz 5744154 BLAKE2B 7a1c3baedf9e425d34540542bebb514e0cada874ea347b214b6bcb64c7e3064d65fb21964119b0949a9f0f3b454982854d5ace6bb8b8bfe8e10ca08baf366664 SHA512 dec93f29b2f2e262b230e13e8e18cb2902b4204de005b0f70aa4909c000b0a24cee3c1020dca27e09eb23182d8e74e007ae724afc7484f8aab158e19502a59bb
+DIST dump1090-10.2.tar.gz 5777409 BLAKE2B 865f44e31d5626a2a0d24e247936119911ff02e852ebbdb98453d5f5ac051445d7c9794bdfd2afe15794c91440d33fd031c31800901d5dced46135b0a284c04c SHA512 367958e624447b9ae9d5ab523c68662c94343579f644f5ea8382c3822c973622085634c76ddd2dec6d0f910cd4f18880b6e0d62b3af9899bee4adfad2e2a18e5

diff --git a/net-wireless/dump1090/dump1090-10.2.ebuild b/net-wireless/dump1090/dump1090-10.2.ebuild
new file mode 100644
index 000000000000..798635aa0652
--- /dev/null
+++ b/net-wireless/dump1090/dump1090-10.2.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit tmpfiles toolchain-funcs
+
+DESCRIPTION="Simple Mode S decoder for RTLSDR devices"
+HOMEPAGE="https://github.com/flightaware/dump1090"
+
+if [[ ${PV} == *9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/flightaware/${PN}.git"
+else
+	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://github.com/flightaware/dump1090/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+IUSE="bladerf hackrf minimal +rtlsdr"
+
+DEPEND="
+	sys-libs/ncurses:=[tinfo]
+	bladerf? (
+		net-wireless/bladerf:=
+		virtual/libusb:1
+	)
+	hackrf? (
+		net-libs/libhackrf:=
+		virtual/libusb:1
+	)
+	rtlsdr? (
+		net-wireless/rtl-sdr:=
+		virtual/libusb:1
+	)
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-6.1-libdir.patch
+	"${FILESDIR}"/${PN}-10.0.1-gcc15.patch
+)
+
+src_prepare() {
+	default
+
+	sed \
+		-e '/CFLAGS/s/-Werror//g' \
+		-e "/LIBS_CURSES/s|-lncurses|$($(tc-getPKG_CONFIG) --libs ncurses)|g" \
+		-i Makefile || die
+}
+
+src_compile() {
+	myemakeargs=(
+		BLADERF="$(usex bladerf)"
+		CC="$(tc-getCC)"
+		CPUFEATURES="yes"
+		HACKRF="$(usex hackrf)"
+		LIMESDR="no"
+		RTLSDR="$(usex rtlsdr)"
+	)
+
+	emake "${myemakeargs[@]}"
+}
+
+src_install() {
+	dobin dump1090 view1090
+
+	# DSP config files for bladeRF
+	if use bladerf; then
+		insinto usr/share/dump1090/bladerf
+		doins bladerf/*
+	fi
+
+	newtmpfiles "${FILESDIR}"/tmpfilesd-dump1090-5.0.conf dump1090.conf
+	newconfd "${FILESDIR}"/dump1090-5.0.confd dump1090
+	newinitd "${FILESDIR}"/dump1090-5.0.initd dump1090
+
+	einstalldocs
+
+	if use !minimal; then
+		# Install tools
+		insinto /usr/share/dump1090
+		doins -r tools
+
+		# Install lighthttps example files
+		insinto /usr/share/dump1090/lighttpd
+		doins debian/lighttpd/{88-dump1090-fa-statcache.conf,89-skyaware.conf}
+
+		# Some tooling expects the -fa variant directory to contain the files
+		dosym ../../usr/share/dump1090 /usr/share/dump1090-fa
+
+		# Install html docs
+		docinto html
+		doins -r public_html/*
+
+		# See README.md for how to use custom wisdom files
+		exeinto /usr/share/dump1090/wisdom
+		doexe debian/generate-wisdom
+		insinto /usr/share/dump1090/wisdom
+		doins wisdom.*
+		doins wisdom/wisdom.*
+
+		# For /etc/dump1090-fa/wisdom.local
+		keepdir /etc/dump1090-fa/
+
+		# Tooling to generate custom wisdom:
+		exeinto /usr/libexec/dump1090
+		doexe starch-benchmark
+	fi
+}
+
+pkg_postinst() {
+	tmpfiles_process dump1090.conf
+}


             reply	other threads:[~2025-08-10 22:38 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-10 22:38 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-11 21:08 [gentoo-commits] repo/gentoo:master commit in: net-wireless/dump1090/ Conrad Kostecki
2025-09-11 21:08 Conrad Kostecki
2025-09-11 21:08 Conrad Kostecki
2025-04-21 22:54 Conrad Kostecki
2025-04-21 22:54 Conrad Kostecki
2025-03-28 20:48 Conrad Kostecki
2025-03-28 20:48 Conrad Kostecki
2025-03-28 20:48 Conrad Kostecki
2025-03-01 23:27 Conrad Kostecki
2025-03-01  1:14 Conrad Kostecki
2025-03-01  1:14 Conrad Kostecki
2024-12-03 11:14 Sam James
2024-12-03 11:14 Sam James
2021-10-15  6:00 Agostino Sarubbo
2021-10-14 10:00 Sam James
2021-10-14 10:00 Sam James
2021-10-12 18:06 Marek Szuba
2021-09-26 19:36 Conrad Kostecki
2021-01-20 10:13 David Seifert
2021-01-20  9:29 Sam James
2021-01-19 14:24 Sam James
2020-12-29 10:11 David Seifert
2020-12-28 14:48 David Seifert
2020-12-28 14:48 David Seifert
2020-01-21 10:42 Agostino Sarubbo
2020-01-20 12:52 Agostino Sarubbo
2019-09-27 14:05 Rick Farina
2019-07-03  5:22 Rick Farina
2018-08-19 22:29 Michael Weber
2018-08-19 22:05 Michael Weber
2018-08-16 20:45 Richard Farina
2017-07-30 10:04 Michał Górny
2017-05-11  2:06 Richard Farina
2017-01-31  9:55 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1754861155.af7fb05ded145e9b4e2bdaeddf2e7dd638a0548d.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox