Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644114 - media-video/x264-encoder-9999: drop 10bit USE flag
Summary: media-video/x264-encoder-9999: drop 10bit USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-10 10:48 UTC by Manuel Lauss
Modified: 2019-01-17 02:47 UTC (History)
1 user (show)

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


Attachments
patch to remove 10bit USE-flag from media-video/x264-encoder-9999.ebuild (x264-encoder-drop-10bit-flag.patch,881 bytes, patch)
2018-01-10 10:48 UTC, Manuel Lauss
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Lauss 2018-01-10 10:48:21 UTC
Created attachment 514076 [details, diff]
patch to remove 10bit USE-flag from media-video/x264-encoder-9999.ebuild

media-libs/x264-9999 dropped the "10bit" USE flag, now drop it from
media-video/x264-encoder-9999 as well since it depends on it.

--- x264-encoder-9999.ebuild~   2017-07-29 12:05:37.000000000 +0200                                                                                                                                                 
+++ x264-encoder-9999.ebuild    2018-01-10 11:44:16.401751439 +0100                                                                                                                                                 
@@ -21,12 +21,12 @@ fi                                                                                                                                                                                              
                                                                                                                                                                                                                    
 LICENSE="GPL-2"                                                                                                                                                                                                    
 SLOT="0"                                                                                                                                                                                                           
-IUSE="10bit avs custom-cflags ffmpeg ffmpegsource +interlaced mp4 +threads"                                                                                                                                        
+IUSE="avs custom-cflags ffmpeg ffmpegsource +interlaced mp4 +threads"                                                                                                                                              
                                                                                                                                                                                                                    
 REQUIRED_USE="ffmpegsource? ( ffmpeg )"                                                                                                                                                                            
                                                                                                                                                                                                                    
 RDEPEND="ffmpeg? ( virtual/ffmpeg )                                                                                                                                                                                
-       ~media-libs/x264-${PV}[10bit=,interlaced=,threads=]                                                                                                                                                         
+       ~media-libs/x264-${PV}[interlaced=,threads=]                                                                                                                                                                
        ffmpegsource? ( media-libs/ffmpegsource )                                                                                                                                                                   
        mp4? ( >=media-video/gpac-0.5.2:= )"                                                                                                                                                                        
                                                                                                                                                                                                                    
@@ -53,7 +53,6 @@ src_configure() {                                                                                                                                                                                 
                --system-libx264 \                                                                                                                                                                                  
                --host="${CHOST}" \                                                                                                                                                                                 
                --disable-lsmash \                                                                                                                                                                                  
-               $(usex 10bit "--bit-depth=10" "") \                                                                                                                                                                 
                $(usex avs "" "--disable-avs") \                                                                                                                                                                    
                $(usex ffmpeg "" "--disable-lavf --disable-swscale") \
                $(usex ffmpegsource "" "--disable-ffms") \
Comment 1 Wojciech Myrda 2018-01-13 08:28:00 UTC
What is the reason behind this request? I do 10bit encodes and find this flag useful.
Comment 2 Alexis Ballier gentoo-dev 2018-01-13 10:35:23 UTC
(In reply to Wojciech Myrda from comment #1)
> What is the reason behind this request? I do 10bit encodes and find this
> flag useful.

(In reply to Manuel Lauss from comment #0)
> media-libs/x264-9999 dropped the "10bit" USE flag, now drop it from
> media-video/x264-encoder-9999 as well since it depends on it.

that is the reason; upstream merged 8+10 bit in a single lib which is good and makes 10bit encodes much less of a pain
Comment 3 Manuel Lauss 2018-01-20 07:56:16 UTC
I want this fixed because it solves this annoyance when emerging world:

emerge: there are no ebuilds built with USE flags to satisfy "~media-libs/x264-9999[10bit=,interlaced=,threads=]".
!!! One of the following packages is required to complete your request:
- media-libs/x264-9999::gentoo (Missing IUSE: 10bit)
(dependency required by "media-video/x264-encoder-9999::gentoo" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
Comment 4 Larry the Git Cow gentoo-dev 2019-01-17 02:47:34 UTC
The bug has been closed via the following commit(s):

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

commit a8928d86d6e8ce4e4b81e4dcd04760525aba7381
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-01-17 02:37:52 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-01-17 02:47:22 +0000

    media-video/x264-encoder: Drop USE 10bit
    
    Closes: https://bugs.gentoo.org/644114
    Package-Manager: Portage-2.3.56, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/x264-encoder/x264-encoder-9999.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)