Created attachment 526496 [details]
ebuild for -9999 and tested with -0.2
Useful data source for OpenCPN, decodes ship information, a little bit like dump1090.
Tested on amd64, arm and arm64.
v0.2 is also working and merge-able.
$ rtl_air -n
Edge tuning disabled.
DC filter enabled.
RTL AGC disabled.
Internal AIS decoder enabled.
Buffer size: 163.84 mS
Downsample factor: 64
Low pass: 25000 Hz
Output: 48000 Hz
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Log NMEA sentences to console ON
AIS data will be sent to 127.0.0.1 port 10110
Tuner gain set to automatic.
Tuned to 162000000 Hz.
Sampling at 1600000 S/s.
Thank you for your contribution. I had a short look on the ebuild.
Here a few ideas:
• Please test the ebuild with repoman full -x https://wiki.gentoo.org/wiki/Repoman
• you can use SRC_URI="mirror://github/...
• which GPL?
• please fix the header. (see /usr/portage/skel.ebuild and https://devmanual.gentoo.org/ebuild-writing/eapi/)
...and eutils is not required anymore in EAPI=6 for your needs
Created attachment 526504 [details]
A better ebuild for -9999 and -0.2
The GPL is GPL-2 or above as stated in the header of his rtl_ais.c file.
Thanks Philippe for your contribution. Are you willing to proxy maintain this package? I personally am not very interested in it, but I'd add it if you would take of it in the future.
Hello Marc, I would be happy to take care of this package.
I plan on using it a lot with my sail boat. I am guessing the opencpn crowd might be interested in it too and more willing to keep it in sync.
I guess I'll have to create a Gentoo Opencpn wiki somewhere. If I wasn't unsure about the next few months and access to IT ressources while sailing in Greenland, I'd even ask to get back in the dev gang. But for now, I may have to be a vagabond for a while.
Created attachment 543508 [details]
New ebuild 0.3 and 9999
Small update for rtl-ais to make it work properly with opencpn-plugin-rtlsdr