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 <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
2cc1d73ef5
commit
6971ddf0a8
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user