Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656956 - media-video/obs-studio-21.0.2: automagic dep on dev-lang/luajit and dev-lang/python
Summary: media-video/obs-studio-21.0.2: automagic dep on dev-lang/luajit and dev-lang/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chiitoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-31 10:12 UTC by Hector Martin
Modified: 2018-07-13 09:36 UTC (History)
1 user (show)

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 Hector Martin 2018-05-31 10:12:50 UTC
# qfile /usr/lib64/libobs-scripting.so /usr/lib64/obs-scripting/obslua.so
media-video/obs-studio (/usr/lib64/libobs-scripting.so)
media-video/obs-studio (/usr/lib64/obs-scripting/obslua.so)

# readelf -d /usr/lib64/libobs-scripting.so | grep libluaj       
 0x0000000000000001 (NEEDED)             Shared library: [libluajit-5.1.so.2]
# readelf -d /usr/lib64/obs-scripting/obslua.so | grep libluaj
 0x0000000000000001 (NEEDED)             Shared library: [libluajit-5.1.so.2]

# qfile /usr/lib64/libluajit-5.1.so.2
dev-lang/luajit (/usr/lib64/libluajit-5.1.so.2)

This shows up during cmake configuration as:
-- Scripting: Luajit supported

Looks like Python is also an automagic dep:
-- Scripting: Python 3 supported

$ readelf -d /usr/lib64/obs-scripting/_obspython.so | grep python
 0x0000000000000001 (NEEDED)             Shared library: [libpython3.5m.so.1.0]
Comment 1 Chiitoo gentoo-dev 2018-05-31 18:45:51 UTC
Indeed.

I started work on this... more time ago than I want to remember.

See: https://github.com/gentoo/gentoo/pull/7496

I have not forgotten about it, but thanks for the reminder.  :]

I'll hopefully get back to it soon!
Comment 2 Larry the Git Cow gentoo-dev 2018-07-13 09:36:33 UTC
The bug has been closed via the following commit(s):

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

commit 56c84c9c9473e7651089b5d1fd0e64a542f71e69
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2018-03-17 22:29:00 +0000
Commit:     Tony Vroon <chainsaw@gentoo.org>
CommitDate: 2018-07-13 09:36:15 +0000

    media-video/obs-studio: add support for scripting
    
    Scripting support for Lua and Python 3 is enabled by automagic, if
    the required libraries are found.  This commit adds USE-flags and
    a patch that give the user control on whether or not to do so.
    
    Closes: https://bugs.gentoo.org/656956
    Package-Manager: Portage-2.3.41, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9151
    Closes: https://bugs.gentoo.org/656956

 .../obs-studio-21.1.2-use-less-automagic.patch     | 167 +++++++++++++++++++++
 media-video/obs-studio/metadata.xml                |   4 +-
 media-video/obs-studio/obs-studio-9999.ebuild      |  26 +++-
 3 files changed, 193 insertions(+), 4 deletions(-)

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

commit 56c84c9c9473e7651089b5d1fd0e64a542f71e69
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2018-03-17 22:29:00 +0000
Commit:     Tony Vroon <chainsaw@gentoo.org>
CommitDate: 2018-07-13 09:36:15 +0000

    media-video/obs-studio: add support for scripting
    
    Scripting support for Lua and Python 3 is enabled by automagic, if
    the required libraries are found.  This commit adds USE-flags and
    a patch that give the user control on whether or not to do so.
    
    Closes: https://bugs.gentoo.org/656956
    Package-Manager: Portage-2.3.41, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9151
    Closes: https://bugs.gentoo.org/656956

 .../obs-studio-21.1.2-use-less-automagic.patch     | 167 +++++++++++++++++++++
 media-video/obs-studio/metadata.xml                |   4 +-
 media-video/obs-studio/obs-studio-9999.ebuild      |  26 +++-
 3 files changed, 193 insertions(+), 4 deletions(-)