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

Bug 558526

Summary: media-libs/mlt-0.9.8: Errors in pkg_setup, incorrect REQUIRED_USE for python
Product: Gentoo Linux Reporter: Jonathan Callen (RETIRED) <jcallen>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nikoli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonathan Callen (RETIRED) gentoo-dev 2015-08-24 00:58:42 UTC
Because media-libs/mlt-0.9.8 only optionally uses python, it should have the following:

REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

pkg_setup() {
    use python && python-single-r1_pkg_setup
}

Otherwise, the package will have errors on what should be correct sets of USE flags.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2016-01-01 15:27:58 UTC
Thanks, this is fixed in git by Andreas.

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