From 6971ddf0a882f85b330a363d69e668406e179cb4 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 29 Jul 2015 23:26:56 +0200 Subject: [PATCH] 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 --- .../kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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)) -- 2.30.2