2009-12-12 03:13:40 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libdvdnav
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
|
|
|
LIBDVDNAV_VERSION = 4.1.3
|
|
|
|
LIBDVDNAV_SOURCE = libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2
|
2012-05-01 05:30:20 +02:00
|
|
|
LIBDVDNAV_SITE = http://dvdnav.mplayerhq.hu/releases
|
2009-12-12 03:13:40 +01:00
|
|
|
LIBDVDNAV_AUTORECONF = YES
|
|
|
|
LIBDVDNAV_INSTALL_STAGING = YES
|
|
|
|
|
2012-10-22 17:47:52 +02:00
|
|
|
LIBDVDNAV_DEPENDENCIES = libdvdread host-pkgconf
|
2009-12-12 03:13:40 +01:00
|
|
|
|
|
|
|
# By default libdvdnav tries to find dvdread-config in $PATH. Because
|
|
|
|
# of cross compilation, we prefer using pkg-config.
|
|
|
|
LIBDVDNAV_CONF_OPT = --with-dvdread-config="$(PKG_CONFIG_HOST_BINARY) dvdread"
|
|
|
|
|
2012-09-26 11:33:51 +02:00
|
|
|
define LIBDVDNAV_TARGET_CLEANUP
|
|
|
|
$(RM) -f $(TARGET_DIR)/usr/bin/dvdnav-config
|
|
|
|
endef
|
|
|
|
|
|
|
|
ifneq ($(BR2_HAVE_DEVFILES),y)
|
|
|
|
LIBDVDNAV_POST_INSTALL_TARGET_HOOKS += LIBDVDNAV_TARGET_CLEANUP
|
|
|
|
endif
|
|
|
|
|
|
|
|
define LIBDVDNAV_STAGING_FIXUP_DVDNAV_CONFIG
|
|
|
|
$(SED) "s,prefix=/usr,prefix=$(STAGING_DIR)/usr," $(STAGING_DIR)/usr/bin/dvdnav-config
|
|
|
|
endef
|
|
|
|
|
|
|
|
LIBDVDNAV_POST_INSTALL_STAGING_HOOKS += LIBDVDNAV_STAGING_FIXUP_DVDNAV_CONFIG
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|