From b8ab8cc71c0f998af1d5e1b4bc68d837e1974266 Mon Sep 17 00:00:00 2001 From: lioux Date: Sun, 25 Aug 2002 15:44:04 +0000 Subject: o Patch it to work with Qt 3.x o Bump PORTREVISION PR: 41989 Submitted by: maintainer --- audio/xsidplay/Makefile | 14 +++++++------- audio/xsidplay/files/patch-src::PlaylistEditDialogData.cpp | 11 +++++++++++ 2 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 audio/xsidplay/files/patch-src::PlaylistEditDialogData.cpp (limited to 'audio') diff --git a/audio/xsidplay/Makefile b/audio/xsidplay/Makefile index beeb544083a1..cb7064f75ea8 100644 --- a/audio/xsidplay/Makefile +++ b/audio/xsidplay/Makefile @@ -7,23 +7,24 @@ PORTNAME= xsidplay PORTVERSION= 1.6.4.3 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= audio emulators MASTER_SITES= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/ EXTRACT_SUFX= .tgz -MAINTAINER= jmcoopr@webmail.bmi.net +MAINTAINER= coop9211@uidaho.edu LIB_DEPENDS= sidplay.1:${PORTSDIR}/audio/libsidplay USE_X_PREFIX= yes -USE_QT_VER= 2 +USE_QT_VER= 3 USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-qt-binaries=${X11BASE}/bin +CONFIGURE_ARGS= --with-qt3 --with-qt-binaries=${X11BASE}/bin QTCPPFLAGS+= ${PTHREAD_CFLAGS} QTCFGLIBS+= ${PTHREAD_LIBS} +USE_REINPLACE= yes MAN1= xsidplay.1 @@ -35,10 +36,9 @@ CFLAGS+= -O0 pre-patch: .for file in configure src/Makefile.in - @${PERL} -pi -e 's|moc|${MOC:T}|g ; \ - s|qt-mt|${QTNAME}-mt|g' ${WRKSRC}/${file} + @${REINPLACE_CMD} -e 's|lib-mt|libqt-mt|g' ${WRKSRC}/${file} .endfor - @${PERL} -pi -e 's|/usr/share|${PREFIX}|g' ${WRKSRC}/xsidplay.1 + @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}|g' ${WRKSRC}/xsidplay.1 do-install: @${MKDIR} ${PREFIX}/share/pixmaps diff --git a/audio/xsidplay/files/patch-src::PlaylistEditDialogData.cpp b/audio/xsidplay/files/patch-src::PlaylistEditDialogData.cpp new file mode 100644 index 000000000000..e8f347b37070 --- /dev/null +++ b/audio/xsidplay/files/patch-src::PlaylistEditDialogData.cpp @@ -0,0 +1,11 @@ +--- src/PlaylistEditDialogData.cpp.orig Mon Nov 19 11:41:19 2001 ++++ src/PlaylistEditDialogData.cpp Sat Aug 24 19:41:01 2002 +@@ -151,8 +151,6 @@ + + subtuneSpinBox = new QSpinBox( this, "subtuneSpinBox" ); + subtuneSpinBox->setGeometry( QRect( 260, 115, 50, 25 ) ); +- subtuneSpinBox->setFrameShape( QSpinBox::WinPanel ); +- subtuneSpinBox->setFrameShadow( QSpinBox::Sunken ); + subtuneSpinBox->setButtonSymbols( QSpinBox::PlusMinus ); + subtuneSpinBox->setMaxValue( 256 ); + subtuneSpinBox->setMinValue( 1 ); -- cgit