Closed stefan-langenmaier closed 7 years ago
I'm made 1st variant of reworked USE for ring-daemon https://github.com/YogSottot/ring-overlay/commit/b963a9bae9144204ea94853baae8f6e09a9b959e What is your opinion?
Also add some USE for libringclient. Delete one unneeded dep for opendht. (dev-libs/nettle - it is gnutls dep.)
opendht/rules.mak:DEPS_opendht += msgpack
opendht/rules.mak:DEPS_opendht += gnutls $(DEPS_gnutls)
gnutls/rules.mak:DEPS_gnutls = nettle $(DEPS_nettle) iconv $(DEPS_iconv)
nettle/rules.mak:DEPS_nettle = gmp $(DEPS_gmp)
Also, i'm have a question:
sed -i.bak 's/LIBS = \(.*\)$/LIBS = \1 -lopus /g' bin/Makefile
Is this sed string really need? Without this string "lopus" is added in "opus_LIBS". Whats wrong with it?
--with-opus
Makefile
opus_CFLAGS = -I/usr/include/opus
opus_LIBS = -lopus
Also >=media-video/ffmpeg-.1.3[v4l] - is this really need?
# Linux
ifdef HAVE_LINUX
FFMPEGCONF += --target-os=linux --enable-pic
ifndef HAVE_ANDROID
FFMPEGCONF += --enable-indev=v4l2 --enable-indev=x11grab_xcb --enable-indev=x11grab --enable-x11grab
else
# used to avoid Text Relocations
FFMPEGCONF += --extra-cxxflags=-fPIC --extra-cflags=-fPIC
FFMPEGCONF += --disable-asm
endif
endif
Also, what is your opinion about this?
Add more use flags for ring-daemon configure options.