2015-07-31 00:59:07 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# xdriver_xf86-video-fbturbo
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_VERSION = 0.4.0
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_SITE = $(call github,ssvb,xf86-video-fbturbo,$(XDRIVER_XF86_VIDEO_FBTURBO_VERSION))
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_LICENSE = MIT
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_LICENSE_FILES = COPYING
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES = \
|
|
|
|
xserver_xorg-server \
|
|
|
|
libdrm \
|
|
|
|
pixman \
|
|
|
|
xproto_fontsproto \
|
|
|
|
xproto_randrproto \
|
|
|
|
xproto_renderproto \
|
|
|
|
xproto_videoproto \
|
|
|
|
xproto_xproto \
|
|
|
|
xproto_xf86driproto
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPCIACCESS),y)
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES += libpciaccess
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_CONF_OPTS += --enable-pciaccess
|
|
|
|
else
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_CONF_OPTS += --disable-pciaccess
|
|
|
|
endif
|
|
|
|
|
2016-05-28 19:17:19 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBUMP),y)
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES += libump
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XPROTO_DRI2PROTO),y)
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES += xproto_dri2proto
|
|
|
|
endif
|
|
|
|
|
2015-07-31 00:59:07 +02:00
|
|
|
define XDRIVER_XF86_VIDEO_FBTURBO_INSTALL_CONF_FILE
|
2015-12-29 18:10:33 +01:00
|
|
|
$(INSTALL) -m 0644 -D $(@D)/xorg.conf $(TARGET_DIR)/etc/X11/xorg.conf
|
2015-07-31 00:59:07 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_POST_INSTALL_TARGET_HOOKS += XDRIVER_XF86_VIDEO_FBTURBO_INSTALL_CONF_FILE
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|