Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578328 - sci-libs/libsigrok-9999: add USE=ruby support
Summary: sci-libs/libsigrok-9999: add USE=ruby support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-26 20:23 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2019-04-12 17:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2016-03-26 20:23:22 UTC
--- a/sci-libs/libsigrok/libsigrok-9999.ebuild
+++ b/sci-libs/libsigrok/libsigrok-9999.ebuild
@@ -21,8 +21,8 @@ HOMEPAGE="http://sigrok.org/wiki/Libsigrok"
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="cxx ftdi java parport python serial static-libs test usb"
-REQUIRED_USE="java? ( cxx ) python? ( cxx ${PYTHON_REQUIRED_USE} )"
+IUSE="cxx ftdi java parport python ruby serial static-libs test usb"
+REQUIRED_USE="java? ( cxx ) python? ( cxx ${PYTHON_REQUIRED_USE} ) ruby? ( cxx )"
 
 # We also support librevisa, but that isn't in the tree ...
 LIB_DEPEND=">=dev-libs/glib-2.32.0[static-libs(+)]
@@ -66,6 +66,7 @@ src_configure() {
                $(use_enable cxx) \
                $(use_enable java) \
                $(use_enable python) \
+               $(use_enable ruby) \
                $(use_enable static-libs static)
 }
Comment 1 SpanKY gentoo-dev 2016-03-29 15:56:51 UTC
that patch is missing an inherit of a ruby eclass and any RDEPEND/DEPEND settings
Comment 2 Sergey 'L29Ah' Alirzaev 2016-03-29 16:00:40 UTC
Well(In reply to SpanKY from comment #1)
> that patch is missing an inherit of a ruby eclass and any RDEPEND/DEPEND
> settings

Well, it's still better than no patch, as the ruby bindings are enabled by default in the current ebuild if c++ bindings are USE-enabled, and i at least get the -ruby case correctly :]
Comment 3 Larry the Git Cow gentoo-dev 2019-04-12 17:30:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f116ea372762cb0dd20879f479272678ef39f731

commit f116ea372762cb0dd20879f479272678ef39f731
Author:     Sven Wegener <swegener@gentoo.org>
AuthorDate: 2019-04-12 17:27:39 +0000
Commit:     Sven Wegener <swegener@gentoo.org>
CommitDate: 2019-04-12 17:30:26 +0000

    sci-libs/libsigrok: Build for multiple python and ruby versions
    
    Closes: https://bugs.gentoo.org/578328
    Signed-off-by: Sven Wegener <swegener@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 sci-libs/libsigrok/libsigrok-9999.ebuild | 81 ++++++++++++++++++++++++++++----
 1 file changed, 71 insertions(+), 10 deletions(-)