mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user