From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B09E515827B for ; Sun, 10 Aug 2025 22:38:41 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 84026342174 for ; Sun, 10 Aug 2025 22:38:41 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2599B110567; Sun, 10 Aug 2025 22:38:24 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 16C05110567 for ; Sun, 10 Aug 2025 22:38:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C411B34206E for ; Sun, 10 Aug 2025 22:38:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A11832E8 for ; Sun, 10 Aug 2025 22:38:21 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1754861155.af7fb05ded145e9b4e2bdaeddf2e7dd638a0548d.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/dump1090/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/dump1090/Manifest net-wireless/dump1090/dump1090-10.2.ebuild X-VCS-Directories: net-wireless/dump1090/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: af7fb05ded145e9b4e2bdaeddf2e7dd638a0548d X-VCS-Branch: master Date: Sun, 10 Aug 2025 22:38:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2c9f5653-4b7b-4453-acf5-9c49a3fc414a X-Archives-Hash: 61c38e03d1adaed80e1c199fefdb6c24 commit: af7fb05ded145e9b4e2bdaeddf2e7dd638a0548d Author: Conrad Kostecki gentoo org> AuthorDate: Sun Aug 10 21:15:51 2025 +0000 Commit: Conrad Kostecki gentoo 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 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 +}