Skip to content

Commit

Permalink
kde-apps/kopete: Fix DEPEND, silence cmake warnings
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
a17r committed Mar 28, 2017
1 parent 627d0ec commit 84ca2b7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions kde-apps/kopete/kopete-16.12.3-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ COMMONDEPEND="
dev-libs/expat
dev-libs/openssl:0
>=media-libs/mediastreamer-2.3.0
media-libs/speex
net-libs/libsrtp:=
net-libs/ortp:=
)
Expand All @@ -107,6 +106,7 @@ COMMONDEPEND="
yahoo? ( media-libs/jasper )
"
RDEPEND="${COMMONDEPEND}
jingle? ( media-libs/speex )
latex? (
virtual/imagemagick-tools
virtual/latex-base
Expand All @@ -123,17 +123,16 @@ src_configure() {
local x x2
# Handle common stuff
local mycmakeargs=(
-DWITH_GOOGLETALK=$(usex jingle)
-DWITH_LiboRTP=$(usex jingle)
-DWITH_Mediastreamer=$(usex jingle)
-DWITH_Speex=$(usex jingle)
-DDISABLE_VIDEOSUPPORT=$(usex !v4l)
)
# enable protocols
for x in ${PROTOCOLS}; do
case ${x/+/} in
zeroconf) x2=bonjour ;;
jingle) x2=libjingle ;;
xmpp) x2=jabber ;;
zeroconf) x2=bonjour ;;
*) x2=${x/+/} ;;
esac
mycmakeargs+=( -DWITH_${x2}=$(usex ${x/+/}) )
Expand Down

0 comments on commit 84ca2b7

Please sign in to comment.