diff options
Diffstat (limited to 'net-libs/libiio')
-rw-r--r-- | net-libs/libiio/Manifest | 4 | ||||
-rw-r--r-- | net-libs/libiio/libiio-0.21.ebuild | 10 | ||||
-rw-r--r-- | net-libs/libiio/libiio-0.24.ebuild | 34 |
3 files changed, 46 insertions, 2 deletions
diff --git a/net-libs/libiio/Manifest b/net-libs/libiio/Manifest index cb29191703f0..872c802e0239 100644 --- a/net-libs/libiio/Manifest +++ b/net-libs/libiio/Manifest @@ -1,4 +1,6 @@ DIST libiio-0.21.tar.gz 446893 BLAKE2B 02b6af8e78ab95fa68b146808c58dd012846837646bb0e7e60af890c0e867ed9bb798596e6ff773d6da9efa2750859d23a0f83d874510273ef1d1db8f9424bcb SHA512 5bbacd6a1141654f4825f00c1c2b27223e6cc324c80d7bcbb49e29997a83d585e45c0c52331ca10ee881c2f340b535984c3d667b61d8377a77e5c0f5cb1d2dc0 -EBUILD libiio-0.21.ebuild 658 BLAKE2B 980a3c5b1a33871eaa52cd08fa0ca793d7ca0126dfe18cd3b7a3b1c6d846a0c2937bd759e0cc2366c93393219c6e785fbfc0dae7c0a004bb86535ed9228027f0 SHA512 25b6c8dd1fafde201d0c8f5dad5c8ff51e3dba8b4f299a8065eef4a55a790df00c69d237eccdcd6d6fe9c01fae411835002ba5864e8f6b514532fe655cc583dc +DIST libiio-0.24.tar.gz 482936 BLAKE2B cd8dce7af7bbafcb10c08722871d3d9abe089cb22fc3a0ada97905a1c5f96c55905980b8511178d662e9316b7ffdada6e84c29b5cbf1ca92b2d53b02d1ac8cfe SHA512 4e7b54870e986e6ba5860ccd8ad6ece4808c21e27a9d3975065f096bac0b035e65bbc68931023c19e69b72006294c3863bfb7272853b5fb1401b77eec88a89fd +EBUILD libiio-0.21.ebuild 727 BLAKE2B bd7f44d45c859df88dad13755117954fe8e174f08fcbcf900b9d8d9f14fc6c5eb9234addffbbf4d4866047e6ebf1d3018e3dc5afa4b36e9e7e07b1adc924f95d SHA512 05283d9107d19b761d6406e6de8cf42faf41cbcb868001467cd90c7514937137764f242d22662a6eb218245ad27942fadc4d8685aecff9d6e0b61944f55da2d3 +EBUILD libiio-0.24.ebuild 727 BLAKE2B bd7f44d45c859df88dad13755117954fe8e174f08fcbcf900b9d8d9f14fc6c5eb9234addffbbf4d4866047e6ebf1d3018e3dc5afa4b36e9e7e07b1adc924f95d SHA512 05283d9107d19b761d6406e6de8cf42faf41cbcb868001467cd90c7514937137764f242d22662a6eb218245ad27942fadc4d8685aecff9d6e0b61944f55da2d3 EBUILD libiio-9999.ebuild 646 BLAKE2B f0aab4ca851902093054483125caa8eb716837fa79068db1d161bb0c25452b31cb87b1309481c485bdb33796b24894a62985e6a2a44d950927304fe61a7bb63a SHA512 b5e15bcacc13feea24df1b35f288eb44a204c707ba321faac6a7ce13173e7e792a69c3698e3e941996e50c845cfcaa432dd76f407a4c5b093def967122c7d829 MISC metadata.xml 507 BLAKE2B 505f5ab82f68dd736cfc6ee3433576894fcaa76cbce1c37e98973150fbd8e99026f6da3fe9c5a91626c61b2c1c9a7d85180a16ca822e5f0d0984902957eb5d7e SHA512 f7c7fd7619c757d20eb2255e6b5b2ccf1ae21e7b5fd1ce55210528d009fa8d516656bef0f7ef4ad7e99ed4cab26febfb4421b53de92a8203496558c6963eb6c8 diff --git a/net-libs/libiio/libiio-0.21.ebuild b/net-libs/libiio/libiio-0.21.ebuild index 9e0145ed05ba..8c0f8320c620 100644 --- a/net-libs/libiio/libiio-0.21.ebuild +++ b/net-libs/libiio/libiio-0.21.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake +inherit cmake udev DESCRIPTION="Library for interfacing with IIO devices" HOMEPAGE="https://github.com/analogdevicesinc/libiio" @@ -24,3 +24,11 @@ RDEPEND="dev-libs/libxml2:= aio? ( dev-libs/libaio ) zeroconf? ( net-dns/avahi )" DEPEND="${RDEPEND}" + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/net-libs/libiio/libiio-0.24.ebuild b/net-libs/libiio/libiio-0.24.ebuild new file mode 100644 index 000000000000..8c0f8320c620 --- /dev/null +++ b/net-libs/libiio/libiio-0.24.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake udev + +DESCRIPTION="Library for interfacing with IIO devices" +HOMEPAGE="https://github.com/analogdevicesinc/libiio" +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="https://github.com/analogdevicesinc/libiio" + inherit git-r3 +else + SRC_URI="https://github.com/analogdevicesinc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~riscv ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +IUSE="+aio +zeroconf" + +RDEPEND="dev-libs/libxml2:= + virtual/libusb:1= + aio? ( dev-libs/libaio ) + zeroconf? ( net-dns/avahi )" +DEPEND="${RDEPEND}" + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |