_DEPEND+=+xorg-server-X11R7.2
include ../../common.mk
-define Build/Compile
- make -C $(PKG_BUILD_DIR)
-endef
-
EXTRA_CFLAGS+= -I${STAGING_DIR}/usr/include/xorg -I${STAGING_DIR}/usr/include/X11/
+CONFIGURE_VARS+=DRI_CFLAGS="-I$(STAGING_DIR)/usr/include/X11/dri/"
+
+acvar=$(subst -,_,$(subst .,_,$(subst /,_,$(1))))
+
+CONFIGURE_VARS += $(foreach a,dri.h sarea.h dristruct.h exa.h,ac_cv_file_$(call acvar,$(STAGING_DIR)/usr/include/xorg/$(a))=yes) \
+ ac_cv_file__usr_share_sgml_X11_defs_ent=yes
+
define Build/Configure
(cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
if [ -x $(CONFIGURE_CMD) ]; then \
$(CONFIGURE_VARS) \
$(CONFIGURE_CMD) \
$(CONFIGURE_ARGS_XTRA) \
- $(CONFIGURE_ARGS) \
- as_ac_File=no \
- --enable-malloc0returnsnull; \
+ $(CONFIGURE_ARGS) ;\
fi \
)
endef
-define Package/${PKG_NAME}/install
+define Build/Compile
+ make -C $(PKG_BUILD_DIR)
DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) install
+ find $(PKG_INSTALL_DIR) -name *a | xargs rm -rf
+endef
+
+define Package/${PKG_NAME}/install
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
- find $(1)/usr/lib/ -name *a | xargs rm -rf
endef
xf86-video-fbdev-X11R7.2-0.3.1|
xf86-video-vesa-X11R7.2-1.3.0|
xf86-video-vga-X11R7.1-4.1.0|
+xf86-video-i810-X11R7.2-1.6.5|+libXvMC-X11R7.2
+xf86-video-nv-X11R7.2-1.2.2.1|
+xf86-video-ati-X11R7.2-6.6.3|
--- /dev/null
+diff -urN xf86-video-i810-X11R7.2-1.6.5.orig/configure.ac xf86-video-i810-X11R7.2-1.6.5/configure.ac
+--- xf86-video-i810-X11R7.2-1.6.5.orig/configure.ac 2007-09-21 03:54:25.000000000 +0200
++++ xf86-video-i810-X11R7.2-1.6.5/configure.ac 2007-09-21 03:55:08.000000000 +0200
+@@ -72,7 +72,8 @@
+
+ # Checks for pkg-config packages
+ PKG_CHECK_MODULES(XORG, [xorg-server xproto xvmc fontsproto $REQUIRED_MODULES])
+-sdkdir=$(pkg-config --variable=sdkdir xorg-server)
++sdkdir=${SDKDIR}
++#$(pkg-config --variable=sdkdir xorg-server)
+
+ # Checks for libraries.
+
--- /dev/null
+include $(TOPDIR)/rules.mk
+
+PKG_BASE_NAME:=xf86
+PKG_NAME:=xf86-video-ati-X11R7.2
+PKG_RELEASE:=1
+PKG_VERSION:=6.6.3
+
+_DEPEND:=
+
+
+include ../common.mk
+
+$(eval $(call BuildPackage,$(PKG_NAME)))
--- /dev/null
+include $(TOPDIR)/rules.mk
+
+PKG_BASE_NAME:=xf86
+PKG_NAME:=xf86-video-i810-X11R7.2
+PKG_RELEASE:=1
+PKG_VERSION:=1.6.5
+
+_DEPEND:= +libXvMC-X11R7.2
+
+
+include ../common.mk
+
+$(eval $(call BuildPackage,$(PKG_NAME)))
--- /dev/null
+diff -urN xf86-video-i810-X11R7.2-1.6.5.orig/configure.ac xf86-video-i810-X11R7.2-1.6.5/configure.ac
+--- xf86-video-i810-X11R7.2-1.6.5.orig/configure.ac 2007-09-21 03:54:25.000000000 +0200
++++ xf86-video-i810-X11R7.2-1.6.5/configure.ac 2007-09-21 03:55:08.000000000 +0200
+@@ -72,7 +72,8 @@
+
+ # Checks for pkg-config packages
+ PKG_CHECK_MODULES(XORG, [xorg-server xproto xvmc fontsproto $REQUIRED_MODULES])
+-sdkdir=$(pkg-config --variable=sdkdir xorg-server)
++sdkdir=${SDKDIR}
++#$(pkg-config --variable=sdkdir xorg-server)
+
+ # Checks for libraries.
+
--- /dev/null
+include $(TOPDIR)/rules.mk
+
+PKG_BASE_NAME:=xf86
+PKG_NAME:=xf86-video-nv-X11R7.2
+PKG_RELEASE:=1
+PKG_VERSION:=1.2.2.1
+
+_DEPEND:=
+
+
+include ../common.mk
+
+$(eval $(call BuildPackage,$(PKG_NAME)))