SF.net SVN: gar:[22254] csw/mgar/pkg/mplayer/branches

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Sat Oct 19 14:09:41 CEST 2013


Revision: 22254
          http://gar.svn.sourceforge.net/gar/?rev=22254&view=rev
Author:   pfelecan
Date:     2013-10-19 12:09:41 +0000 (Sat, 19 Oct 2013)
Log Message:
-----------
mplayer/branches/snapshot: instantiation

Added Paths:
-----------
    csw/mgar/pkg/mplayer/branches/snapshot/
    csw/mgar/pkg/mplayer/branches/snapshot/Makefile
    csw/mgar/pkg/mplayer/branches/snapshot/checksums
    csw/mgar/pkg/mplayer/branches/snapshot/files/

Added: csw/mgar/pkg/mplayer/branches/snapshot/Makefile
===================================================================
--- csw/mgar/pkg/mplayer/branches/snapshot/Makefile	                        (rev 0)
+++ csw/mgar/pkg/mplayer/branches/snapshot/Makefile	2013-10-19 12:09:41 UTC (rev 22254)
@@ -0,0 +1,112 @@
+# $Id$
+
+NAME	=	mplayer
+YEAR	=	$(shell date '+%Y')
+MONTH	=	$(shell date '+%m')
+DAY		=	$(shell date '+%d')
+VERSION	=	$(YEAR)$(MONTH)$(DAY)
+GARTYPE	=	v2
+
+DESCRIPTION	=	The Movie Player and Encoder
+define BLURB
+
+    MPlayer can play most standard video formats out of the box and
+    almost all others with the help of external codecs.  MPlayer
+    currently works best from the command line, but visual feedback
+    for many functions is available from its onscreen status display
+    (OSD), which is also used for displaying subtitles. MPlayer also
+    has a GUI with skin support and several unofficial alternative
+    graphical frontends are available.
+
+	MEncoder is a command line video encoder for advanced users that
+	can be built from the MPlayer source tree. Unofficial graphical
+	frontends exist but are not included.
+endef
+
+MASTER_SITES	=	http://www.mplayerhq.hu/MPlayer/releases/
+MASTER_SITES	+=	http://ffmpeg.org/releases/
+DISTFILES		=	$(NAME)-export-snapshot.tar.bz2
+DISTFILES		+=	ffmpeg-snapshot.tar.bz2
+DISTNAME		=	$(NAME)-export-$(YEAR)-$(MONTH)-$(DAY)
+PATCHFILES		+=	0001-configure-uses-bash.patch
+PATCHFILES		+=	0002-version-uses-bash.patch
+
+PACKAGING_PLATFORMS	=	solaris10-sparc
+PACKAGING_PLATFORMS	+=	solaris10-i386
+
+BUILD_DEP_PKGS	+=	CSWfaac
+BUILD_DEP_PKGS	+=	CSWfontconfig-dev
+BUILD_DEP_PKGS	+=	CSWliba52
+BUILD_DEP_PKGS	+=	CSWlibaa-dev
+BUILD_DEP_PKGS	+=	CSWlibdvdcss-dev
+BUILD_DEP_PKGS	+=	CSWlibdvdnav-dev
+BUILD_DEP_PKGS	+=	CSWlibdvdread-dev
+BUILD_DEP_PKGS	+=	CSWlibfaad-dev
+BUILD_DEP_PKGS	+=	CSWlibfreetype-dev
+BUILD_DEP_PKGS	+=	CSWlibgif-dev
+BUILD_DEP_PKGS	+=	CSWlibiconv-dev
+BUILD_DEP_PKGS	+=	CSWlibjpeg-dev
+BUILD_DEP_PKGS	+=	CSWliblz-dev
+BUILD_DEP_PKGS	+=	CSWliblzo-dev
+BUILD_DEP_PKGS	+=	CSWlibmad-dev
+BUILD_DEP_PKGS	+=	CSWlibmp3lame-dev
+BUILD_DEP_PKGS	+=	CSWlibncurses-dev
+BUILD_DEP_PKGS	+=	CSWlibogg-dev
+BUILD_DEP_PKGS	+=	CSWliboggz-dev
+BUILD_DEP_PKGS	+=	CSWlibpng-dev
+BUILD_DEP_PKGS	+=	CSWlibsdl-dev
+BUILD_DEP_PKGS	+=	CSWlibspeex-dev
+BUILD_DEP_PKGS	+=	CSWlibtheora-dev
+BUILD_DEP_PKGS	+=	CSWlibx264-dev
+BUILD_DEP_PKGS	+=	CSWlibxvidcore-dev
+BUILD_DEP_PKGS	+=	CSWmesa
+BUILD_DEP_PKGS	+=	CSWmpg123
+BUILD_DEP_PKGS	+=	CSWnas
+BUILD_DEP_PKGS	+=	CSWunrar
+BUILD_DEP_PKGS	+=	CSWlibxmms-dev
+BUILD_DEP_PKGS	+=	CSWyasm
+
+GARCOMPILER		=	GNU
+
+# 2 packages: mplayer, mencoder; separate recipe for codec, fonts and
+# skin
+
+CONFIGURE_SCRIPTS	=	custom
+BUILD_SCRIPTS		=	custom
+TEST_SCRIPTS		=	custom
+
+include gar/category.mk
+
+PATH := /opt/csw/gnu:$(PATH)
+
+post-extract:
+	cd $(WORKSRC) && \
+	mv ../ffmpeg ffmpeg
+	$(MAKECOOKIE)
+
+# configure is not configure !
+# must use internal dvdnav as our library is not a snapshot
+configure-custom:
+	cd $(WORKSRC) && \
+	./configure \
+	--cc=gcc \
+	--host-cc=gcc \
+	--extra-cflags='-std=gnu99' \
+	--extra-ldflags='-lrt' \
+	--enable-runtime-cpudetection \
+	--prefix=$(prefix) \
+	--codecsdir=$(libexecdir)/mplayer
+	$(MAKECOOKIE)
+
+build-custom:
+	cd $(WORKSRC) && \
+	$(MAKE)
+	$(MAKECOOKIE)
+
+test-custom:
+ifdef testData
+	cd $(WORKSRC) && \
+	[ -d $(testData) ] && \
+	$(MAKE) FATE_SAMPLES=$(testData) fatetest
+endif
+	$(MAKECOOKIE)

Added: csw/mgar/pkg/mplayer/branches/snapshot/checksums
===================================================================
--- csw/mgar/pkg/mplayer/branches/snapshot/checksums	                        (rev 0)
+++ csw/mgar/pkg/mplayer/branches/snapshot/checksums	2013-10-19 12:09:41 UTC (rev 22254)
@@ -0,0 +1,2 @@
+b0351fd5b37a6cc8ab2c3c28f5374bb5  ffmpeg-snapshot.tar.bz2
+7fcab3e59e1e757bf972d3b0bb4e4db7  mplayer-export-snapshot.tar.bz2

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