1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Update to version 2.3.0

PR:		54900
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
Approved by:	fjoe (mentor) (implicit)
This commit is contained in:
Kirill Ponomarev 2003-07-27 16:09:36 +00:00
parent 43b052f6c0
commit 9480cd6b37
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85683
5 changed files with 17 additions and 52 deletions

View File

@ -7,30 +7,32 @@
#
PORTNAME= flip
PORTVERSION= 2.2.0
PORTREVISION= 1
PORTVERSION= 2.3.0
CATEGORIES= graphics
MASTER_SITES= http://www.reptilelabour.com/software/files/flip/
MAINTAINER= ports@freebsd.org
COMMENT= "Load a sequence of TIFF files and play them back at a target frame rate"
MAINTAINER= ports@FreeBSD.org
COMMENT= Load a sequence of TIFF files and play them back at a target frame rate
LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff
RUN_DEPENDS= mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode
WRKSRC= ${WRKDIR}/${DISTNAME:R}
USE_QT_VER= 3
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${DISTNAME:R}
CFLAGS+= -I${LOCALBASE}/include
MAKE_ENV= MOC="${MOC}" QTDIR="${X11BASE}"
MAKE_ENV= QTDIR="${QT_PREFIX}"
post-patch:
@${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CXX,#CXX,g ; \
s,-O2,${CFLAGS} ${PTHREAD_CFLAGS},g ; \
s,^MOC,#MOC,g ; s,lqt,lqt-mt ${PTHREAD_LIBS},g ; \
s,/usr/X11R6,${X11BASE},g ; \
s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Config.cpp
@${REINPLACE_CMD} -e 's|warn_on release|warn_on thread release|g ; \
s|/usr/X11R6/include|$${LOCALBASE}/include|g ; \
s|= -ltiff|= -L$${LOCALBASE}/lib -ltiff|g' ${WRKSRC}/FLIP.pro
@${REINPLACE_CMD} -e \
's|/usr/bin|${LOCALBASE}/bin|g' ${WRKSRC}/Config.cpp
do-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
-spec ${X11BASE}/share/qt/mkspecs/freebsd-g++ FLIP.pro
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flip ${PREFIX}/bin

View File

@ -1 +1 @@
MD5 (flip-2.2.0.tar.gz) = f38bc69b794ae722e8b775f4c846a314
MD5 (flip-2.3.0.tar.gz) = 8cb1c99109c0114272236fdcc7ae70b5

View File

@ -1,11 +0,0 @@
--- Config.cpp.orig Tue Mar 5 16:15:53 2002
+++ Config.cpp Tue Mar 5 16:16:50 2002
@@ -16,7 +16,7 @@
flipFPS = MainWindow::F30;
loadFrames = 100;
- mpegExec = "/usr/bin/mpeg_encode";
+ mpegExec = "%%LOCALBASE%%/bin/mpeg_encode";
mpegPattern = "IBBPBBPBBPBB";
mpegPSearch = 0;
mpegBSearch = 1;

View File

@ -1,11 +0,0 @@
--- FileDialog.cpp.orig Sun Feb 23 01:23:20 2003
+++ FileDialog.cpp Sun Feb 23 01:25:40 2003
@@ -199,8 +199,6 @@
int wHeight = 25;
int wWidth = 90;
setFrameStyle(QFrame::Panel | QFrame::Sunken);
- setFontPropagation(NoChildren);
- setPalettePropagation(NoChildren);
resizeCombo = new QComboBox(this);
resizeCombo->setFixedSize(wWidth, wHeight);

View File

@ -1,15 +0,0 @@
--- Makefile.orig Sun Jun 3 08:46:32 2001
+++ Makefile Tue Mar 5 16:07:48 2002
@@ -11,10 +11,10 @@
CXX = g++
CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
CXXFLAGS= -pipe -Wall -W -O2 -DNO_DEBUG
-INCPATH = -I/usr/X11R6/include -I$(QTDIR)/include
+INCPATH = -I/usr/X11R6/include -I$(QTDIR)/include
LINK = g++
LFLAGS =
-LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -ltiff -lqt -lXext -lX11 -lm
+LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -L%%LOCALBASE%%/lib -ltiff -lqt -lXext -lX11 -lm
MOC = $(QTDIR)/bin/moc
UIC = $(QTDIR)/bin/uic