diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-15 03:02:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-15 03:02:36 +0000 |
commit | 57d1fe5ae0c56e604db5d29bf7b62d685c42e043 (patch) | |
tree | bc1bdf3c531b7b4cef73b051dbb3cd439dee4a39 /sys-apps | |
parent | d3c7d3e5f9607edef1a795ccc502ab3eb3121165 (diff) |
gentoo auto-resync : 15:11:2024 - 03:02:36
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/Manifest.gz | bin | 51347 -> 51345 bytes | |||
-rw-r--r-- | sys-apps/memtest86+/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/memtest86+/memtest86+-7.20.ebuild | 100 | ||||
-rw-r--r-- | sys-apps/sg3_utils/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/sg3_utils/sg3_utils-1.48.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/texinfo/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/texinfo/texinfo-7.1.91.ebuild | 93 | ||||
-rw-r--r-- | sys-apps/usbutils/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/usbutils/usbutils-018.ebuild | 54 |
9 files changed, 255 insertions, 2 deletions
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz Binary files differindex 83a8f2b1ca36..dafcfd5bbfd4 100644 --- a/sys-apps/Manifest.gz +++ b/sys-apps/Manifest.gz diff --git a/sys-apps/memtest86+/Manifest b/sys-apps/memtest86+/Manifest index 3dd69e9b2f6b..b430e7ea0836 100644 --- a/sys-apps/memtest86+/Manifest +++ b/sys-apps/memtest86+/Manifest @@ -1,6 +1,8 @@ AUX 39_memtest86+-r2 3530 BLAKE2B 6c302744000a48fbda7563b48bbac5bb5e580159d74ad595f5fabd21150bd785c1792c0acbafc779a601ab7b820a0e37576c0c0967ba2de739089d2b9cfc3366 SHA512 2e28b671d77ef19958b88c73f9de5560775c3b8cfb647bd7cc480801a64bcaf2a80f750d3fdaf81b1c02364f4aa2fcb8b3ccb8eef4008c9d0619676f0490a084 DIST memtest86+-6.20.tar.gz 232436 BLAKE2B 6e3bea4b18049446f27da2cb1313300c578ef7fdb774b6a20df603271b66a6c0066be64a91b0a6d4ffcc63f1e139132942290a8111f6a991cccc0a5586cac966 SHA512 b12856bd6ba82dac6308bb9f611ddb16df68c3da4d00ad9abf23bcf5d3f2e5c424fc1bccedd8c0732b4c68013c421ed20c5db56c39b619bbe77c4c1f5e8504f0 DIST memtest86+-7.00.tar.gz 244385 BLAKE2B 608f4e31ddaee01d828cb1574086196c26f5e96c5049806ac3ab174ddf669db8cdcb8f336bec5a1ce74439d96fca505fea81311a06581bb43a8034156a4f8165 SHA512 1325ee08b280404fb47d37b62d65e51de21dd09b96bef29ece193072b09ff3c6eea8657b2e7c98801bf81ba4288c2bff580a91eb45d5a93744b0a273652266c4 +DIST memtest86+-7.20.tar.gz 269027 BLAKE2B f53570e9364f7fc15c946d925b449139f72bdfab6e2c69e40f7edf6aa034c6b46e40194d32eb56122365b6badc199ed9eeb8f3281d1908adb85495ffd25ea5f7 SHA512 6982f6e9dfebf226b82c7385c10322ad49ac821400a07d577727bfca65b0c430d2680237ede7b4e532fa37dcc6d37a6a3bfb8858a6036ddcb01d644b0707e5a5 EBUILD memtest86+-6.20-r1.ebuild 2064 BLAKE2B 5eb92ff50f967ade20a9cd917dd0b43bbadc778511c8266e08b7bedb96bb04b7e2741b2c1366c11bbbd59822ccb84ee61180e493d5824ccaaa88f468cb2d66c2 SHA512 b669668889abb7be7c0663a4a30d9969f38846b43a4f97f844758ce8faebc72073791318d92994d5c4f8d2e08824905f21f31a2899149f6f858c462eb81efb5f EBUILD memtest86+-7.00.ebuild 2069 BLAKE2B a17e9ee695b7a422dc6b2f95de91ac1e6bb7aa692567ba931650b55c6e4da9dd1ad0cf6af32a409b1b9ab26bee334f84652df54938fc7b8d05e098b1223d9f8b SHA512 acfa752f68f7ac28ba07198d870674fd95c0b47c0c6cb17b312a5a9842fbec24766d735551cb09c4358959e76ccc01789808f841847df7005108e9f47e5beb06 +EBUILD memtest86+-7.20.ebuild 2071 BLAKE2B c39a45c569e77bb9cdf921f8b7a618cea588d79689b96829146bd5a162694edb0ea609cd7de1d7980cadaf250c2b0e19d1d6938df441d7b7254da6afbdac6766 SHA512 ad74d8ae8ed2b716f0f031aae73c101127aa626c21ad140220f97e04da5e17b533f18f224b55f52c22d5a1b8c17180391bab0b8adb91ac7bc30a2a38de5ce538 MISC metadata.xml 819 BLAKE2B b18a5bc257f2e01f9b2dc52229a858a709c3d386798636c888caf7f52c4036eccee02a8c96a58c1b1305f7fdff5e83855e4799f4675a4ba59c43cb2e287edad3 SHA512 6b582bc657ae7047843638fda770068f322ec15607b5c6618e924942eb321b7230a98d82852814e94d4735d4bbc4531ae7b32b6596d2830105a1ab0d1afbf4ca diff --git a/sys-apps/memtest86+/memtest86+-7.20.ebuild b/sys-apps/memtest86+/memtest86+-7.20.ebuild new file mode 100644 index 000000000000..88b05cadc68a --- /dev/null +++ b/sys-apps/memtest86+/memtest86+-7.20.ebuild @@ -0,0 +1,100 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit mount-boot secureboot toolchain-funcs + +MY_PV=${PV/_/-} + +DESCRIPTION="Memory tester based on PCMemTest" +HOMEPAGE="https://www.memtest.org/" +SRC_URI="https://github.com/memtest86plus/memtest86plus/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bios32 bios64 +boot uefi32 uefi64 iso32 iso64" + +ISODEPS=" + dev-libs/libisoburn + sys-fs/dosfstools + sys-fs/mtools +" +BDEPEND=" + iso32? ( ${ISODEPS} ) + iso64? ( ${ISODEPS} ) +" + +S=${WORKDIR}/memtest86plus-${MY_PV} + +pkg_setup() { + if use uefi32 || use uefi64; then + secureboot_pkg_setup + fi +} + +src_prepare() { + sed -i \ + -e 's#/sbin/mkdosfs#mkfs.vfat#' \ + -e 's/^AS = as/AS +=/' \ + -e '/^CC/d' \ + -e 's/= objcopy/?= $(OBJCOPY)/' \ + -e 's/shell size/shell $(SIZE)/' \ + build{32,64}/Makefile || die + default +} + +src_compile() { + tc-export OBJCOPY + export SIZE=$(tc-getPROG SIZE size) + pushd build32 + use bios32 && emake memtest.bin + use uefi32 && emake memtest.efi + use iso32 && emake iso + popd + + pushd build64 + use bios64 && emake memtest.bin + use uefi64 && emake memtest.efi + use iso64 && emake iso + popd +} + +install_memtest_images() { + use bios32 && newins build32/memtest.bin memtest32.bios + use bios64 && newins build64/memtest.bin memtest64.bios + use uefi32 && newins build32/memtest.efi memtest.efi32 + use uefi64 && newins build64/memtest.efi memtest.efi64 +} + +src_install() { + default + if use boot; then + exeinto /etc/grub.d/ + newexe "${FILESDIR}"/39_memtest86+-r2 39_memtest86+ + insinto /boot/memtest86plus + install_memtest_images + fi + + insinto /usr/share/${PN} + install_memtest_images + use iso32 && newins build32/memtest.iso memtest32.iso + use iso64 && newins build64/memtest.iso memtest64.iso + + if use uefi32 || use uefi64; then + secureboot_auto_sign --in-place + fi +} + +pkg_pretend() { + use boot && mount-boot_pkg_pretend +} + +pkg_preinst() { + use boot && mount-boot_pkg_preinst +} + +pkg_prerm() { + use boot && mount-boot_pkg_prerm +} diff --git a/sys-apps/sg3_utils/Manifest b/sys-apps/sg3_utils/Manifest index 90545cf4bec6..d57e21e8e7ad 100644 --- a/sys-apps/sg3_utils/Manifest +++ b/sys-apps/sg3_utils/Manifest @@ -4,5 +4,5 @@ DIST sg3_utils-1.48.tar.xz 1211028 BLAKE2B 282ca9ad39f225aa9ce49e8ebd5f86f0786d2 EBUILD sg3_utils-1.47-r1.ebuild 1093 BLAKE2B 189e64014f51debf1746f564321ae69485243f8ac93cbb98405e1c4d218f0b1fb6a669dd4654094b8a19a12eb48b6408090f6631074049783a18b4ae16e5f6d4 SHA512 092ce7a23998df7da06fce7b5b76eae46ed16f6dff12e7511fc63a29685d2faf6e4489f57feff2b1bdd08e7b745a4450292f1cb6712b500d5a7c3cafeb3210ea EBUILD sg3_utils-1.47-r2.ebuild 1093 BLAKE2B eeb62d28d4121d6493a20483114b9986499e21e21f31253ede985093bece11472a47b2ecc973522970800d2a7baf8e3d97ac07a0b59d0d61a7eece9db1f47582 SHA512 f6a257f86f9e88927907f23788db07f44c8a8ae7cffa738d32c584863a2e6140b77ca93ed0973f4b685190a307e0dc0739069007e30f398de71aca4003263a83 EBUILD sg3_utils-1.47.ebuild 997 BLAKE2B c414df8af97e0f0912e36409cf9d1c5e514b9504342c69bd009d016d84b1544304f86ed525d81d4a7a82dae7cdf2ddd9acd1ebd1b528c0a0a59c910a7c8d5c91 SHA512 91a0b0166ee3c1489e6182957b1e999127f079d3f071f70d6b50f8d3e7fd4e0b4471e256b75428b703f64dfe4b8f6b5bd949c577c2bf285bd558dc9345588425 -EBUILD sg3_utils-1.48.ebuild 1036 BLAKE2B 696af8af25d6f2e0ce8bbf1116d77559ec88ae3f10322396be199548c5488d021dc20d5d1d193487cb0bf53e92f274de071f744444fe6d2beb6a13e70beeecb2 SHA512 575e1532dfe3ce4d5a642459b8c9656f2719480c2b5aeea806a4b675f2b9adc4191f593722cc7b629369ae2d804256464a5219823f5fe5271c3771263dbaddd2 +EBUILD sg3_utils-1.48.ebuild 1030 BLAKE2B 3e44f7383b32c1bbf4fd5a63033f640cc835d7b2fe27babf038ee0e4cc07dba10bd28e6b7d687fbb7537b52564d853957fdfd99e7cc936f3a6caded2113eb224 SHA512 aa1860b470aa37139f89d9394890242e24861ee7e71c20d5ddf0db2bbf9ab1e02da331eea11e5870c76e61eba6043ae485af24d645e3d32107dcbcbae0c37727 MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/sys-apps/sg3_utils/sg3_utils-1.48.ebuild b/sys-apps/sg3_utils/sg3_utils-1.48.ebuild index 01be99445cc5..d9cdb745605c 100644 --- a/sys-apps/sg3_utils/sg3_utils-1.48.ebuild +++ b/sys-apps/sg3_utils/sg3_utils-1.48.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://sg.danny.cz/sg/p/${P}.tar.xz" LICENSE="GPL-2" SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="static-libs" RDEPEND="!sys-apps/rescan-scsi-bus" diff --git a/sys-apps/texinfo/Manifest b/sys-apps/texinfo/Manifest index a2d5552e9b7f..1d674aee8f44 100644 --- a/sys-apps/texinfo/Manifest +++ b/sys-apps/texinfo/Manifest @@ -1,6 +1,8 @@ DIST texinfo-7.1.1.tar.xz 5572864 BLAKE2B 64dbd315e65d5b7cb0bb06c918e9924bb15a25a4bb26322db10b7ee98e9e6626b62592f8edd0ff016256f4a84837dabacb5278c3826e34fa3e080a5e8c0fb626 SHA512 05d605fba810f2939cab16ed5ddb341e22d397370648e6e0271c807fa573267e933c75ed7ae682c3c9cfecb568311a8df7abeb8c0556a94ef7169737d5b9c52a DIST texinfo-7.1.90.tar.xz 6694376 BLAKE2B b77771e39f8c73cea9c449c1f4268dcdb9603497b719dda036908122805f2f4f85507ee797d7d9d1f4c3e4de236a7be6837c2985d7f10960e347860d98c49a8c SHA512 ecf6359c256c3c203fac26d211b4fad738e5e7cb142005a73df22eb17888296eac17d4748551243fee1f1cf891e612deeeb85bc841c8b64acb99e7fa49d1c3ad +DIST texinfo-7.1.91.tar.xz 6709648 BLAKE2B 34c7e75ece31919c43292ab00eb2d7160dbdbd5726d63490ae37e17fd7b966e31de3631b66952e3e679bd6b33b5005e2e4799ea282ecf652f31269ae3c2876bd SHA512 8b5bb02c1a4ac77cf8ca59817bf227701a0560d04f5b0ed08e28ed509d66da3bb5b8df677b481d813a529c07a7ebe55b9f2c67ca3cb55678322f13462cc02a5b EBUILD texinfo-7.1.1.ebuild 2461 BLAKE2B f6f250d33af7029937e2c78d59d7b175f50a20784fb0bcdc608ef3e517c3e3db03d1245b443cea1106725f73cca50628888eb7417134847a18905f309446c206 SHA512 32c052cdef710bfbfb65738d6099a496ecba17dcd829598c241d599f3dd67376aaaaf44d167d08867743f5bcdf3ed9cd73ad4bc665a18c9acc0e8d883c676a8a EBUILD texinfo-7.1.90.ebuild 2469 BLAKE2B e618b521a09399d8d5ed2131cd3a9c45a534720df4dae25212930da1326814f750017804b56d1b2117785fd365408aa6a6404a18114c707b346845c90f3b99cd SHA512 813703a04ece913809736af871449a501c0e0fa08310b4c07d28c67442df4650e2be1551c9df79001f1d70b6401fd607c19250d4a16dfcbfb41a484fbfdbb95b +EBUILD texinfo-7.1.91.ebuild 2469 BLAKE2B e618b521a09399d8d5ed2131cd3a9c45a534720df4dae25212930da1326814f750017804b56d1b2117785fd365408aa6a6404a18114c707b346845c90f3b99cd SHA512 813703a04ece913809736af871449a501c0e0fa08310b4c07d28c67442df4650e2be1551c9df79001f1d70b6401fd607c19250d4a16dfcbfb41a484fbfdbb95b EBUILD texinfo-9999.ebuild 2469 BLAKE2B e618b521a09399d8d5ed2131cd3a9c45a534720df4dae25212930da1326814f750017804b56d1b2117785fd365408aa6a6404a18114c707b346845c90f3b99cd SHA512 813703a04ece913809736af871449a501c0e0fa08310b4c07d28c67442df4650e2be1551c9df79001f1d70b6401fd607c19250d4a16dfcbfb41a484fbfdbb95b MISC metadata.xml 588 BLAKE2B 4e5549f1b07df4c081d2cc03691f0f8ba13c0f8f86807a7e5e87ea618080895a2714f169e9a1294226e71207ed88586a027092a328ab618f417ae3a74ac2586b SHA512 343c287a2c0c7f7bcbd5a40373c0aebe718d46042947abcb8364fed0aeb6dd7e585e9d226ef5bfb0084074d085510e802faf3a3c08b1489ed35556b6c14d1015 diff --git a/sys-apps/texinfo/texinfo-7.1.91.ebuild b/sys-apps/texinfo/texinfo-7.1.91.ebuild new file mode 100644 index 000000000000..eda59950b465 --- /dev/null +++ b/sys-apps/texinfo/texinfo-7.1.91.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Note: if your package uses the texi2dvi utility, it must depend on the +# virtual/texi2dvi package to pull in all the right deps. The tool is not +# usable out-of-the-box because it requires the large tex packages. + +# Keep an eye on the release/$(ver_cut 1-2) branch upstream for backports. + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="The GNU info program and utilities" +HOMEPAGE="https://www.gnu.org/software/texinfo/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.savannah.gnu.org/git/texinfo.git" + REGEN_BDEPEND=" + >=dev-build/autoconf-2.62 + >=dev-build/automake-1.16 + dev-build/libtool + " +elif [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then + SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz" + REGEN_BDEPEND="" +else + SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + REGEN_BDEPEND="" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="nls +standalone static" + +RDEPEND=" + >=sys-libs/ncurses-5.2-r2:= + virtual/perl-Data-Dumper + virtual/perl-Encode + virtual/perl-Unicode-Collate + standalone? ( >=dev-lang/perl-5.8.1 ) + !standalone? ( + >=dev-lang/perl-5.8.1:= + dev-libs/libunistring:= + ) + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${REGEN_BDEPEND} + nls? ( >=sys-devel/gettext-0.19.6 ) +" + +src_prepare() { + default + + if [[ ${PV} == 9999 ]]; then + ./autogen.sh || die + fi + + # Needed if a patch touches install-info.c + #touch man/install-info.1 || die + + if use prefix ; then + sed -i -e '1c\#!/usr/bin/env sh' util/texi2dvi util/texi2pdf || die + touch {doc,man}/{texi2dvi,texi2pdf,pdftexi2dvi}.1 || die + fi +} + +src_configure() { + # Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions + # bug #622576 + local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}" + local -x PERL_EXT_CFLAGS="${CFLAGS}" PERL_EXT_LDFLAGS="${LDFLAGS}" + + use static && append-ldflags -static + + # TODO: + # --with-external-Unicode-EastAsianWidth + # --with-external-Text-Unidecode + # + # Also, 7.0.91 seemed to introduce a included-libunistring w/ USE=-standalone + # but it doesn't seem to do anything? + local myeconfargs=( + --cache-file="${S}"/config.cache + $(use_enable nls) + $(use_enable !standalone perl-xs) + ) + + econf "${myeconfargs[@]}" +} diff --git a/sys-apps/usbutils/Manifest b/sys-apps/usbutils/Manifest index 96375bc32307..30da99899ebe 100644 --- a/sys-apps/usbutils/Manifest +++ b/sys-apps/usbutils/Manifest @@ -1,5 +1,7 @@ DIST usbutils-016.tar.xz 169000 BLAKE2B 2f3af61e5a7abf48cdf0a4aebc901ca1570007b54d11ae74572e16bdeb2d8e73844d76af54bd812d6d4b84ddaf6e956132ecc9a8a2849a7bffc0643e29115a49 SHA512 4483038bf91c056cd2977f5e7f449c0a62d9152d6f5d64ab7bde438ab9c1c56fe524ba10b35781c2828edd0fe89379dbaed78fa7ffe78903cae0c4e3c460f9a0 DIST usbutils-017.tar.xz 168820 BLAKE2B 868c646ed6d38a38b9bd3ab85ba3a5e9362a97e476aeed6576c1b175caaf4ee688cb2c33756f02c9bf0aef9e7d58657331fc1c3b3314d86145b3d4f37124537e SHA512 eaebbc82eee4d940898f7a8de95ca49846c7c964e65c3d866b38735f8f3c8ccfed2b3a536bf2ef39a835a40a34c2273ac4d82b1012d0c693d4863cff14870d95 +DIST usbutils-018.tar.xz 120168 BLAKE2B 030f45afd5867ee38c8284a0741d1de63653a98746bfef42281390c5bdefbbb99c318d708e88ea2e28810d519d735da3103fe438befa889fc9b5ae9e21200992 SHA512 4f76c7a328746e17892c31d69cbd9a560c4384877e18d80076cef344a25b71b33387d803c98a9c6867b357a61e1a8a1a630884afe32128c3b6393dc186f216c8 EBUILD usbutils-016.ebuild 1336 BLAKE2B d72213c783780534d9f47973325e7282033caa2f2cc440274c842f874092af8e59dbe14286294890b4d9b6aa744882d7bcf78b78d119a4326db34f5763b7778d SHA512 df4032fcfaed657c48bb0ddac1cb7938b165d4e9f4f6cd5f70a2ea674486e287ca5f463aacb3bc2fcbd8853d90c1e429fcb2920219fa2ca5b4223758a29bfac0 EBUILD usbutils-017.ebuild 1336 BLAKE2B 5e2b6c34c76222a2c6ec76b2970cde93fac4a07a7ef5b71283368ea4811399b79e0ecbc7211f481153904deb067bd61cccbe02dcf8aa8d5d8826deb581b4bee1 SHA512 e9ae49e90d764b32fc80d823152b66f9d881cb858dcef3d167f6278361a9ce22a0a8843e47d4cc2c5bb84f4cb060c7a0c4d79e63985ef53ed21b5d835bc47621 +EBUILD usbutils-018.ebuild 1061 BLAKE2B 849add430e9d5de993bbbacfe77e932c6b1bf37a926db9d45ce6b8b36ba4c6a208326e8ddc09f90dbbd2dce5aa30e9c6c13c3f778833b650c448eaa6d347b4d9 SHA512 e43985e4f8ea093e4826692bc649be723bf50ac7b6e50445edf6008b662ec011e82aafcd423b061efd7424f644f05a481856de527fe9631b646687c043c71fca MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/sys-apps/usbutils/usbutils-018.ebuild b/sys-apps/usbutils/usbutils-018.ebuild new file mode 100644 index 000000000000..d26898c292e5 --- /dev/null +++ b/sys-apps/usbutils/usbutils-018.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit meson python-single-r1 + +DESCRIPTION="USB enumeration utilities" +HOMEPAGE=" + https://www.kernel.org/pub/linux/utils/usb/usbutils/ + https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/ +" +SRC_URI="https://www.kernel.org/pub/linux/utils/usb/${PN}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND=" + virtual/libusb:1= + virtual/libudev:= +" +RDEPEND=" + ${DEPEND} + python? ( + ${PYTHON_DEPS} + sys-apps/hwdata + ) +" +BDEPEND=" + virtual/pkgconfig + python? ( ${PYTHON_DEPS} ) +" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + use python && python_fix_shebang lsusb.py +} + +src_install() { + meson_src_install + + if ! use python ; then + rm -f "${ED}"/usr/bin/lsusb.py || die + fi +} |