[packages] gstreamer: fix autoreconf
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Dec 2010 15:14:36 +0000 (15:14 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Dec 2010 15:14:36 +0000 (15:14 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24545 3c298f89-4303-0410-b956-a3cf2f4a3e73

multimedia/gstreamer/Makefile
multimedia/gstreamer/patches/003-no_translations.patch [new file with mode: 0644]

index 6db5510..3be5b7c 100644 (file)
@@ -16,6 +16,8 @@ PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gstreamer/
 PKG_MD5SUM:=c92d6bce4fc65fa9d5a3ad35cdd1a466
 
 PKG_FIXUP:=libtool
+PKG_REMOVE_FILES:=autogen.sh aclocal.m4
+
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
@@ -93,7 +95,8 @@ CONFIGURE_ARGS += \
 
 EXTRA_LDFLAGS+= \
        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-
+       -L$(STAGING_DIR)/usr/lib/libintl/lib \
+       -L$(STAGING_DIR)/usr/lib/libiconv/lib
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
diff --git a/multimedia/gstreamer/patches/003-no_translations.patch b/multimedia/gstreamer/patches/003-no_translations.patch
new file mode 100644 (file)
index 0000000..8090563
--- /dev/null
@@ -0,0 +1,45 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -695,7 +695,6 @@ libs/gst/net/Makefile
+ plugins/Makefile
+ plugins/indexers/Makefile
+ plugins/elements/Makefile
+-po/Makefile.in
+ tests/Makefile
+ tests/benchmarks/Makefile
+ tests/check/Makefile
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -8,14 +8,12 @@ aclocal_DATA = gst-element-check-@GST_MA
+ SUBDIRS = pkgconfig \
+       gst libs plugins tools \
+-      po \
+       m4 \
+       common
+ # These are all the possible subdirs
+ DIST_SUBDIRS = pkgconfig \
+       gst libs plugins tools \
+-      po \
+       m4 \
+       common
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -445,7 +445,6 @@ aclocaldir = $(datadir)/aclocal
+ aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
+ SUBDIRS = pkgconfig \
+       gst libs plugins tools \
+-      po \
+       m4 \
+       common
+@@ -453,7 +452,6 @@ SUBDIRS = pkgconfig \
+ # These are all the possible subdirs
+ DIST_SUBDIRS = pkgconfig \
+       gst libs plugins tools \
+-      po \
+       m4 \
+       common