diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-02 11:41:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-02 11:41:42 +0000 |
commit | 708c31c860cb6292743b80e3371ccccffb0c9bbd (patch) | |
tree | 076a7123f18f332e1c6fc8aa5b7c702a38a87ba0 /sys-firmware/sigrok-firmware-fx2lafw | |
parent | a4036575de835600b3085b97974d0766ef7c7bc2 (diff) |
gentoo auto-resync : 02:03:2024 - 11:41:42
Diffstat (limited to 'sys-firmware/sigrok-firmware-fx2lafw')
-rw-r--r-- | sys-firmware/sigrok-firmware-fx2lafw/Manifest | 5 | ||||
-rw-r--r-- | sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.7-r2.ebuild (renamed from sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.7-r1.ebuild) | 30 | ||||
-rw-r--r-- | sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-9999.ebuild | 30 |
3 files changed, 43 insertions, 22 deletions
diff --git a/sys-firmware/sigrok-firmware-fx2lafw/Manifest b/sys-firmware/sigrok-firmware-fx2lafw/Manifest index 206f8cc085ef..05d7e9d7ff2f 100644 --- a/sys-firmware/sigrok-firmware-fx2lafw/Manifest +++ b/sys-firmware/sigrok-firmware-fx2lafw/Manifest @@ -1,5 +1,6 @@ +DIST sigrok-firmware-fx2lafw-0.1.7-update-syntax.patch.xz 3668 BLAKE2B 969607c030b5a9076fb2b9598886714a2243ec642f34c63e92ddd1f4f5b8d315755ed093f30158d363aae857f096f060ea8ad7cde5e61d99c2db99de373877de SHA512 5bb124c4f60dc1b574b987605c8f5c4a10826127569d315df378510ba6977d11466761991894834ec05212799c8cae30f34d37419f5fac89d1570451b690a548 DIST sigrok-firmware-fx2lafw-0.1.7.tar.gz 145443 BLAKE2B 6e19fde87caf942ca8f95a67f5ba5553e2044e9ba43ca81f6b7be69f4a75ca25e946edf80d0f4ddf7d361f98aff68e9a0d950070fbca24423c908fbc70155ae9 SHA512 e9973980b07cef395637476c6294473e349770be24afe6b03d284bf3057f6b32fe686e25f3baa180b96455397db43e16f191a9feb07bf46e097170fb4d326f8e DIST sigrok-firmware-fx2lafw-bin-0.1.7.tar.gz 54529 BLAKE2B b8659ba77f6976a927bd60c903abbc7bf7128d4dfff8a58dfe1f6522c6f7d5e5c0f8c8bc170fef7499461426ab1059093c4cc1553a39f4a059786cfc144f787f SHA512 60faac29198532bd5e03e44ed7f89c1502c83c6cf60ec5cc0f3ae9891c45b5de55eba5304c47d3231c8222ff61f1425aed88a44e7ff89d30b75d6e5faf7a623c -EBUILD sigrok-firmware-fx2lafw-0.1.7-r1.ebuild 1167 BLAKE2B 1601ec4c1106b3b4e20ba0c6131376fed8f297b1ef854d6f9efc7f3bc6e943abeb9173fc610b3620ba911a3c1053f964c414cc162da9c4fa2fbc8b111f4d3d61 SHA512 aa9f6464d05f92a3ecceed7feedcde072b43f598075d52d23098e503727c3e730f3c548a3a2b5264a7321d360ffe1954f0337e30dc3f2132a79f55d24278b057 -EBUILD sigrok-firmware-fx2lafw-9999.ebuild 1167 BLAKE2B 1601ec4c1106b3b4e20ba0c6131376fed8f297b1ef854d6f9efc7f3bc6e943abeb9173fc610b3620ba911a3c1053f964c414cc162da9c4fa2fbc8b111f4d3d61 SHA512 aa9f6464d05f92a3ecceed7feedcde072b43f598075d52d23098e503727c3e730f3c548a3a2b5264a7321d360ffe1954f0337e30dc3f2132a79f55d24278b057 +EBUILD sigrok-firmware-fx2lafw-0.1.7-r2.ebuild 1316 BLAKE2B 24df603f280b0fbf475193b819a3d1c591ae26b61d7299bcb7aad78b4846e1e1cf8f39679a96b180ebb5316eb384cad5a35e396e5846336c75b61ce6ce3f0577 SHA512 09b49f48b7756824338086c459b1922b251ed4a53ed4a6bd4063c5d219a064dd59c2b6a348710acb5fbe5d684fddf78ae5db7ed74a3d0f51c07c53caacaed6b0 +EBUILD sigrok-firmware-fx2lafw-9999.ebuild 1316 BLAKE2B 24df603f280b0fbf475193b819a3d1c591ae26b61d7299bcb7aad78b4846e1e1cf8f39679a96b180ebb5316eb384cad5a35e396e5846336c75b61ce6ce3f0577 SHA512 09b49f48b7756824338086c459b1922b251ed4a53ed4a6bd4063c5d219a064dd59c2b6a348710acb5fbe5d684fddf78ae5db7ed74a3d0f51c07c53caacaed6b0 MISC metadata.xml 330 BLAKE2B 7a9e87dfc609e5a90de0609384fa2d6100e016a821cc8098cf2c3783a12d02df632b001510a5a6781f40f1d1dbce2387cb83c718ff2e383f95490fe20b3a2119 SHA512 94a656543653db8b2d41f9ef974c47b7c3f4539de9385e0a43bdc2bfea05f700646e3ea4b0776a48090996f1f07026f870a09c334accd8c452d3003af759ee01 diff --git a/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.7-r1.ebuild b/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.7-r2.ebuild index 014931c13b73..d6b183e8f11e 100644 --- a/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.7-r1.ebuild +++ b/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.7-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" @@ -7,11 +7,15 @@ SDCC_DEPEND=">=dev-embedded/sdcc-3.4.0[device-lib(+),mcs51(+),sdcpp(+)]" if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="git://sigrok.org/${PN}" - IUSE="" inherit git-r3 autotools else - SRC_URI="binary? ( https://sigrok.org/download/binary/${PN}/${PN}-bin-${PV}.tar.gz ) - !binary? ( https://sigrok.org/download/source/${PN}/${P}.tar.gz )" + SRC_URI=" + binary? ( https://sigrok.org/download/binary/${PN}/${PN}-bin-${PV}.tar.gz ) + !binary? ( + https://sigrok.org/download/source/${PN}/${P}.tar.gz + https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${P}-update-syntax.patch.xz + ) + " KEYWORDS="~amd64 ~x86" IUSE="binary" SDCC_DEPEND="!binary? ( ${SDCC_DEPEND} )" @@ -23,23 +27,29 @@ HOMEPAGE="https://sigrok.org/wiki/Fx2lafw" LICENSE="GPL-2+" SLOT="0" -RDEPEND="" -DEPEND="${RDEPEND} - ${SDCC_DEPEND}" +DEPEND="${SDCC_DEPEND}" + +PATCHES=() src_unpack() { if [[ ${PV} == "9999" ]]; then git-r3_src_unpack else default - # The binary & source dirs are slightly diff. - use binary && S="${WORKDIR}/${PN}-bin-${PV}" + if use binary; then + # The binary & source dirs are slightly diff. + S="${WORKDIR}/${PN}-bin-${PV}" + else + PATCHES+=( + "${WORKDIR}"/${P}-update-syntax.patch + ) + fi fi } src_prepare() { [[ ${PV} == "9999" ]] && eautoreconf - eapply_user + default } src_install() { diff --git a/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-9999.ebuild b/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-9999.ebuild index 014931c13b73..d6b183e8f11e 100644 --- a/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-9999.ebuild +++ b/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" @@ -7,11 +7,15 @@ SDCC_DEPEND=">=dev-embedded/sdcc-3.4.0[device-lib(+),mcs51(+),sdcpp(+)]" if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="git://sigrok.org/${PN}" - IUSE="" inherit git-r3 autotools else - SRC_URI="binary? ( https://sigrok.org/download/binary/${PN}/${PN}-bin-${PV}.tar.gz ) - !binary? ( https://sigrok.org/download/source/${PN}/${P}.tar.gz )" + SRC_URI=" + binary? ( https://sigrok.org/download/binary/${PN}/${PN}-bin-${PV}.tar.gz ) + !binary? ( + https://sigrok.org/download/source/${PN}/${P}.tar.gz + https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${P}-update-syntax.patch.xz + ) + " KEYWORDS="~amd64 ~x86" IUSE="binary" SDCC_DEPEND="!binary? ( ${SDCC_DEPEND} )" @@ -23,23 +27,29 @@ HOMEPAGE="https://sigrok.org/wiki/Fx2lafw" LICENSE="GPL-2+" SLOT="0" -RDEPEND="" -DEPEND="${RDEPEND} - ${SDCC_DEPEND}" +DEPEND="${SDCC_DEPEND}" + +PATCHES=() src_unpack() { if [[ ${PV} == "9999" ]]; then git-r3_src_unpack else default - # The binary & source dirs are slightly diff. - use binary && S="${WORKDIR}/${PN}-bin-${PV}" + if use binary; then + # The binary & source dirs are slightly diff. + S="${WORKDIR}/${PN}-bin-${PV}" + else + PATCHES+=( + "${WORKDIR}"/${P}-update-syntax.patch + ) + fi fi } src_prepare() { [[ ${PV} == "9999" ]] && eautoreconf - eapply_user + default } src_install() { |