[csw-devel] SF.net SVN: gar:[18659] csw/mgar/pkg
pfelecan at users.sourceforge.net
pfelecan at users.sourceforge.net
Fri Jul 6 16:37:42 CEST 2012
Revision: 18659
http://gar.svn.sourceforge.net/gar/?rev=18659&view=rev
Author: pfelecan
Date: 2012-07-06 14:37:41 +0000 (Fri, 06 Jul 2012)
Log Message:
-----------
libxvidcore/trunk: migrated from a private recipe to a GAR based
recipe; not ready for release.
Added Paths:
-----------
csw/mgar/pkg/libxvidcore/
csw/mgar/pkg/libxvidcore/Makefile
csw/mgar/pkg/libxvidcore/branches/
csw/mgar/pkg/libxvidcore/tags/
csw/mgar/pkg/libxvidcore/trunk/
csw/mgar/pkg/libxvidcore/trunk/Makefile
csw/mgar/pkg/libxvidcore/trunk/checksums
csw/mgar/pkg/libxvidcore/trunk/files/
csw/mgar/pkg/libxvidcore/trunk/files/0001-Adapt-examples-build-and-bench.patch
csw/mgar/pkg/libxvidcore/trunk/files/0002-Map-instead-of-version.patch
Added: csw/mgar/pkg/libxvidcore/Makefile
===================================================================
--- csw/mgar/pkg/libxvidcore/Makefile (rev 0)
+++ csw/mgar/pkg/libxvidcore/Makefile 2012-07-06 14:37:41 UTC (rev 18659)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/libxvidcore/trunk
___________________________________________________________________
Added: svn:ignore
+ work
Added: csw/mgar/pkg/libxvidcore/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libxvidcore/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/libxvidcore/trunk/Makefile 2012-07-06 14:37:41 UTC (rev 18659)
@@ -0,0 +1,31 @@
+# $Id$
+
+NAME = libxvidcore
+VERSION = 1.3.2
+GARTYPE = v2
+CATEGORIES = lib
+
+DESCRIPTION = A high performance and high quality MPEG-4 video de-/encoding solution
+define BLURB
+ A high performance and high quality MPEG-4 video de-/encoding solution
+endef
+
+shortName = xvidcore
+WORKSRC = $(WORKDIR)/$(shortName)/build/generic
+PATCHDIR = $(WORKDIR)/$(shortName)
+MASTER_SITES = http://downloads.xvid.org/downloads/
+DISTFILES = $(shortName)-$(VERSION).tar.gz
+PATCHFILES += 0001-Adapt-examples-build-and-bench.patch
+PATCHFILES += 0002-Map-instead-of-version.patch
+
+GARCOMPILER = GNU
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --disable-assembly
+
+TEST_SCRIPTS =
+
+include gar/category.mk
+
+# this is private and not available publicly
+mydependencies:
+ $(HOME)/bin/ocswdeplist --package $(NAME)
Property changes on: csw/mgar/pkg/libxvidcore/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/libxvidcore/trunk/checksums
===================================================================
--- csw/mgar/pkg/libxvidcore/trunk/checksums (rev 0)
+++ csw/mgar/pkg/libxvidcore/trunk/checksums 2012-07-06 14:37:41 UTC (rev 18659)
@@ -0,0 +1 @@
+87c8cf7b69ebed93c2d82ea5709d098a xvidcore-1.3.2.tar.gz
Added: csw/mgar/pkg/libxvidcore/trunk/files/0001-Adapt-examples-build-and-bench.patch
===================================================================
--- csw/mgar/pkg/libxvidcore/trunk/files/0001-Adapt-examples-build-and-bench.patch (rev 0)
+++ csw/mgar/pkg/libxvidcore/trunk/files/0001-Adapt-examples-build-and-bench.patch 2012-07-06 14:37:41 UTC (rev 18659)
@@ -0,0 +1,39 @@
+From 79ba7e9d6c75b465028bba2d66201a636832cf9f Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Fri, 6 Jul 2012 14:56:53 +0200
+Subject: [PATCH] Adapt examples build and bench
+
+---
+ examples/Makefile | 2 +-
+ examples/bench.pl | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/examples/Makefile b/examples/Makefile
+index 7a4cfee..c4855c1 100644
+--- a/examples/Makefile
++++ b/examples/Makefile
+@@ -10,7 +10,7 @@ include ../build/generic/platform.inc
+
+ HDIR = -I../src
+ CFLAGS = -g $(ARCHITECTURE) $(BUS) $(ENDIANNESS) $(FEATURES) $(SPECIFIC_CFLAGS)
+-LDFLAGS = -lc -lm ../build/generic/=build/$(STATIC_LIB) -lpthread
++LDFLAGS = -lc -lm ../build/generic/=build/$(STATIC_LIB) -lpthread -rt
+
+ SOURCES= xvid_encraw.c xvid_decraw.c xvid_bench.c
+ OBJECTS=$(SOURCES:.c=.o)
+diff --git a/examples/bench.pl b/examples/bench.pl
+index bbc2318..34e352b 100755
+--- a/examples/bench.pl
++++ b/examples/bench.pl
+@@ -72,7 +72,7 @@ sub check_bin
+ {
+ # force re-build of binary (better safe than sorry)
+ my_system( "rm -f $_[0]" );
+- my_system( "make $_[0]" );
++ my_system( "gmake $_[0]" );
+ }
+ sub check_file
+ {
+--
+1.7.10.3
+
Added: csw/mgar/pkg/libxvidcore/trunk/files/0002-Map-instead-of-version.patch
===================================================================
--- csw/mgar/pkg/libxvidcore/trunk/files/0002-Map-instead-of-version.patch (rev 0)
+++ csw/mgar/pkg/libxvidcore/trunk/files/0002-Map-instead-of-version.patch 2012-07-06 14:37:41 UTC (rev 18659)
@@ -0,0 +1,25 @@
+From 24bb086e3599ba202ecb3263f982a7e6ef8fb9cd Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Fri, 6 Jul 2012 16:18:50 +0200
+Subject: [PATCH] Map instead of version
+
+---
+ build/generic/configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/generic/configure b/build/generic/configure
+index 3b3f66d..55ff197 100755
+--- a/build/generic/configure
++++ b/build/generic/configure
+@@ -4325,7 +4325,7 @@ case "$target_os" in
+ $as_echo "ok" >&6; }
+ STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
+ SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR).\$(API_MINOR)"
+- SPECIFIC_LDFLAGS="-Wl,-soname,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) -shared -Wl,--version-script=libxvidcore.ld -lc -lm"
++ SPECIFIC_LDFLAGS="-Wl,-soname,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) -shared -Wl,-M,libxvidcore.ld -lc -lm"
+ SPECIFIC_CFLAGS="-fPIC"
+ ;;
+ *bsd*|irix*)
+--
+1.7.10.3
+
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