summaryrefslogtreecommitdiff
path: root/sci-libs/libsigrok
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libsigrok')
-rw-r--r--sci-libs/libsigrok/Manifest4
-rw-r--r--sci-libs/libsigrok/libsigrok-0.5.2-r3.ebuild154
-rw-r--r--sci-libs/libsigrok/libsigrok-0.5.2-r4.ebuild156
-rw-r--r--sci-libs/libsigrok/libsigrok-0.5.2-r5.ebuild2
4 files changed, 2 insertions, 314 deletions
diff --git a/sci-libs/libsigrok/Manifest b/sci-libs/libsigrok/Manifest
index 2c8d121e0136..6a6c6871d3b3 100644
--- a/sci-libs/libsigrok/Manifest
+++ b/sci-libs/libsigrok/Manifest
@@ -3,8 +3,6 @@ AUX libsigrok-0.5.2-py313.patch 1897 BLAKE2B b4221654e1a056e9e2bcf04b79685f23120
AUX libsigrok-0.5.2-swig-4.1.patch 377 BLAKE2B f795f46bce213e9444ea3d8b362a4d82d3e34676a9aae49f45764679effa388afcc15bc04e14fdc89cb25fbd700ca3bf80234b291c3607b0454ecf997d20997d SHA512 0334cbb95fbba961d9f16b18978dd15dbf68b80b897af54d25660dd0bcb049d21ea681f39bae3884c4869ecce4efd2601bce7825fbd41160ddddbe92ad678740
AUX libsigrok-0.5.2-swig-4.patch 1484 BLAKE2B 94c9bbde14f3175252677dedd50a7f3ff17bcc734382d93fbe3c65c71989dc72d0568535343bcb7764053075a2bac9c9f2d4e480d582a5371ac0d4a12bcab4a2 SHA512 34e568351624aeada4c3894be8a60cc0111be7c20ebe8e5395a1f81b2fc453a6a8228f575b95faad5140162a9d4fc5fc570546f42673f7275cb3910c73ffc8de
DIST libsigrok-0.5.2.tar.gz 1779465 BLAKE2B fc6fdde1054e9ac50bc42249c34b3dbfff1e89d77f0db5a8762e52fcf2ea5ea69b2defcf1cde4ed7b1edd1e21770002ed661a470c8d666904daa48a84a2bbfc5 SHA512 cf673dad6280302d69050c29490621f66c6d6a73932d019a53ec3501316d3f2e23e7667a04f866dbe6ed73f86a63de73d2173e2b6cea563631d705e06f887092
-EBUILD libsigrok-0.5.2-r3.ebuild 3400 BLAKE2B a9da2492c2a4ba0a39f61f00b372d225571de52be6d5cd7106be6bcce11ed07653118986767454409d4c5a2cf6eb09d83d7d11dfbb029ffa03510ea538684d58 SHA512 e7c37b9cfb92cdd3d06daa95304edd00cee9153acac135065d6fc99bf7f10be3232aa221a2391785c7e6af4a354c9667c4ccc3020ecf5fa536a23a0090ce404f
-EBUILD libsigrok-0.5.2-r4.ebuild 3476 BLAKE2B a6dae62ddd641e772e831c3cf54356c081ea47afb834916f0c3fe10a576885c7fd8876663fcbce82005e306c4970e9f714389545f12d512c80b997b436f81797 SHA512 ecf01edaab3add793eb4f84bc3dac223dd85e5b182350535d088e6e32395a1c62f9b93dd650557064cc489d847eb96742deb2398f54bd0ce8dcef02b90798cbd
-EBUILD libsigrok-0.5.2-r5.ebuild 3510 BLAKE2B 36f4e13576b4a3f92f7b2dbd5be8fcea98002b519274a17a829c8cdb1faa3bdc3f52a101f438431150ca3e421dea688e4213df35ef385a30b8b73d36c9b1090a SHA512 b736cc0b942209b0c19f339a367304d2bc1d240798d4b3f0d90e23d882cdc0deb5c5de53a39bd46564c0a3d9ee526b669791f6dc6709c19d90d8c98cafa341a3
+EBUILD libsigrok-0.5.2-r5.ebuild 3509 BLAKE2B ed3a3abdca28db5b1f4e6c0da4994e6273d4d6d9a0401d7a9c018b4fdeeb7077f228d2a9ea46bf8b0aef6dc4c1d8b41090c8b2f059f0f8261bd7bdf168fc2c22 SHA512 c0484adf935f8087ad62b24000e01902a0c49892a3f6deeceed92da73582603e2c1b59127fed85807d7b650e104a58957eb95e500601c10dae3b19bcfe015a37
EBUILD libsigrok-9999.ebuild 3329 BLAKE2B 4f3a222ed15a2a2b057b7fa65114b2a44bc3741e3d7e9b01d44d517421954a972be2b0eb9790913124d7a53d3fba7595e5d599f3114484a02ceb0a2b08c0d137 SHA512 e10bab831369b9fbf2ad20366fc59eec2dacb77787ec2cbe3d4b249de4a0dae3004a18f1597d19d97d7ba914996c1c2f8aa5c880953844b5db070200a86703da
MISC metadata.xml 886 BLAKE2B cb7cece1f79a4affb612e55f147eb93895a805e43aed6bbabfed2e3b925b0714d64651c00294da2742f8c09ce9984a58888b89025d73712400c8bd026296b2cb SHA512 79c9697b3fe6954108cb60ae79c06cee280ef6d73bcd9e35ab148750a4fa55c8e5118c21cdb4e3ae009d4c160a26c98132448476ef90ac6d7a19a79138c3b2f6
diff --git a/sci-libs/libsigrok/libsigrok-0.5.2-r3.ebuild b/sci-libs/libsigrok/libsigrok-0.5.2-r3.ebuild
deleted file mode 100644
index 42e7e0714558..000000000000
--- a/sci-libs/libsigrok/libsigrok-0.5.2-r3.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit autotools python-r1 java-pkg-opt-2 udev xdg-utils
-
-if [[ ${PV} == *9999* ]]; then
- EGIT_REPO_URI="git://sigrok.org/${PN}"
- inherit git-r3
-else
- SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~x86"
-fi
-
-DESCRIPTION="Basic hardware drivers for logic analyzers and input/output file format support"
-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"
-REQUIRED_USE="java? ( cxx )
- python? ( cxx ${PYTHON_REQUIRED_USE} )"
-
-RESTRICT="!test? ( test )"
-
-# We also support librevisa, but that isn't in the tree ...
-LIB_DEPEND="
- >=dev-libs/glib-2.32.0[static-libs(+)]
- >=dev-libs/libzip-0.8:=[static-libs(+)]
- bluetooth? ( >=net-wireless/bluez-4.0:= )
- cxx? ( dev-cpp/glibmm:2[static-libs(+)] )
- ftdi? ( dev-embedded/libftdi:1[static-libs(+)] )
- hidapi? ( >=dev-libs/hidapi-0.8.0 )
- parport? ( sys-libs/libieee1284[static-libs(+)] )
- python? (
- ${PYTHON_DEPS}
- >=dev-python/pygobject-3.0.0[${PYTHON_USEDEP}]
- )
- serial? ( >=dev-libs/libserialport-0.1.1[static-libs(+)] )
- usb? ( virtual/libusb:1[static-libs(+)] )
-"
-RDEPEND="
- java? ( >=virtual/jre-1.8:* )
- !static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )
- static-libs? ( ${LIB_DEPEND} )
-"
-DEPEND="${LIB_DEPEND//\[static-libs(+)]}
- cxx? ( app-text/doxygen )
- java? (
- >=dev-lang/swig-3.0.6
- >=virtual/jdk-1.8:*
- )
- python? (
- >=dev-lang/swig-3.0.6
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- )
- test? ( >=dev-libs/check-0.9.4 )
- virtual/pkgconfig
-"
-
-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"
-)
-
-pkg_setup() {
- use python && python_setup
- java-pkg-opt-2_pkg_setup
-}
-
-src_unpack() {
- [[ ${PV} == *9999* ]] && git-r3_src_unpack || default
-}
-
-sigrok_src_prepare() {
- eautoreconf
-}
-
-src_prepare() {
- default
- sigrok_src_prepare
- use python && python_copy_sources
-}
-
-sigrok_src_configure() {
- econf \
- $(use_with bluetooth libbluez) \
- $(use_with ftdi libftdi) \
- $(use_with hidapi libhidapi) \
- $(use_with parport libieee1284) \
- $(use_with serial libserialport) \
- $(use_with usb libusb) \
- $(use_enable cxx) \
- $(use_enable java) \
- $(use_enable static-libs static) \
- "${@}"
-}
-
-each_python_configure() {
- cd "${BUILD_DIR}"
- sigrok_src_configure --disable-ruby --enable-python
-}
-
-src_configure() {
- sigrok_src_configure --disable-ruby --disable-python
- use python && python_foreach_impl each_python_configure
-}
-
-each_python_compile() {
- cd "${BUILD_DIR}"
- emake python-build
-}
-
-src_compile() {
- default
- use python && python_foreach_impl each_python_compile
-}
-
-src_test() {
- emake check
-}
-
-each_python_install() {
- cd "${BUILD_DIR}"
- emake python-install DESTDIR="${D}"
- python_optimize
-}
-
-src_install() {
- default
- use python && python_foreach_impl each_python_install
- use udev && udev_dorules contrib/*.rules
- find "${D}" -name '*.la' -type f -delete || die
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
- xdg_mimeinfo_database_update
- udev_reload
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
- xdg_mimeinfo_database_update
- udev_reload
-}
diff --git a/sci-libs/libsigrok/libsigrok-0.5.2-r4.ebuild b/sci-libs/libsigrok/libsigrok-0.5.2-r4.ebuild
deleted file mode 100644
index b1536e1afd6e..000000000000
--- a/sci-libs/libsigrok/libsigrok-0.5.2-r4.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit autotools python-r1 java-pkg-opt-2 udev xdg-utils
-
-if [[ ${PV} == *9999* ]]; then
- EGIT_REPO_URI="git://sigrok.org/${PN}"
- inherit git-r3
-else
- SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~x86"
-fi
-
-DESCRIPTION="Basic hardware drivers for logic analyzers and input/output file format support"
-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"
-REQUIRED_USE="java? ( cxx )
- python? ( cxx ${PYTHON_REQUIRED_USE} )"
-
-RESTRICT="!test? ( test )"
-
-# We also support librevisa, but that isn't in the tree ...
-LIB_DEPEND="
- >=dev-libs/glib-2.32.0[static-libs(+)]
- >=dev-libs/libzip-0.8:=[static-libs(+)]
- bluetooth? ( >=net-wireless/bluez-4.0:= )
- cxx? ( dev-cpp/glibmm:2[static-libs(+)] )
- ftdi? ( dev-embedded/libftdi:1[static-libs(+)] )
- hidapi? ( >=dev-libs/hidapi-0.8.0 )
- parport? ( sys-libs/libieee1284[static-libs(+)] )
- python? (
- ${PYTHON_DEPS}
- >=dev-python/pygobject-3.0.0[${PYTHON_USEDEP}]
- )
- serial? ( >=dev-libs/libserialport-0.1.1[static-libs(+)] )
- usb? ( virtual/libusb:1[static-libs(+)] )
-"
-RDEPEND="
- java? ( >=virtual/jre-1.8:* )
- !static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )
- static-libs? ( ${LIB_DEPEND} )
-"
-DEPEND="${LIB_DEPEND//\[static-libs(+)]}
- cxx? ( app-text/doxygen )
- java? (
- >=dev-lang/swig-3.0.6
- >=virtual/jdk-1.8:*
- )
- python? (
- >=dev-lang/swig-3.0.6
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- )
- test? ( >=dev-libs/check-0.9.4 )
- virtual/pkgconfig
-"
-
-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
-}
-
-src_unpack() {
- [[ ${PV} == *9999* ]] && git-r3_src_unpack || default
-}
-
-sigrok_src_prepare() {
- eautoreconf
-}
-
-src_prepare() {
- default
- sigrok_src_prepare
- use python && python_copy_sources
-}
-
-sigrok_src_configure() {
- econf \
- $(use_with bluetooth libbluez) \
- $(use_with ftdi libftdi) \
- $(use_with hidapi libhidapi) \
- $(use_with parport libieee1284) \
- $(use_with serial libserialport) \
- $(use_with usb libusb) \
- $(use_enable cxx) \
- $(use_enable java) \
- $(use_enable static-libs static) \
- "${@}"
-}
-
-each_python_configure() {
- cd "${BUILD_DIR}"
- sigrok_src_configure --disable-ruby --enable-python
-}
-
-src_configure() {
- sigrok_src_configure --disable-ruby --disable-python
- use python && python_foreach_impl each_python_configure
-}
-
-each_python_compile() {
- cd "${BUILD_DIR}"
- emake python-build
-}
-
-src_compile() {
- default
- use python && python_foreach_impl each_python_compile
-}
-
-src_test() {
- emake check
-}
-
-each_python_install() {
- cd "${BUILD_DIR}"
- emake python-install DESTDIR="${D}"
- python_optimize
-}
-
-src_install() {
- default
- use python && python_foreach_impl each_python_install
- use udev && udev_dorules contrib/*.rules
- find "${D}" -name '*.la' -type f -delete || die
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
- xdg_mimeinfo_database_update
- udev_reload
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
- xdg_mimeinfo_database_update
- udev_reload
-}
diff --git a/sci-libs/libsigrok/libsigrok-0.5.2-r5.ebuild b/sci-libs/libsigrok/libsigrok-0.5.2-r5.ebuild
index ea6a56fc8bb3..61b96e87fe2a 100644
--- a/sci-libs/libsigrok/libsigrok-0.5.2-r5.ebuild
+++ b/sci-libs/libsigrok/libsigrok-0.5.2-r5.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
else
SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~x86"
fi
DESCRIPTION="Basic hardware drivers for logic analyzers and input/output file format support"