Upgrade to 0.90.0.8.
Submitted by: maintainer
This commit is contained in:
parent
97bdda3e78
commit
439d291bdc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66716
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= mplayer
|
||||
PORTVERSION= 0.90.0.6
|
||||
PORTVERSION= 0.90.0.8
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
|
||||
http://www.mplayerhq.hu/MPlayer/releases/ \
|
||||
@ -16,7 +16,7 @@ MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
|
||||
ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \
|
||||
ftp://ftp.lug.udel.edu/MPlayer/releases/ \
|
||||
http://www.rrr.de/~riggs/mplayer/
|
||||
DISTNAME= MPlayer-0.90pre6
|
||||
DISTNAME= MPlayer-0.90pre8
|
||||
|
||||
MAINTAINER= riggs@rrr.de
|
||||
|
||||
@ -32,7 +32,8 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS=${PTHREAD_LIBS}
|
||||
CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \
|
||||
--with-extraincdir=${LOCALBASE}/include
|
||||
--with-extraincdir=${LOCALBASE}/include \
|
||||
--disable-vidix
|
||||
|
||||
USE_GNOMENG= yes
|
||||
WANT_GNOME= yes
|
||||
@ -79,6 +80,9 @@ CFLAGS+= -O3 -ffast-math -fomit-frame-pointer
|
||||
|
||||
.if ${HAVE_GNOME:Mgtk12}!=""
|
||||
WITH_GUI= yes
|
||||
PLIST_SUB+= GMPLAYER=""
|
||||
.else
|
||||
PLIST_SUB+= GMPLAYER="@comment"
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GUI)
|
||||
@ -228,7 +232,10 @@ post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/DOCS/${doc} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@${CAT} pkg-message
|
||||
.if defined(WITH_GUI)
|
||||
@${LN} -sf ${PREFIX}/bin/mplayer ${PREFIX}/bin/gmplayer
|
||||
.endif
|
||||
@${CAT} ${.CURDIR}/pkg-message
|
||||
|
||||
install-user:
|
||||
@${PERL} ${FILESDIR}/install-user
|
||||
|
@ -1 +1 @@
|
||||
MD5 (MPlayer-0.90pre6.tar.bz2) = 819b4db6133291886df34cadcc03e09d
|
||||
MD5 (MPlayer-0.90pre8.tar.bz2) = 8c844865b05574a1cfb2813e8487d21b
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- configure.orig Mon Aug 5 19:23:22 2002
|
||||
+++ configure Wed Aug 7 12:47:05 2002
|
||||
@@ -480,19 +480,10 @@
|
||||
--- configure.orig Tue Sep 17 21:47:55 2002
|
||||
+++ configure Thu Sep 19 12:19:12 2002
|
||||
@@ -491,19 +491,10 @@
|
||||
|
||||
# Try to find the available options for the current CPU
|
||||
if x86 || ppc; then
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -1`
|
||||
pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1`
|
||||
@@ -1246,8 +1237,8 @@
|
||||
@@ -1289,8 +1280,8 @@
|
||||
;;
|
||||
|
||||
*)
|
||||
@ -31,7 +31,7 @@
|
||||
;;
|
||||
|
||||
esac
|
||||
@@ -1588,13 +1579,7 @@
|
||||
@@ -1688,13 +1679,7 @@
|
||||
|
||||
|
||||
echocheck "memalign()"
|
||||
@ -45,7 +45,7 @@
|
||||
if test "$_memalign" = yes ; then
|
||||
_def_memalign='#define HAVE_MEMALIGN 1'
|
||||
else
|
||||
@@ -1671,31 +1656,7 @@
|
||||
@@ -1771,31 +1756,7 @@
|
||||
|
||||
|
||||
echocheck "pthread"
|
||||
@ -78,43 +78,12 @@
|
||||
echores "yes (using $_ld_pthread)"
|
||||
|
||||
|
||||
@@ -3413,11 +3374,7 @@
|
||||
|
||||
echocheck "iconv"
|
||||
if test "$_iconv" = auto ; then
|
||||
- if freebsd ; then
|
||||
- _iconv_tmp='#include <giconv.h>'
|
||||
- else
|
||||
- _iconv_tmp='#include <iconv.h>'
|
||||
- fi
|
||||
+ _iconv_tmp='#include <iconv.h>'
|
||||
cat > $TMPC << EOF
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
@@ -3451,7 +3408,7 @@
|
||||
EOF
|
||||
_iconv=no
|
||||
if freebsd ; then
|
||||
- cc_check -lm -lgiconv && _iconv=yes
|
||||
+ cc_check -lm -liconv && _iconv=yes
|
||||
elif bsdos || openbsd ; then
|
||||
cc_check -lm -liconv && _iconv=yes
|
||||
else
|
||||
@@ -3460,7 +3417,7 @@
|
||||
fi
|
||||
if test "$_iconv" = yes ; then
|
||||
_def_iconv='#define USE_ICONV 1'
|
||||
- freebsd && _ld_iconv='-lgiconv'
|
||||
+ freebsd && _ld_iconv='-liconv'
|
||||
bsdos && _ld_iconv='-liconv'
|
||||
openbsd && _ld_iconv='-liconv'
|
||||
else
|
||||
@@ -3979,7 +3936,7 @@
|
||||
@@ -4211,7 +4172,7 @@
|
||||
CFLAGS="$CFLAGS -D_REENTRANT"
|
||||
elif bsd ; then
|
||||
# FIXME bsd needs this so maybe other OS'es
|
||||
- CFLAGS="$CFLAGS -D_THREAD_SAFE"
|
||||
+ CFLAGS="$CFLAGS ${PTHREAD_CFLAGS}"
|
||||
fi
|
||||
|
||||
# 64 bit file offsets?
|
||||
if test "$_largefiles" = yes || freebsd ; then
|
||||
|
@ -1,22 +1,15 @@
|
||||
--- Makefile.orig Thu Jul 25 05:37:27 2002
|
||||
+++ Makefile Wed Aug 7 13:07:21 2002
|
||||
@@ -24,12 +24,12 @@
|
||||
--- Makefile.orig Mon Sep 9 13:47:54 2002
|
||||
+++ Makefile Thu Sep 19 12:54:34 2002
|
||||
@@ -24,7 +24,7 @@
|
||||
endif
|
||||
|
||||
#prefix = /usr/local
|
||||
-BINDIR = ${prefix}/bin
|
||||
+BINDIR = $(PREFIX)/bin
|
||||
# BINDIR = /usr/local/bin
|
||||
-MANDIR = ${prefix}/man
|
||||
+MANDIR = $(PREFIX)/man
|
||||
|
||||
# a BSD compatible 'install' program
|
||||
-INSTALL = install
|
||||
+INSTALL = @${BSD_INSTALL_PROGRAM}
|
||||
|
||||
SRCS_COMMON = xacodec.c cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c sub_cc.c find_sub.c
|
||||
SRCS_MENCODER = mencoder.c mp_msg-mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/osd.c libvo/sub.c libvo/font_load.c me-opt-reg.c
|
||||
@@ -226,44 +226,11 @@
|
||||
SRCS_COMMON = cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c sub_cc.c find_sub.c
|
||||
SRCS_MENCODER = mencoder.c mp_msg-mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/osd.c libvo/sub.c libvo/font_load.c libvo/font_load_ft.c me-opt-reg.c xvid_vbr.c
|
||||
@@ -193,44 +193,11 @@
|
||||
ifeq ($(VIDIX),yes)
|
||||
$(DO_MAKE)
|
||||
endif
|
||||
@ -50,7 +43,7 @@
|
||||
-ifeq ($(DVDKIT),yes)
|
||||
-ifeq ($(DVDKIT_SHARED),yes)
|
||||
- if test ! -d $(LIBDIR) ; then mkdir -p $(LIBDIR) ; fi
|
||||
- $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
|
||||
- $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit2/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
|
||||
-endif
|
||||
-endif
|
||||
-ifeq ($(CSS_USE),yes)
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- subreader.c.orig Mon May 13 22:41:20 2002
|
||||
+++ subreader.c Tue Jun 4 22:54:33 2002
|
||||
@@ -18,11 +18,7 @@
|
||||
#define ERR ((void *) -1)
|
||||
|
||||
#ifdef USE_ICONV
|
||||
-#ifdef __FreeBSD__
|
||||
-#include <giconv.h>
|
||||
-#else
|
||||
#include <iconv.h>
|
||||
-#endif
|
||||
char *sub_cp=NULL;
|
||||
#endif
|
||||
|
@ -1,13 +1,6 @@
|
||||
bin/mplayer
|
||||
bin/mencoder
|
||||
lib/libdha-0.1.so
|
||||
lib/libdha.so
|
||||
lib/mplayer/vidix/mach64_vid.so
|
||||
lib/mplayer/vidix/mga_crtc2_vid.so
|
||||
lib/mplayer/vidix/mga_vid.so
|
||||
lib/mplayer/vidix/pm3_vid.so
|
||||
lib/mplayer/vidix/radeon_vid.so
|
||||
lib/mplayer/vidix/rage128_vid.so
|
||||
%%GMPLAYER%%bin/gmplayer
|
||||
%%PORTDOCS%%share/doc/mplayer/bugreports.html
|
||||
%%PORTDOCS%%share/doc/mplayer/cd-dvd.html
|
||||
%%PORTDOCS%%share/doc/mplayer/codecs-in.html
|
||||
@ -24,5 +17,3 @@ share/mplayer/codecs.conf
|
||||
share/mplayer/example.conf
|
||||
share/mplayer/input.conf
|
||||
%%PORTDOCS%%@dirrm share/doc/mplayer
|
||||
@dirrm lib/mplayer/vidix
|
||||
@dirrm lib/mplayer
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= mplayer
|
||||
PORTVERSION= 0.90.0.6
|
||||
PORTVERSION= 0.90.0.8
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
|
||||
http://www.mplayerhq.hu/MPlayer/releases/ \
|
||||
@ -16,7 +16,7 @@ MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
|
||||
ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \
|
||||
ftp://ftp.lug.udel.edu/MPlayer/releases/ \
|
||||
http://www.rrr.de/~riggs/mplayer/
|
||||
DISTNAME= MPlayer-0.90pre6
|
||||
DISTNAME= MPlayer-0.90pre8
|
||||
|
||||
MAINTAINER= riggs@rrr.de
|
||||
|
||||
@ -32,7 +32,8 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS=${PTHREAD_LIBS}
|
||||
CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \
|
||||
--with-extraincdir=${LOCALBASE}/include
|
||||
--with-extraincdir=${LOCALBASE}/include \
|
||||
--disable-vidix
|
||||
|
||||
USE_GNOMENG= yes
|
||||
WANT_GNOME= yes
|
||||
@ -79,6 +80,9 @@ CFLAGS+= -O3 -ffast-math -fomit-frame-pointer
|
||||
|
||||
.if ${HAVE_GNOME:Mgtk12}!=""
|
||||
WITH_GUI= yes
|
||||
PLIST_SUB+= GMPLAYER=""
|
||||
.else
|
||||
PLIST_SUB+= GMPLAYER="@comment"
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GUI)
|
||||
@ -228,7 +232,10 @@ post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/DOCS/${doc} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@${CAT} pkg-message
|
||||
.if defined(WITH_GUI)
|
||||
@${LN} -sf ${PREFIX}/bin/mplayer ${PREFIX}/bin/gmplayer
|
||||
.endif
|
||||
@${CAT} ${.CURDIR}/pkg-message
|
||||
|
||||
install-user:
|
||||
@${PERL} ${FILESDIR}/install-user
|
||||
|
@ -1 +1 @@
|
||||
MD5 (MPlayer-0.90pre6.tar.bz2) = 819b4db6133291886df34cadcc03e09d
|
||||
MD5 (MPlayer-0.90pre8.tar.bz2) = 8c844865b05574a1cfb2813e8487d21b
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- configure.orig Mon Aug 5 19:23:22 2002
|
||||
+++ configure Wed Aug 7 12:47:05 2002
|
||||
@@ -480,19 +480,10 @@
|
||||
--- configure.orig Tue Sep 17 21:47:55 2002
|
||||
+++ configure Thu Sep 19 12:19:12 2002
|
||||
@@ -491,19 +491,10 @@
|
||||
|
||||
# Try to find the available options for the current CPU
|
||||
if x86 || ppc; then
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -1`
|
||||
pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1`
|
||||
@@ -1246,8 +1237,8 @@
|
||||
@@ -1289,8 +1280,8 @@
|
||||
;;
|
||||
|
||||
*)
|
||||
@ -31,7 +31,7 @@
|
||||
;;
|
||||
|
||||
esac
|
||||
@@ -1588,13 +1579,7 @@
|
||||
@@ -1688,13 +1679,7 @@
|
||||
|
||||
|
||||
echocheck "memalign()"
|
||||
@ -45,7 +45,7 @@
|
||||
if test "$_memalign" = yes ; then
|
||||
_def_memalign='#define HAVE_MEMALIGN 1'
|
||||
else
|
||||
@@ -1671,31 +1656,7 @@
|
||||
@@ -1771,31 +1756,7 @@
|
||||
|
||||
|
||||
echocheck "pthread"
|
||||
@ -78,43 +78,12 @@
|
||||
echores "yes (using $_ld_pthread)"
|
||||
|
||||
|
||||
@@ -3413,11 +3374,7 @@
|
||||
|
||||
echocheck "iconv"
|
||||
if test "$_iconv" = auto ; then
|
||||
- if freebsd ; then
|
||||
- _iconv_tmp='#include <giconv.h>'
|
||||
- else
|
||||
- _iconv_tmp='#include <iconv.h>'
|
||||
- fi
|
||||
+ _iconv_tmp='#include <iconv.h>'
|
||||
cat > $TMPC << EOF
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
@@ -3451,7 +3408,7 @@
|
||||
EOF
|
||||
_iconv=no
|
||||
if freebsd ; then
|
||||
- cc_check -lm -lgiconv && _iconv=yes
|
||||
+ cc_check -lm -liconv && _iconv=yes
|
||||
elif bsdos || openbsd ; then
|
||||
cc_check -lm -liconv && _iconv=yes
|
||||
else
|
||||
@@ -3460,7 +3417,7 @@
|
||||
fi
|
||||
if test "$_iconv" = yes ; then
|
||||
_def_iconv='#define USE_ICONV 1'
|
||||
- freebsd && _ld_iconv='-lgiconv'
|
||||
+ freebsd && _ld_iconv='-liconv'
|
||||
bsdos && _ld_iconv='-liconv'
|
||||
openbsd && _ld_iconv='-liconv'
|
||||
else
|
||||
@@ -3979,7 +3936,7 @@
|
||||
@@ -4211,7 +4172,7 @@
|
||||
CFLAGS="$CFLAGS -D_REENTRANT"
|
||||
elif bsd ; then
|
||||
# FIXME bsd needs this so maybe other OS'es
|
||||
- CFLAGS="$CFLAGS -D_THREAD_SAFE"
|
||||
+ CFLAGS="$CFLAGS ${PTHREAD_CFLAGS}"
|
||||
fi
|
||||
|
||||
# 64 bit file offsets?
|
||||
if test "$_largefiles" = yes || freebsd ; then
|
||||
|
@ -1,22 +1,15 @@
|
||||
--- Makefile.orig Thu Jul 25 05:37:27 2002
|
||||
+++ Makefile Wed Aug 7 13:07:21 2002
|
||||
@@ -24,12 +24,12 @@
|
||||
--- Makefile.orig Mon Sep 9 13:47:54 2002
|
||||
+++ Makefile Thu Sep 19 12:54:34 2002
|
||||
@@ -24,7 +24,7 @@
|
||||
endif
|
||||
|
||||
#prefix = /usr/local
|
||||
-BINDIR = ${prefix}/bin
|
||||
+BINDIR = $(PREFIX)/bin
|
||||
# BINDIR = /usr/local/bin
|
||||
-MANDIR = ${prefix}/man
|
||||
+MANDIR = $(PREFIX)/man
|
||||
|
||||
# a BSD compatible 'install' program
|
||||
-INSTALL = install
|
||||
+INSTALL = @${BSD_INSTALL_PROGRAM}
|
||||
|
||||
SRCS_COMMON = xacodec.c cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c sub_cc.c find_sub.c
|
||||
SRCS_MENCODER = mencoder.c mp_msg-mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/osd.c libvo/sub.c libvo/font_load.c me-opt-reg.c
|
||||
@@ -226,44 +226,11 @@
|
||||
SRCS_COMMON = cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c sub_cc.c find_sub.c
|
||||
SRCS_MENCODER = mencoder.c mp_msg-mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/osd.c libvo/sub.c libvo/font_load.c libvo/font_load_ft.c me-opt-reg.c xvid_vbr.c
|
||||
@@ -193,44 +193,11 @@
|
||||
ifeq ($(VIDIX),yes)
|
||||
$(DO_MAKE)
|
||||
endif
|
||||
@ -50,7 +43,7 @@
|
||||
-ifeq ($(DVDKIT),yes)
|
||||
-ifeq ($(DVDKIT_SHARED),yes)
|
||||
- if test ! -d $(LIBDIR) ; then mkdir -p $(LIBDIR) ; fi
|
||||
- $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
|
||||
- $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit2/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
|
||||
-endif
|
||||
-endif
|
||||
-ifeq ($(CSS_USE),yes)
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- subreader.c.orig Mon May 13 22:41:20 2002
|
||||
+++ subreader.c Tue Jun 4 22:54:33 2002
|
||||
@@ -18,11 +18,7 @@
|
||||
#define ERR ((void *) -1)
|
||||
|
||||
#ifdef USE_ICONV
|
||||
-#ifdef __FreeBSD__
|
||||
-#include <giconv.h>
|
||||
-#else
|
||||
#include <iconv.h>
|
||||
-#endif
|
||||
char *sub_cp=NULL;
|
||||
#endif
|
||||
|
@ -1,13 +1,6 @@
|
||||
bin/mplayer
|
||||
bin/mencoder
|
||||
lib/libdha-0.1.so
|
||||
lib/libdha.so
|
||||
lib/mplayer/vidix/mach64_vid.so
|
||||
lib/mplayer/vidix/mga_crtc2_vid.so
|
||||
lib/mplayer/vidix/mga_vid.so
|
||||
lib/mplayer/vidix/pm3_vid.so
|
||||
lib/mplayer/vidix/radeon_vid.so
|
||||
lib/mplayer/vidix/rage128_vid.so
|
||||
%%GMPLAYER%%bin/gmplayer
|
||||
%%PORTDOCS%%share/doc/mplayer/bugreports.html
|
||||
%%PORTDOCS%%share/doc/mplayer/cd-dvd.html
|
||||
%%PORTDOCS%%share/doc/mplayer/codecs-in.html
|
||||
@ -24,5 +17,3 @@ share/mplayer/codecs.conf
|
||||
share/mplayer/example.conf
|
||||
share/mplayer/input.conf
|
||||
%%PORTDOCS%%@dirrm share/doc/mplayer
|
||||
@dirrm lib/mplayer/vidix
|
||||
@dirrm lib/mplayer
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= mplayer
|
||||
PORTVERSION= 0.90.0.6
|
||||
PORTVERSION= 0.90.0.8
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
|
||||
http://www.mplayerhq.hu/MPlayer/releases/ \
|
||||
@ -16,7 +16,7 @@ MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
|
||||
ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \
|
||||
ftp://ftp.lug.udel.edu/MPlayer/releases/ \
|
||||
http://www.rrr.de/~riggs/mplayer/
|
||||
DISTNAME= MPlayer-0.90pre6
|
||||
DISTNAME= MPlayer-0.90pre8
|
||||
|
||||
MAINTAINER= riggs@rrr.de
|
||||
|
||||
@ -32,7 +32,8 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS=${PTHREAD_LIBS}
|
||||
CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \
|
||||
--with-extraincdir=${LOCALBASE}/include
|
||||
--with-extraincdir=${LOCALBASE}/include \
|
||||
--disable-vidix
|
||||
|
||||
USE_GNOMENG= yes
|
||||
WANT_GNOME= yes
|
||||
@ -79,6 +80,9 @@ CFLAGS+= -O3 -ffast-math -fomit-frame-pointer
|
||||
|
||||
.if ${HAVE_GNOME:Mgtk12}!=""
|
||||
WITH_GUI= yes
|
||||
PLIST_SUB+= GMPLAYER=""
|
||||
.else
|
||||
PLIST_SUB+= GMPLAYER="@comment"
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GUI)
|
||||
@ -228,7 +232,10 @@ post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/DOCS/${doc} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@${CAT} pkg-message
|
||||
.if defined(WITH_GUI)
|
||||
@${LN} -sf ${PREFIX}/bin/mplayer ${PREFIX}/bin/gmplayer
|
||||
.endif
|
||||
@${CAT} ${.CURDIR}/pkg-message
|
||||
|
||||
install-user:
|
||||
@${PERL} ${FILESDIR}/install-user
|
||||
|
@ -1 +1 @@
|
||||
MD5 (MPlayer-0.90pre6.tar.bz2) = 819b4db6133291886df34cadcc03e09d
|
||||
MD5 (MPlayer-0.90pre8.tar.bz2) = 8c844865b05574a1cfb2813e8487d21b
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- configure.orig Mon Aug 5 19:23:22 2002
|
||||
+++ configure Wed Aug 7 12:47:05 2002
|
||||
@@ -480,19 +480,10 @@
|
||||
--- configure.orig Tue Sep 17 21:47:55 2002
|
||||
+++ configure Thu Sep 19 12:19:12 2002
|
||||
@@ -491,19 +491,10 @@
|
||||
|
||||
# Try to find the available options for the current CPU
|
||||
if x86 || ppc; then
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -1`
|
||||
pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1`
|
||||
@@ -1246,8 +1237,8 @@
|
||||
@@ -1289,8 +1280,8 @@
|
||||
;;
|
||||
|
||||
*)
|
||||
@ -31,7 +31,7 @@
|
||||
;;
|
||||
|
||||
esac
|
||||
@@ -1588,13 +1579,7 @@
|
||||
@@ -1688,13 +1679,7 @@
|
||||
|
||||
|
||||
echocheck "memalign()"
|
||||
@ -45,7 +45,7 @@
|
||||
if test "$_memalign" = yes ; then
|
||||
_def_memalign='#define HAVE_MEMALIGN 1'
|
||||
else
|
||||
@@ -1671,31 +1656,7 @@
|
||||
@@ -1771,31 +1756,7 @@
|
||||
|
||||
|
||||
echocheck "pthread"
|
||||
@ -78,43 +78,12 @@
|
||||
echores "yes (using $_ld_pthread)"
|
||||
|
||||
|
||||
@@ -3413,11 +3374,7 @@
|
||||
|
||||
echocheck "iconv"
|
||||
if test "$_iconv" = auto ; then
|
||||
- if freebsd ; then
|
||||
- _iconv_tmp='#include <giconv.h>'
|
||||
- else
|
||||
- _iconv_tmp='#include <iconv.h>'
|
||||
- fi
|
||||
+ _iconv_tmp='#include <iconv.h>'
|
||||
cat > $TMPC << EOF
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
@@ -3451,7 +3408,7 @@
|
||||
EOF
|
||||
_iconv=no
|
||||
if freebsd ; then
|
||||
- cc_check -lm -lgiconv && _iconv=yes
|
||||
+ cc_check -lm -liconv && _iconv=yes
|
||||
elif bsdos || openbsd ; then
|
||||
cc_check -lm -liconv && _iconv=yes
|
||||
else
|
||||
@@ -3460,7 +3417,7 @@
|
||||
fi
|
||||
if test "$_iconv" = yes ; then
|
||||
_def_iconv='#define USE_ICONV 1'
|
||||
- freebsd && _ld_iconv='-lgiconv'
|
||||
+ freebsd && _ld_iconv='-liconv'
|
||||
bsdos && _ld_iconv='-liconv'
|
||||
openbsd && _ld_iconv='-liconv'
|
||||
else
|
||||
@@ -3979,7 +3936,7 @@
|
||||
@@ -4211,7 +4172,7 @@
|
||||
CFLAGS="$CFLAGS -D_REENTRANT"
|
||||
elif bsd ; then
|
||||
# FIXME bsd needs this so maybe other OS'es
|
||||
- CFLAGS="$CFLAGS -D_THREAD_SAFE"
|
||||
+ CFLAGS="$CFLAGS ${PTHREAD_CFLAGS}"
|
||||
fi
|
||||
|
||||
# 64 bit file offsets?
|
||||
if test "$_largefiles" = yes || freebsd ; then
|
||||
|
@ -1,22 +1,15 @@
|
||||
--- Makefile.orig Thu Jul 25 05:37:27 2002
|
||||
+++ Makefile Wed Aug 7 13:07:21 2002
|
||||
@@ -24,12 +24,12 @@
|
||||
--- Makefile.orig Mon Sep 9 13:47:54 2002
|
||||
+++ Makefile Thu Sep 19 12:54:34 2002
|
||||
@@ -24,7 +24,7 @@
|
||||
endif
|
||||
|
||||
#prefix = /usr/local
|
||||
-BINDIR = ${prefix}/bin
|
||||
+BINDIR = $(PREFIX)/bin
|
||||
# BINDIR = /usr/local/bin
|
||||
-MANDIR = ${prefix}/man
|
||||
+MANDIR = $(PREFIX)/man
|
||||
|
||||
# a BSD compatible 'install' program
|
||||
-INSTALL = install
|
||||
+INSTALL = @${BSD_INSTALL_PROGRAM}
|
||||
|
||||
SRCS_COMMON = xacodec.c cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c sub_cc.c find_sub.c
|
||||
SRCS_MENCODER = mencoder.c mp_msg-mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/osd.c libvo/sub.c libvo/font_load.c me-opt-reg.c
|
||||
@@ -226,44 +226,11 @@
|
||||
SRCS_COMMON = cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c sub_cc.c find_sub.c
|
||||
SRCS_MENCODER = mencoder.c mp_msg-mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/osd.c libvo/sub.c libvo/font_load.c libvo/font_load_ft.c me-opt-reg.c xvid_vbr.c
|
||||
@@ -193,44 +193,11 @@
|
||||
ifeq ($(VIDIX),yes)
|
||||
$(DO_MAKE)
|
||||
endif
|
||||
@ -50,7 +43,7 @@
|
||||
-ifeq ($(DVDKIT),yes)
|
||||
-ifeq ($(DVDKIT_SHARED),yes)
|
||||
- if test ! -d $(LIBDIR) ; then mkdir -p $(LIBDIR) ; fi
|
||||
- $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
|
||||
- $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit2/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
|
||||
-endif
|
||||
-endif
|
||||
-ifeq ($(CSS_USE),yes)
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- subreader.c.orig Mon May 13 22:41:20 2002
|
||||
+++ subreader.c Tue Jun 4 22:54:33 2002
|
||||
@@ -18,11 +18,7 @@
|
||||
#define ERR ((void *) -1)
|
||||
|
||||
#ifdef USE_ICONV
|
||||
-#ifdef __FreeBSD__
|
||||
-#include <giconv.h>
|
||||
-#else
|
||||
#include <iconv.h>
|
||||
-#endif
|
||||
char *sub_cp=NULL;
|
||||
#endif
|
||||
|
@ -1,13 +1,6 @@
|
||||
bin/mplayer
|
||||
bin/mencoder
|
||||
lib/libdha-0.1.so
|
||||
lib/libdha.so
|
||||
lib/mplayer/vidix/mach64_vid.so
|
||||
lib/mplayer/vidix/mga_crtc2_vid.so
|
||||
lib/mplayer/vidix/mga_vid.so
|
||||
lib/mplayer/vidix/pm3_vid.so
|
||||
lib/mplayer/vidix/radeon_vid.so
|
||||
lib/mplayer/vidix/rage128_vid.so
|
||||
%%GMPLAYER%%bin/gmplayer
|
||||
%%PORTDOCS%%share/doc/mplayer/bugreports.html
|
||||
%%PORTDOCS%%share/doc/mplayer/cd-dvd.html
|
||||
%%PORTDOCS%%share/doc/mplayer/codecs-in.html
|
||||
@ -24,5 +17,3 @@ share/mplayer/codecs.conf
|
||||
share/mplayer/example.conf
|
||||
share/mplayer/input.conf
|
||||
%%PORTDOCS%%@dirrm share/doc/mplayer
|
||||
@dirrm lib/mplayer/vidix
|
||||
@dirrm lib/mplayer
|
||||
|
Loading…
Reference in New Issue
Block a user