From 1cf39cac66d984372a693ea8cfe2bdee80561776 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 29 Jul 2015 23:30:35 +0200 Subject: [PATCH] kodi-audioencoder-flac: use pkg-config Instead of passing multiple CMake variable, simply depend on pkg-config: it is used by the FindFLAC and FindOgg modules in priority over the hand-defined variables. Signed-off-by: Thomas Petazzoni --- package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk b/package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk index f83050b31e..f386954c01 100644 --- a/package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk +++ b/package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk @@ -8,9 +8,6 @@ KODI_AUDIOENCODER_FLAC_VERSION = a5e2d1262de3b2de567cf0a8207636ebaacb8775 KODI_AUDIOENCODER_FLAC_SITE = $(call github,xbmc,audioencoder.flac,$(KODI_AUDIOENCODER_FLAC_VERSION)) KODI_AUDIOENCODER_FLAC_LICENSE = GPLv2+ KODI_AUDIOENCODER_FLAC_LICENSE_FILES = src/EncoderFlac.cpp -KODI_AUDIOENCODER_FLAC_DEPENDENCIES = flac kodi libogg -KODI_AUDIOENCODER_FLAC_CONF_OPTS += \ - -DFLAC_INCLUDE_DIRS=$(STAGING_DIR)/usr/include \ - -DOGG_INCLUDE_DIRS=$(STAGING_DIR)/usr/include +KODI_AUDIOENCODER_FLAC_DEPENDENCIES = flac kodi libogg host-pkgconf $(eval $(cmake-package)) -- 2.30.2