diff options
-rw-r--r-- | graphics/flip/Makefile | 10 | ||||
-rw-r--r-- | graphics/flip/files/patch-FileDialog.cpp | 11 | ||||
-rw-r--r-- | graphics/flip/files/patch-Makefile | 2 |
3 files changed, 18 insertions, 5 deletions
diff --git a/graphics/flip/Makefile b/graphics/flip/Makefile index e60ced41bedc..350af18e06d6 100644 --- a/graphics/flip/Makefile +++ b/graphics/flip/Makefile @@ -8,15 +8,17 @@ PORTNAME= flip PORTVERSION= 2.2.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.reptilelabour.com/software/files/flip/ -MAINTAINER= kde@freebsd.org +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 RUN_DEPENDS= mpeg_encode:${PORTSDIR}/graphics/mpeg_encode -USE_QT_VER= 2 +USE_QT_VER= 3 USE_REINPLACE= yes WRKSRC= ${WRKDIR}/${DISTNAME:R} CFLAGS+= -I${LOCALBASE}/include @@ -24,8 +26,8 @@ MAKE_ENV= MOC="${MOC}" QTDIR="${X11BASE}" post-patch: @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CXX,#CXX,g ; \ - s,^CFLAGS,#CFLAGS,g ; s,^CXXFLAGS,#CXXFLAGS,g ; \ - s,^MOC,#MOC,g ; s,lqt,lqt2,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 diff --git a/graphics/flip/files/patch-FileDialog.cpp b/graphics/flip/files/patch-FileDialog.cpp new file mode 100644 index 000000000000..6ecf17cfa79f --- /dev/null +++ b/graphics/flip/files/patch-FileDialog.cpp @@ -0,0 +1,11 @@ +--- 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); diff --git a/graphics/flip/files/patch-Makefile b/graphics/flip/files/patch-Makefile index 3d31eeb04a96..38705f71b34d 100644 --- a/graphics/flip/files/patch-Makefile +++ b/graphics/flip/files/patch-Makefile @@ -5,7 +5,7 @@ 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/qt2 ++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 |