Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 504876

Summary: media-libs/libquvi media-libs/libquvi-scripts - add luajit support
Product: Gentoo Linux Reporter: Vadim A. Misbakh-Soloviov (mva) <mva>
Component: Current packagesAssignee: media-video herd <media-video>
Status: UNCONFIRMED ---    
Severity: normal CC: multilib
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on: 513344    
Bug Blocks:    

Description Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2014-03-17 11:32:54 UTC
HI there! Can you add LuaJIT support to libquvi:
> luajit? ( dev-lang/luajit:2 )
> !luajit? ( >=dev-lang/lua-5.1[deprecated] )
and to libquvi-scripts:
> luajit? ( dev-lang/luajit:2 )
> !luajit? ( >=dev-lua/LuaBitOp-1.0.1 )

Reproducible: Always
Comment 1 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2014-03-17 12:10:33 UTC
(means, also add "luajit" to IUSE)
Comment 2 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2014-06-12 16:31:20 UTC
btw, it also be nice to add that in src_configure (before mycmakeargs) too:

   local lua="lua"
   use luajit && lua="luajit"
   export CFLAGS="${CFLAGS} $($(tc-getPKG_CONFIG) --cflags ${lua})"
   export liblua_CFLAGS="$($(tc-getPKG_CONFIG) --cflags ${lua})"
   export liblua_LIBS="$($(tc-getPKG_CONFIG) --variable libdir ${lua})"
   export LDFLAGS="${LDFLAGS} $($(tc-getPKG_CONFIG) --libs ${lua})"

// assumes inherit toolchain-funcs
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-15 12:51:41 UTC
So upstream does not support luajit? I think the relevant changes should go upstream too.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-15 13:45:33 UTC
Since libquvi is multilib now, this will require multilib luajit... and multilib luajit require fixing #513344 first.
Comment 5 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2014-06-15 13:51:38 UTC
actually, it do support work with luajit, just it doesn't recognize it as Lua ;)

Talking about multilib LuaJIT — I can fix that (actually, I already did it for vcs-versions in Lua overlay), but I can't guarantee rmartins approve that...
Comment 6 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2016-10-15 09:01:56 UTC
#513344 is fixed now, if any.