summaryrefslogtreecommitdiff
path: root/net-wireless
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/Manifest.gzbin13892 -> 13895 bytes
-rw-r--r--net-wireless/neard/Manifest4
-rw-r--r--net-wireless/neard/neard-0.18.ebuild (renamed from net-wireless/neard/neard-0.16.ebuild)39
3 files changed, 29 insertions, 14 deletions
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz
index f9e5306630af..4b12247f07f1 100644
--- a/net-wireless/Manifest.gz
+++ b/net-wireless/Manifest.gz
Binary files differ
diff --git a/net-wireless/neard/Manifest b/net-wireless/neard/Manifest
index 08507553158d..ee8b38a53cb2 100644
--- a/net-wireless/neard/Manifest
+++ b/net-wireless/neard/Manifest
@@ -1,5 +1,5 @@
AUX neard.confd 274 BLAKE2B f61cc6b061a146899aabd430e3e5c082da57a8e413600a748ae23959dd4ff5668d39b17222c7c22f0cf6f990e289e8dd21287142e9d4bf21e7bdd4d15beb05ec SHA512 d696911f7e5f33f6b2a0f6508c73676998a3bfaebbda02386dc08d9149d525bf211bfcf9836276d070f31288ef84540ef1bce3d68119d4439089297c079392ef
AUX neard.rc 417 BLAKE2B cdbd53502cebf7ac732830d5266fca64e7bfb8ec06caf660e026ec8bd9413375495e630b27e0e0b97997aab5313c5a215059c1624fd350e8b25e59bd5563c578 SHA512 68459f7dfc9bdcc6b450770d76c0ffa4b0adb248476c801317f8a8cc7c2dc9e41dea4fcf9425b9d667821037d923fb8368acb72540cc63478dd45e21ba9215d5
-DIST neard-0.16.tar.xz 379436 BLAKE2B 8432200eafa2d7517d768ef160e2d2f8db698119ea047d505d7212b1c2d46087223b71749a4c855bf7e7ff43f73d4aa6d67fab272909dbb3236b312ee3b911be SHA512 d0fd5dcfd19db64e65e4149c76979bc7a438240aa6840b35059fde41a8a84a2424274577de964a925e76cd013d21796f69f5361012b6ac79c546d0abdcfed2a6
-EBUILD neard-0.16.ebuild 1021 BLAKE2B 8d4a5b511a4aba15a13f373982209b416bc2b69034f4447fdcfa3394a84aa0ebd782646d3072c9ad63e035e6d6023b31d27191052f90fc7bbe458708c495d3f1 SHA512 70e33ddb0c01972f27dd32f5d63045f5f73939ec19a72f5c5a9ef6e0d8d780c97f1de1b31254c1e07b0560bcb4721bde97ddcc42a6b5e19d567c5411a0166069
+DIST neard-0.18.tar.gz 228597 BLAKE2B 516205c8731bd1104e10a87408209a1848343078f814753f57fd63bc60e7146974737b13757f490bff83e538744e3d0c5fde9224d1d04ddb901c9d71076749a7 SHA512 2f1da13ade60a75b81e51a76be80a5f6681439c612ae33659eed2e495b1e390dcb1deb60945e14a4bec247b3a046b940146b78925f43be88f35880e4677c721b
+EBUILD neard-0.18.ebuild 1313 BLAKE2B 542bc07c32f7a4f14d3a9a267aefcc16a311b4f143e89ad64fc6f46696e62220d3c1cfae2c502c995f55fab62c5e97dd02f0fa63ee4fe3073efd9873410e4e32 SHA512 e50e5f76f071c3e0019249ea58af66e958541b97221a53a6015017fb31c45790511e069534d0294dc2a855a18800687d08cb48dfb976cec7b49293dd6a86f63c
MISC metadata.xml 345 BLAKE2B ff4efcacd7341f422affd38cf868262e2ca73da528803b3f5c0a7efc38f9997d66d0e4c499bc465065671637ed1eb38f05a34a43e88ba214a65ae06c10ed5344 SHA512 fb6522da05b8b33c8aafd24c7a937039756d861adaea54a0e9075b10879b647a315d66b4f94a96da9a220c1248aeedba9d3105d640e4a0ee93eec4567fcd50af
diff --git a/net-wireless/neard/neard-0.16.ebuild b/net-wireless/neard/neard-0.18.ebuild
index daf870b5438c..8939f04318ea 100644
--- a/net-wireless/neard/neard-0.16.ebuild
+++ b/net-wireless/neard/neard-0.18.ebuild
@@ -1,37 +1,49 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit flag-o-matic
+inherit autotools
DESCRIPTION="Near Field Communication (NFC) management daemon"
HOMEPAGE="https://github.com/linux-nfc/neard"
-SRC_URI="https://www.kernel.org/pub/linux/network/nfc/${P}.tar.xz"
+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="tools systemd"
+IUSE="test tools systemd"
+
+RESTRICT="!test? ( test )"
RDEPEND="
+ >=dev-libs/glib-2.28
dev-libs/libnl:3=
- sys-apps/dbus
- sys-libs/glibc
+ >=sys-apps/dbus-1.2
systemd? ( sys-apps/systemd:0 )
"
DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/autoconf-archive"
-src_configure() {
- # Workaround for >= GCC-10
- append-cflags -fcommon
+src_prepare() {
+ default
+ eautoreconf
+}
+src_configure() {
local myeconfargs=(
--disable-optimization
--enable-ese
+ --enable-nfctype1
+ --enable-nfctype2
+ --enable-nfctype3
+ --enable-nfctype4
+ --enable-nfctype5
+ --enable-p2p
--enable-pie
$(use_enable systemd)
+ $(use_enable test)
$(use_enable tools)
)
econf "${myeconfargs[@]}"
@@ -42,8 +54,11 @@ src_install() {
# 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
+ mv "${ED}/usr/include/version.h" "${ED}/usr/include/near/" || die
+
+ insinto "/etc/dbus-1/system.d/"
+ doins "se/org.neard.se.conf"
- newinitd "${FILESDIR}"/neard.rc neard
- newconfd "${FILESDIR}"/neard.confd neard
+ newinitd "${FILESDIR}/neard.rc" neard
+ newconfd "${FILESDIR}/neard.confd" neard
}