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

bensons at users.sourceforge.net bensons at users.sourceforge.net
Mon Feb 22 17:59:08 CET 2010


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

Log Message:
-----------
gstplugins_good: changed GARNAME, link against our X11 libraries

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

Modified: csw/mgar/pkg/gstplugins_good/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gstplugins_good/trunk/Makefile	2010-02-22 16:58:36 UTC (rev 8743)
+++ csw/mgar/pkg/gstplugins_good/trunk/Makefile	2010-02-22 16:59:07 UTC (rev 8744)
@@ -1,4 +1,4 @@
-GARNAME = gstplugins_good
+GARNAME = gst-plugins-good
 GARVERSION = 0.10.18
 CATEGORIES = gnome
 
@@ -11,37 +11,51 @@
 endef
 
 MASTER_SITES = http://gstreamer.freedesktop.org/src/gst-plugins-good/
-SRCNAME = gst-plugins-good
-DISTFILES  = $(SRCNAME)-$(GARVERSION).tar.gz
-WORKSRC = $(WORKDIR)/$(SRCNAME)-$(GARVERSION)
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+
 PACKAGES = CSWgstpluginsgood
 CATALOGNAME = gstplugins_good
 
 # 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 += CSWzlib CSWsunmath CSWspeex CSWpng CSWpango CSWorbit2
-BUILD_DEP_PKGS += CSWlibxml2 CSWliboil CSWlibcairo CSWlibatk CSWjpeg CSWgtk2
-BUILD_DEP_PKGS += CSWgstreamer CSWgstplugins CSWglib2 CSWggettext CSWgconf2
-BUILD_DEP_PKGS += CSWflac CSWesound CSWaudiofile CSWaalib CSWbzip2
-BUILD_DEP_PKGS += CSWggettextrt CSWlibogg CSWlibshout CSWncurses CSWtheora
-BUILD_DEP_PKGS += CSWvorbis
-RUNTIME_DEP_PKGS = $(BUILD_DEP_PKGS)
+DEP_PKGS += CSWzlib CSWspeex CSWpng CSWlibice CSWlibx11 CSWgtk2 CSWvorbis
+DEP_PKGS += CSWlibxml2 CSWliboil CSWlibcairo CSWjpeg CSWglib2 CSWgconf2
+DEP_PKGS += CSWgstreamer CSWgstplugins CSWflac CSWesound CSWbzip2 CSWlibsm
+DEP_PKGS += CSWggettextrt CSWlibogg CSWlibshout CSWtheora CSWlibxext
 
 CONFIGURE_ARGS += $(DIRPATHS)
 CONFIGURE_ARGS += --disable-debug
+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
-
 PATCHFILES = patch-matroska-demux.c
 
 include gar/category.mk
 post-configure-modulated:
-	# we do not have a hyperbolic tangent float function on solaris8,
-	# using hyperbolic tangent double instead
+	@# we do not have a hyperbolic tangent float function on solaris8,
+	@# using hyperbolic tangent double instead
 	perl -pi -e 's,tanhf,tanh,' \
 		$(WORKSRC)/gst/replaygain/gstrglimiter.c
+	@# [bus_message_cb]:ube: error: SIGNAL: Segmentation Fault
+	@# <@Dagobert> Yes, try lowering the optimizer level from -xO3 down to -xO2
+	@#             and may further down.
+	perl -pi -e 's,xO3,xO1,' $(WORKSRC)/tests/icles/Makefile
+	gsed -i 's/\(demo_LDFLAGS =\)/\1 $$(X_LIBS)/' \
+		$(WORKSRC)/tests/examples/equalizer/Makefile
+	gsed -i 's/\(demo_LDFLAGS =\)/\1 $$(X_LIBS)/' \
+		$(WORKSRC)/tests/examples/spectrum/Makefile
+	gsed -i 's/\(demo_osssrc_LDFLAGS =\)/\1 $$(X_LIBS)/' \
+		$(WORKSRC)/tests/examples/spectrum/Makefile
+	gsed -i 's/\(demo_audiotest_LDFLAGS =\)/\1 $$(X_LIBS)/' \
+		$(WORKSRC)/tests/examples/spectrum/Makefile
+	gsed -i 's/\(spectrum_example_LDFLAGS =\)/\1 $$(X_LIBS)/' \
+		$(WORKSRC)/tests/examples/spectrum/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