From: Thomas Petazzoni Date: Wed, 29 Jul 2015 21:30:35 +0000 (+0200) Subject: kodi-audioencoder-flac: use pkg-config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cf39cac66d984372a693ea8cfe2bdee80561776;p=buildroot.git 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 --- 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))