aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-08-25 23:44:04 +0800
committerlioux <lioux@FreeBSD.org>2002-08-25 23:44:04 +0800
commitb8ab8cc71c0f998af1d5e1b4bc68d837e1974266 (patch)
tree83aca3a33893ea32eceef8165911b9a586a0a2a6 /audio
parent2b7c641e4b141f85c6e83d6fd27f8bebac9d3fa8 (diff)
downloadfreebsd-ports-gnome-b8ab8cc71c0f998af1d5e1b4bc68d837e1974266.tar.gz
freebsd-ports-gnome-b8ab8cc71c0f998af1d5e1b4bc68d837e1974266.tar.zst
freebsd-ports-gnome-b8ab8cc71c0f998af1d5e1b4bc68d837e1974266.zip
o Patch it to work with Qt 3.x
o Bump PORTREVISION PR: 41989 Submitted by: maintainer
Diffstat (limited to 'audio')
-rw-r--r--audio/xsidplay/Makefile14
-rw-r--r--audio/xsidplay/files/patch-src::PlaylistEditDialogData.cpp11
2 files changed, 18 insertions, 7 deletions
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 );