From: Thomas Petazzoni Date: Wed, 29 Jul 2015 21:26:56 +0000 (+0200) Subject: kodi-audioencoder-vorbis: use pkg-config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6971ddf0a882f85b330a363d69e668406e179cb4;p=buildroot.git kodi-audioencoder-vorbis: use pkg-config Instead of passing multiple CMake variable, simply depend on pkg-config: it is used by the FindVorbis and FindOgg modules in priority over the hand-defined variables. Signed-off-by: Thomas Petazzoni --- diff --git a/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk b/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk index a7e99d1672..e895ae3a9a 100644 --- a/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk +++ b/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk @@ -8,10 +8,6 @@ KODI_AUDIOENCODER_VORBIS_VERSION = 15d619dae4411ecebadf2ec2996d611600ad0bee KODI_AUDIOENCODER_VORBIS_SITE = $(call github,xbmc,audioencoder.vorbis,$(KODI_AUDIOENCODER_VORBIS_VERSION)) KODI_AUDIOENCODER_VORBIS_LICENSE = GPLv2+ KODI_AUDIOENCODER_VORBIS_LICENSE_FILES = src/EncoderVorbis.cpp -KODI_AUDIOENCODER_VORBIS_DEPENDENCIES = kodi libogg libvorbis -KODI_AUDIOENCODER_VORBIS_CONF_OPTS += \ - -DOGG_INCLUDE_DIRS=$(STAGING_DIR)/usr/include \ - -DVORBIS_INCLUDE_DIRS=$(STAGING_DIR)/usr/include \ - -DVORBISENC_INCLUDE_DIRS=$(STAGING_DIR)/usr/include +KODI_AUDIOENCODER_VORBIS_DEPENDENCIES = kodi libogg libvorbis host-pkgconf $(eval $(cmake-package))