diff options
author | Daniel Solano Gómez <gentoo@sattvik.com> | 2022-08-08 15:20:20 -0500 |
---|---|---|
committer | Daniel Solano Gómez <gentoo@sattvik.com> | 2022-08-08 15:20:20 -0500 |
commit | fbdd3c92f92075740a196b2549880d90c5fbe80a (patch) | |
tree | 08b60bd8208362b5dbb2392a8824640bdb1d9802 /net-wireless | |
parent | app-containers/amazon-ecr-credential-helper: add 0.6.0, drop 0.1.0 (diff) | |
download | sattvik-fbdd3c92f92075740a196b2549880d90c5fbe80a.tar.gz sattvik-fbdd3c92f92075740a196b2549880d90c5fbe80a.tar.bz2 sattvik-fbdd3c92f92075740a196b2549880d90c5fbe80a.zip |
net-wireless/airspyhf: Update to cmake eclass
Signed-off-by: Daniel Solano Gómez <gentoo@sattvik.com>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/airspyhf/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/airspyhf/airspyhf-1.1.5.ebuild | 39 | ||||
-rw-r--r-- | net-wireless/airspyhf/airspyhf-1.6.8.ebuild | 43 | ||||
-rw-r--r-- | net-wireless/airspyhf/airspyhf-9999.ebuild | 44 |
4 files changed, 47 insertions, 85 deletions
diff --git a/net-wireless/airspyhf/Manifest b/net-wireless/airspyhf/Manifest index c076c68..b86122c 100644 --- a/net-wireless/airspyhf/Manifest +++ b/net-wireless/airspyhf/Manifest @@ -1,6 +1,4 @@ -DIST airspyhf-1.1.5.tar.gz 21917 BLAKE2B ae43e4ad2adeee7b6ab94ce1f6ff80beb6204c5ceecc0323d576ecee40a0d7c2b8f070d330ce3a0007e275533accf2569b6e9af90499138c78bdd51047ce954d SHA512 aafd9473fbd2a3541791a9950bf69c2422cc6d95cfef27cee00690377aa275ed8af41a2a126eb0930017c2dc1a6f281ea6277359eb8bb65614d0fa74b026e8fb DIST airspyhf-1.6.8.tar.gz 33527 BLAKE2B 6b233f2b80fbb166a6bd2b899d43b70349061cc3761514f6197363e63a5b99f256f3a0c10133a7a5c372467adaf4a964b409413c170e0f2ed0abd3435b021b72 SHA512 cc327012f51514935b422d07e54f1806f2a22d900a2bfe2e10adac9acca572ada3853709f0c37300b387061bc7559dcf10eae6814a06e22e8c765f1409b66f59 -EBUILD airspyhf-1.1.5.ebuild 711 BLAKE2B 6cf12d56dffc8469ce5e0e24f45f65d0ecf61885fd15219875768fcf3e1ac2e5a1d0b2adb937be54bdce77955797b234fb3ae1c25868449def66c85dc3f2607f SHA512 06cb583d1365dd25c8c1178d1459bd2e635f30113eb65a60ff07ecbe2f30a1ec608d8fcfd57a73b3bd849206e4d99f0668017ea6567d2b4c8232b3513291a60a -EBUILD airspyhf-1.6.8.ebuild 721 BLAKE2B 35770491e0cd99cf745bacfa868f86ecc20671fa8bd9b859b992e1d9ae799b4e0bb21932a04021b2c7ba1735edd3968b811eed32b531dcd28ce8125cd7f533ae SHA512 da9b3970640b9579191015f689a615a27546a13c9e40cea6c0a9876c41e9f2cacb45b4e157fedbb23fcefa5a3fa017d624f87621b9d8386f3ab5289ee036f097 -EBUILD airspyhf-9999.ebuild 711 BLAKE2B 6cf12d56dffc8469ce5e0e24f45f65d0ecf61885fd15219875768fcf3e1ac2e5a1d0b2adb937be54bdce77955797b234fb3ae1c25868449def66c85dc3f2607f SHA512 06cb583d1365dd25c8c1178d1459bd2e635f30113eb65a60ff07ecbe2f30a1ec608d8fcfd57a73b3bd849206e4d99f0668017ea6567d2b4c8232b3513291a60a +EBUILD airspyhf-1.6.8.ebuild 648 BLAKE2B 12ccb5ba6b15241f979b3f14bdc667dc7e83ddb8b0785f26d9ff9aa87a469ed5eecbd91799dbbd5773b6fe371baa472ffc7e8d5e792c8c0cec971adfeaf4a220 SHA512 433e27d5cd3190ce2ffa13eff11d6ce815a3e570108bc28d715b136131ee38418dc62e269fa4f93456eef3b112deac60d52c329d4c1df58f747adf54f676195a +EBUILD airspyhf-9999.ebuild 624 BLAKE2B 102f88aad4f6bf655dc1d09ef9be95b0d2d2c9d260789d7f4f69405ff5e56bfdbeb659434367cf467314a5a0baa5fa65732cdd676586be150733be610457a2ab SHA512 29b7571215e9dc3e235b1c20577b193205453b522762036f79dada9451c4bd1add1e2bd9f954a5e2a95d335a4babc70492b12564c9c3eccd2e2aa408c688c8ee MISC metadata.xml 384 BLAKE2B 4cae41b9c42294b8ad194da553a21b17c91edb1d8cbc3e0c011c0734ebfc5ef19e627ca15d7a2f7b272289f877667d3621299aa059f0111eb131d236d175489d SHA512 648606aa7d2cc3d13905a3abd400ec6c2cd28b65793ea65d4c1114b03d0c2183a538e6773edafd150683ea02251d58b42dc9f22e7e6dfbba42d9623850bbcd38 diff --git a/net-wireless/airspyhf/airspyhf-1.1.5.ebuild b/net-wireless/airspyhf/airspyhf-1.1.5.ebuild deleted file mode 100644 index d4bc84f..0000000 --- a/net-wireless/airspyhf/airspyhf-1.1.5.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="User mode driver for Airspy HF+" -HOMEPAGE="https://github.com/airspy/airspyhf" - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="https://github.com/airspy/airspyhf.git" - KEYWORDS="" -else - SRC_URI="https://github.com/airspy/airspyhf/archive/${PV}.tar.gz -> ${PN}-${PV}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="BSD" -SLOT="0/${PV}" - -RDEPEND="virtual/libusb:0" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -src_configure() { - local mycmakeargs=( - -DINSTALL_UDEV_RULES=ON - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install -} diff --git a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild index a85db48..d154b74 100644 --- a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild +++ b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild @@ -1,39 +1,40 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit cmake-utils +inherit cmake udev DESCRIPTION="User mode driver for Airspy HF+" HOMEPAGE="https://github.com/airspy/airspyhf" -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="https://github.com/airspy/airspyhf.git" - KEYWORDS="" -else - SRC_URI="https://github.com/airspy/airspyhf/archive/${PV}.tar.gz -> ${PN}-${PV}.tar.gz" - KEYWORDS="~amd64 ~x86 ~arm" -fi +SRC_URI="https://github.com/airspy/airspyhf/archive/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~arm ~x86" LICENSE="BSD" SLOT="0/${PV}" -RDEPEND="virtual/libusb:0" -DEPEND="${RDEPEND} - virtual/pkgconfig +DEPEND=" + virtual/libusb:0 + virtual/udev " +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" src_configure() { - local mycmakeargs=( - -DINSTALL_UDEV_RULES=ON - ) - - cmake-utils_src_configure + cmake_src_configure } src_install() { - cmake-utils_src_install + default + cmake_src_install + udev_dorules tools/52-airspyhf.rules +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload } diff --git a/net-wireless/airspyhf/airspyhf-9999.ebuild b/net-wireless/airspyhf/airspyhf-9999.ebuild index d4bc84f..6a1785c 100644 --- a/net-wireless/airspyhf/airspyhf-9999.ebuild +++ b/net-wireless/airspyhf/airspyhf-9999.ebuild @@ -1,39 +1,41 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit cmake-utils +inherit cmake udev git-r3 DESCRIPTION="User mode driver for Airspy HF+" HOMEPAGE="https://github.com/airspy/airspyhf" -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="https://github.com/airspy/airspyhf.git" - KEYWORDS="" -else - SRC_URI="https://github.com/airspy/airspyhf/archive/${PV}.tar.gz -> ${PN}-${PV}.tar.gz" - KEYWORDS="~amd64" -fi +SRC_URI="" +EGIT_REPO_URI="https://github.com/airspy/airspyhf.git" +KEYWORDS="" LICENSE="BSD" SLOT="0/${PV}" -RDEPEND="virtual/libusb:0" -DEPEND="${RDEPEND} - virtual/pkgconfig +DEPEND=" + virtual/libusb:0 + virtual/udev " +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" src_configure() { - local mycmakeargs=( - -DINSTALL_UDEV_RULES=ON - ) - - cmake-utils_src_configure + cmake_src_configure } src_install() { - cmake-utils_src_install + default + cmake_src_install + udev_dorules tools/52-airspyhf.rules +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload } |