diff options
author | Sam James <sam@gentoo.org> | 2024-06-11 21:42:35 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-11 21:42:35 +0100 |
commit | 3701685bcdaa9a9d07e2dee2c3ac8ed9a71dfe54 (patch) | |
tree | 164b67ad51e7d32c77d053120be7dd4780d5733f | |
parent | dev-libs/imath: Stabilize 3.1.11-r1 x86, #934060 (diff) | |
download | gentoo-3701685bcdaa9a9d07e2dee2c3ac8ed9a71dfe54.tar.gz gentoo-3701685bcdaa9a9d07e2dee2c3ac8ed9a71dfe54.tar.bz2 gentoo-3701685bcdaa9a9d07e2dee2c3ac8ed9a71dfe54.zip |
sci-libs/libsigrok: fix broken 9999 sync
Fixes: 0c2c5e8a704527b0d86548796f074b26bf339cda
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sci-libs/libsigrok/libsigrok-9999.ebuild | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/sci-libs/libsigrok/libsigrok-9999.ebuild b/sci-libs/libsigrok/libsigrok-9999.ebuild index 589e3d9a56dd..951d87e75bb6 100644 --- a/sci-libs/libsigrok/libsigrok-9999.ebuild +++ b/sci-libs/libsigrok/libsigrok-9999.ebuild @@ -5,11 +5,11 @@ EAPI="8" PYTHON_COMPAT=( python3_{10..13} ) -inherit autotools python-r1 java-pkg-opt-2 udev xdg-utils +inherit python-r1 java-pkg-opt-2 udev xdg-utils if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="git://sigrok.org/${PN}" - inherit git-r3 + inherit git-r3 autotools else SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~x86" @@ -19,8 +19,8 @@ DESCRIPTION="Basic hardware drivers for logic analyzers and input/output file fo HOMEPAGE="https://sigrok.org/wiki/Libsigrok" LICENSE="GPL-3" -SLOT="0/4" -IUSE="bluetooth +cxx ftdi hidapi java parport python serial static-libs test +udev usb" +SLOT="0/9999" +IUSE="bluetooth +cxx ftdi hidapi java nettle parport python serial static-libs test +udev usb" REQUIRED_USE="java? ( cxx ) python? ( cxx ${PYTHON_REQUIRED_USE} )" @@ -34,6 +34,7 @@ LIB_DEPEND=" cxx? ( dev-cpp/glibmm:2[static-libs(+)] ) ftdi? ( dev-embedded/libftdi:1[static-libs(+)] ) hidapi? ( >=dev-libs/hidapi-0.8.0 ) + nettle? ( dev-libs/nettle:=[static-libs(+)] ) parport? ( sys-libs/libieee1284[static-libs(+)] ) python? ( ${PYTHON_DEPS} @@ -64,15 +65,6 @@ DEPEND="${LIB_DEPEND//\[static-libs(+)]} S="${WORKDIR}"/${P} -PATCHES=( - # https://sigrok.org/bugzilla/show_bug.cgi?id=1527 - "${FILESDIR}/${P}-swig-4.patch" - # https://sigrok.org/bugzilla/show_bug.cgi?id=1526 - "${FILESDIR}/${P}-check-0.15.patch" - # https://bugs.gentoo.org/878395 - "${FILESDIR}/${PN}-0.5.2-swig-4.1.patch" -) - pkg_setup() { use python && python_setup java-pkg-opt-2_pkg_setup @@ -83,7 +75,7 @@ src_unpack() { } sigrok_src_prepare() { - eautoreconf + [[ ${PV} == *9999* ]] && eautoreconf } src_prepare() { @@ -97,6 +89,7 @@ sigrok_src_configure() { $(use_with bluetooth libbluez) \ $(use_with ftdi libftdi) \ $(use_with hidapi libhidapi) \ + $(use_with nettle libnettle) \ $(use_with parport libieee1284) \ $(use_with serial libserialport) \ $(use_with usb libusb) \ |