aboutsummaryrefslogtreecommitdiff
path: root/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-29 23:26:56 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-30 09:29:24 +0200
commit6971ddf0a882f85b330a363d69e668406e179cb4 (patch)
treea11a9b451aaee66e34e039dabff4d52d2680c9e7 /package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk
parent2cc1d73ef5ee8be1b24477ace16542a1d6106db0 (diff)
downloadbuildroot-6971ddf0a882f85b330a363d69e668406e179cb4.tar.gz
buildroot-6971ddf0a882f85b330a363d69e668406e179cb4.tar.bz2
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>
Diffstat (limited to 'package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk')
-rw-r--r--package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk6
1 files changed, 1 insertions, 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))