diff options
Diffstat (limited to 'media-radio/flrig/flrig-2.0.05-r1.ebuild')
-rw-r--r-- | media-radio/flrig/flrig-2.0.05-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-radio/flrig/flrig-2.0.05-r1.ebuild b/media-radio/flrig/flrig-2.0.05-r1.ebuild new file mode 100644 index 000000000000..9733acc79669 --- /dev/null +++ b/media-radio/flrig/flrig-2.0.05-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Transceiver control program for Amateur Radio use" +HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html" +SRC_URI="https://downloads.sourceforge.net/fldigi/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +DOCS=(AUTHORS ChangeLog README) + +RDEPEND="x11-libs/libX11 + x11-libs/fltk:1= + x11-misc/xdg-utils" + +DEPEND="${RDEPEND} + sys-devel/gettext" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.05-musl.patch" + "${FILESDIR}/${PN}-2.0.04-stdint.patch" + ) + +src_prepare() { + eapply ${PATCHES[@]} + eapply_user +} + +src_configure() { + #fails to compile with -flto (bug #860408) + filter-lto + + econf +} |