Mkvtoolnix bundles drake which supports -jN option (more jobs). Reproducible: Always
Created attachment 256001 [details] ebuild using drake and MAKEOPTS
(In reply to comment #1) > Created an attachment (id=256001) [details] > ebuild using drake and MAKEOPTS Please attach a patch next time so that the changes are obvious.
(In reply to comment #1) > Created an attachment (id=256001) [details] > ebuild using drake and MAKEOPTS Works like a charm! The current ebuild doesn't play nice with x11-libs/wxGTK-2.9.1 installed and refuses to compile because the option for WX_CONFIG is missing, resulting in just "--with-wx-config="
Created attachment 260531 [details, diff] Patch to use drake instead of rake and wxwidgets-2.8 Patched newer ebuild, fixed WX_CONFIG.
Created attachment 260532 [details] Ebuild using drake and MAKEOPTS, fixed WX_CONFIG
(In reply to comment #3) > (In reply to comment #1) > > Created an attachment (id=256001) [details] [details] > > ebuild using drake and MAKEOPTS > Works like a charm! The current ebuild doesn't play nice with > x11-libs/wxGTK-2.9.1 installed and refuses to compile because the option for > WX_CONFIG is missing, resulting in just "--with-wx-config=" > This thing should be a problem even in mkvtoolnix from portage. I have fixed it in my ebuild, but there should be new bug opened I think.
I think instead of using the version of drake bundled with mkvtoolnix we should add drake [1] to the tree. I may try to do that before bumping mkvtoolnix to 4.5.0. [1] http://rubyforge.org/projects/drake/
(In reply to comment #7) > I think instead of using the version of drake bundled with mkvtoolnix we should > add drake [1] to the tree. I may try to do that before bumping mkvtoolnix to > 4.5.0. > > [1] http://rubyforge.org/projects/drake/ > Well having drake in tree would be better. I just didn't want to write ebuild for something from scratch, especially when I know just one thing that would use it. As I can see now, the wxconf stuff haven't been fixed in tree yet, so hopefully this patch will go there also.
(In reply to comment #8) > Well having drake in tree would be better. I just didn't want to write ebuild > for something from scratch, especially when I know just one thing that would > use it. As I can see now, the wxconf stuff haven't been fixed in tree yet, so > hopefully this patch will go there also. I fixed the wxconf stuff for 4.4.0 and 4.5.0 in the tree yesterday.
(In reply to comment #9) > > I fixed the wxconf stuff for 4.4.0 and 4.5.0 in the tree yesterday. > I see, my mistake. I was just looking at the beginning for WX_GTK_VER, but as I can see now, you did it different way...
Note that dev-lang/ruby should be in the dependency list instead of dev-ruby/rake. ./drake is a ruby script so the ebuild will fail if ruby is not installed.
Since I got tired of extra long mkvtoolnix builds on multi-core systems, 5.8.0 in CVS now uses the bundled drake support for building.