[csw-devel] SF.net SVN: gar:[8734] csw/mgar/pkg/gstplugins/trunk/Makefile

bensons at users.sourceforge.net bensons at users.sourceforge.net
Mon Feb 22 15:14:48 CET 2010


Revision: 8734
          http://gar.svn.sourceforge.net/gar/?rev=8734&view=rev
Author:   bensons
Date:     2010-02-22 14:14:48 +0000 (Mon, 22 Feb 2010)

Log Message:
-----------
gstplugins: changed GARNAME, linking against /opt/csw/X11 now, adjusted dependencies

Modified Paths:
--------------
    csw/mgar/pkg/gstplugins/trunk/Makefile

Modified: csw/mgar/pkg/gstplugins/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gstplugins/trunk/Makefile	2010-02-22 14:06:24 UTC (rev 8733)
+++ csw/mgar/pkg/gstplugins/trunk/Makefile	2010-02-22 14:14:48 UTC (rev 8734)
@@ -1,4 +1,4 @@
-GARNAME = gstplugins
+GARNAME = gst-plugins-base
 GARVERSION = 0.10.26
 CATEGORIES = gnome
 
@@ -12,17 +12,17 @@
 endef
 
 MASTER_SITES = http://gstreamer.freedesktop.org/src/gst-plugins-base/
-SRCNAME = gst-plugins-base
-DISTFILES  = $(SRCNAME)-$(GARVERSION).tar.gz
-WORKSRC = $(WORKDIR)/$(SRCNAME)-$(GARVERSION)
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 
+PACKAGES = CSWgstplugins
+CATALOGNAME = gstplugins
+
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-BUILD_DEP_PKGS += CSWgstreamer CSWliboil CSWglib2 CSWgnomevfs2 CSWlibogg
-BUILD_DEP_PKGS += CSWgconf2 CSWggettextrt CSWlibxml2 CSWtheora CSWvorbis
-BUILD_DEP_PKGS += CSWzlib CSWsunmath CSWorbit2 CSWlibxml2 CSWbonobo2
-RUNTIME_DEP_PKGS = $(BUILD_DEP_PKGS)
+DEP_PKGS += CSWgstreamer CSWliboil CSWglib2 CSWgnomevfs2 CSWlibogg
+DEP_PKGS += CSWgconf2 CSWggettextrt CSWlibxml2 CSWtheora CSWvorbis
+DEP_PKGS += CSWlibice CSWlibx11 CSWlibsm CSWlibxext
 
 CONFIGURE_ARGS += $(DIRPATHS)
 CONFIGURE_ARGS += --disable-debug
@@ -32,13 +32,16 @@
 CONFIGURE_ARGS += --disable-gst_v4l
 CONFIGURE_ARGS += --disable-libvisual
 CONFIGURE_ARGS += --disable-pango
+CONFIGURE_ARGS += --x-includes=$(prefix)/X11/include
+CONFIGURE_ARGS += --x-libraries=$(prefix)/X11/lib/$(MM_LIBDIR)
 
+EXTRA_SOS_LD_FLAGS = -L$(abspath $(prefix)/X11/lib/$(MM_LIBDIR))
+EXTRA_SOS_LD_OPTIONS = -R$(abspath $(prefix)/X11/lib/$(MM_LIBDIR))
+
 STRIP_LIBTOOL = 1
 
 TEST_SCRIPTS =
 
-LICENSE = $(WORKDIR_FIRSTMOD)/$(SRCNAME)-$(GARVERSION)/COPYING
-
 # we are providing those symbols
 CHECKPKG_OVERRIDES_CSWgstplugins += symbol-not-found|libgstaudio-0.10.so.0.19.0
 CHECKPKG_OVERRIDES_CSWgstplugins += symbol-not-found|libgstriff-0.10.so.0.19.0
@@ -61,5 +64,9 @@
 
 # sigh, portable code?
 post-configure-modulated:
-	perl -pi -e 's/(LIBS = -lnsl -lsocket)/$$1 -lresolv/' \
+	gsed -i 's/\(LIBS = -lnsl -lsocket\)/\1 -lresolv/' \
 		$(WORKSRC)/gst/tcp/Makefile
+	gsed -i 's/\(giosrc_mounting_LDFLAGS =\)/\1 $$(X_LIBS)/' \
+		$(WORKSRC)/tests/examples/gio/Makefile
+	gsed -i 's/\(volume_LDFLAGS =\)/\1 $$(X_LIBS)/' \
+		$(WORKSRC)/tests/examples/volume/Makefile


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list