Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890332 - media-libs/avidemux-plugins-2.8[nvenc] requires media-libs/avidemux-core-2.8[nvenc]
Summary: media-libs/avidemux-plugins-2.8[nvenc] requires media-libs/avidemux-core-2.8[...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-10 08:46 UTC by Maxim Britov
Modified: 2023-01-10 09:00 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 Maxim Britov 2023-01-10 08:46:16 UTC
For nvenc avidemux uses ffNvEnc

IF(USE_NVENC)
  ADD_SUBDIRECTORY(ffNvEnc)

but avidemux uses internal ffmpeg and it builds in media-libs/avidemux-core package.

Then avidemux-plugins[nvenc] requires media-libs/avidemux-core[nvenc] and then requires rebuild avidemux-plugins. Then in works.


--- avidemux-core-2.8.1.ebuild
@@ -14,7 +14,7 @@
 LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
 SLOT="2.7"
 KEYWORDS="~amd64 ~x86"
-IUSE="debug nls sdl system-ffmpeg vaapi vdpau xv"
+IUSE="debug nls nvenc sdl system-ffmpeg vaapi vdpau xv"
 
 # Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed?
 DEPEND="
@@ -82,6 +82,7 @@
                -DLIBVA="$(usex vaapi)"
                -DVDPAU="$(usex vdpau)"
                -DXVIDEO="$(usex xv)"
+               -DNVENC="$(usex nvenc)"
        )
 
        use debug && mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-10 08:54:37 UTC
Thanks!
Comment 2 Larry the Git Cow gentoo-dev 2023-01-10 09:00:08 UTC
The bug has been closed via the following commit(s):

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

commit bcdef46f12abd95afb297cdf9485de862d555e30
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-10 08:56:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-10 09:00:00 +0000

    media-libs/avidemux-core: add nvenc support
    
    Closes: https://bugs.gentoo.org/890332
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{avidemux-core-2.8.1.ebuild => avidemux-core-2.8.1-r1.ebuild}     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit 64382455ec7d36aead24442b7b1e7dca8e19dce3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-10 08:57:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-10 09:00:00 +0000

    media-libs/avidemux-plugins: depend on nvenc? in avidemux-core
    
    Bug: https://bugs.gentoo.org/890332
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{avidemux-plugins-2.8.1.ebuild => avidemux-plugins-2.8.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)