Handbrake 1.0.3 has new profile with opus audio encoding Requires opus flag for FFmpeg Reproducible: Always
Experienced the same issue: build of handbrake 1.0.3 fails when not being able to link to opus, with output: libtool: link: g++ -march=native -O2 -D_HAVE_GUDEV -Wl,--export-dynamic -Wl,--exclude-libs -Wl,ALL -Wl,-S -g0 -O3 -Wl,-O1 -o ghb callbacks.o queuehandler.o videohandler.o audiohandler.o subtitlehandler.o x264handler.o main.o settings.o resources.o presets.o preview.o data_res.o ui_res.o icon_res.o icons.o values.o appcast.o plist.o hb-backend.o renderer_button.o ghbcellrenderertext.o ghb-dvd.o marshalers.o -pthread -Wl,--export-dynamic -pthread -Wl,--as-needed -L/var/tmp/portage/media-video/handbrake-1.0.3/work/HandBrake-1.0.3/build//libhb -L/var/tmp/portage/media-video/handbrake-1.0.3/work/HandBrake-1.0.3/build//contrib/lib -lhandbrake -lavresample -lavformat -lavcodec -lavfilter -lavutil -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lsamplerate -lx264 -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 /usr/lib64/libjansson.so -lopus -ldl -lpthread -lfdk-aac -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgthread-2.0 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -ldbus-glib-1 -ldbus-1 -lgmodule-2.0 -lgudev-1.0 -lgobject-2.0 -lglib-2.0 -pthread /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lopus Build completes properly when I manually install media-libs/opus.
Thanks for the report!
Fixed in the tree. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccbcab29b8332aad09bda93e219df73f1f129d79