From: Felix Fietkau Date: Sun, 23 Dec 2007 00:42:03 +0000 (+0000) Subject: fix xine-ui compile X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b00e1cc62e0882d3acd4e4e0fec0cfa1d0954898;p=openwrt%2Fsvn-archive%2Fpackages.git fix xine-ui compile SVN-Revision: 9856 --- diff --git a/XOrg/app/xine-ui/Makefile b/XOrg/app/xine-ui/Makefile index e473a17a3..6080e9f10 100644 --- a/XOrg/app/xine-ui/Makefile +++ b/XOrg/app/xine-ui/Makefile @@ -27,7 +27,9 @@ define Package/xine-ui DEPENDS:=+xine-lib +libpng +curl +libiconv +libXv +libICE +libXxf86vm endef -CONFIGURE_VARS+=PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -lnotimpl" +CONFIGURE_VARS+= \ + PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" + CONFIGURE_ARGS+=--without-aalib \ --without-libcaca \ --disable-lirc \ @@ -43,20 +45,21 @@ define Build/Configure $(CONFIGURE_ARGS) ;\ fi \ ) + $(call libtool_disable_rpath) endef define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) + $(MAKE) -C $(PKG_BUILD_DIR) X_LIBS="-L$(STAGING_DIR)/usr/lib -lnotimpl -lfreetype" $(MAKE) -C $(PKG_BUILD_DIR)/ install DESTDIR=$(PKG_INSTALL_DIR) endef -define Build/InstallDev - $(CP) $(PKG_INSTALL_DIR)/* $(1)/ -endef - define Package/xine-ui/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*so* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/share/xine \ + $(PKG_INSTALL_DIR)/usr/share/pixmaps \ + $(1)/usr/share/ endef $(eval $(call BuildPackage,xine-ui)) diff --git a/XOrg/app/xine-ui/patches/100-cflags.patch b/XOrg/app/xine-ui/patches/100-cflags.patch new file mode 100644 index 000000000..797f8b3ce --- /dev/null +++ b/XOrg/app/xine-ui/patches/100-cflags.patch @@ -0,0 +1,13 @@ +Index: xine-ui-0.99.4/configure +=================================================================== +--- xine-ui-0.99.4.orig/configure 2007-12-23 01:23:31.650316801 +0100 ++++ xine-ui-0.99.4/configure 2007-12-23 01:23:42.194917702 +0100 +@@ -31351,7 +31351,7 @@ + SYSCONF_DIR=`eval echo "$sysconfdir"` + + +-INCLUDES='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir)/src/common -I$(top_builddir)/src/common -I$(top_srcdir)/src/xitk/xine-toolkit -I$(top_builddir)/src/xitk/xine-toolkit -I$(prefix)/include $(INTLDIR)' ++INCLUDES='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir)/src/common -I$(top_builddir)/src/common -I$(top_srcdir)/src/xitk/xine-toolkit -I$(top_builddir)/src/xitk/xine-toolkit $(INTLDIR)' + + + diff --git a/XOrg/app/xine-ui/patches/110-xitk.patch b/XOrg/app/xine-ui/patches/110-xitk.patch new file mode 100644 index 000000000..aa2ba4a52 --- /dev/null +++ b/XOrg/app/xine-ui/patches/110-xitk.patch @@ -0,0 +1,16 @@ +Index: xine-ui-0.99.4/src/xitk/xine-toolkit/xitk.c +=================================================================== +--- xine-ui-0.99.4.orig/src/xitk/xine-toolkit/xitk.c 2007-12-23 01:26:05.991112183 +0100 ++++ xine-ui-0.99.4/src/xitk/xine-toolkit/xitk.c 2007-12-23 01:26:10.819387329 +0100 +@@ -45,11 +45,6 @@ + #include + + #include +- +-#ifdef __linux__ +-#include +-#endif +- + #include + #include + #include