diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2023-09-06 16:03:41 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-09-09 20:58:22 +0300 |
commit | ea9dc541cdaf615aa694fc9f87ff5672f43a4f2f (patch) | |
tree | 935dc0d0dc3b42ee2d70228c6cac45b08e2a556e /net-wireless | |
parent | app-emulation/xen-tools: drop vulnerable (diff) | |
download | gentoo-ea9dc541cdaf615aa694fc9f87ff5672f43a4f2f.tar.gz gentoo-ea9dc541cdaf615aa694fc9f87ff5672f43a4f2f.tar.bz2 gentoo-ea9dc541cdaf615aa694fc9f87ff5672f43a4f2f.zip |
net-wireless/neard: add 0.19
Closes: https://bugs.gentoo.org/913709
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/neard/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/neard/neard-0.19.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/net-wireless/neard/Manifest b/net-wireless/neard/Manifest index 4dff4bf173b8..d3d98e43c3d1 100644 --- a/net-wireless/neard/Manifest +++ b/net-wireless/neard/Manifest @@ -1 +1,2 @@ DIST neard-0.18.tar.gz 228597 BLAKE2B 516205c8731bd1104e10a87408209a1848343078f814753f57fd63bc60e7146974737b13757f490bff83e538744e3d0c5fde9224d1d04ddb901c9d71076749a7 SHA512 2f1da13ade60a75b81e51a76be80a5f6681439c612ae33659eed2e495b1e390dcb1deb60945e14a4bec247b3a046b940146b78925f43be88f35880e4677c721b +DIST neard-0.19.tar.gz 229059 BLAKE2B 35976667dc22d6fc4e80468fcd21124bd8675c490e5d96e6d8d0f5bba28a92deae4255aa96070419f6a840ede9cda7fa793ef2c27fa3e725710dbf0a2a7105a5 SHA512 577061c214365853667033a2ae9f78a367adcbf07f2d7a70087c484ac31b410d34c003f396da622604f8844f30d44cba01f0d8a7cadebfd4c4c6457996541b48 diff --git a/net-wireless/neard/neard-0.19.ebuild b/net-wireless/neard/neard-0.19.ebuild new file mode 100644 index 000000000000..0e7a5e21142b --- /dev/null +++ b/net-wireless/neard/neard-0.19.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Near Field Communication (NFC) management daemon" +HOMEPAGE="https://github.com/linux-nfc/neard" +SRC_URI="https://github.com/linux-nfc/neard/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test tools systemd" + +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.28 + dev-libs/libnl:3= + >=sys-apps/dbus-1.2 + systemd? ( sys-apps/systemd:0 ) +" + +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/autoconf-archive" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-optimization + --disable-test # Only installs test programs, #913709. + --enable-ese + --enable-nfctype1 + --enable-nfctype2 + --enable-nfctype3 + --enable-nfctype4 + --enable-nfctype5 + --enable-p2p + --enable-pie + $(use_enable systemd) + $(use_enable tools) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # Patch for this has been sent upstream. Do it manually + # to avoid having to rebuild autotools. #580876 + mv "${ED}/usr/include/version.h" "${ED}/usr/include/near/" || die + + newinitd "${FILESDIR}/neard.rc" neard + newconfd "${FILESDIR}/neard.confd" neard +} |