diff options
author | Cy Schubert <cy@FreeBSD.org> | 2013-05-04 19:16:36 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2013-05-04 19:16:36 +0000 |
commit | ffe7af9d6379d461052862b533c507ffa680afef (patch) | |
tree | f8205eacb912a1417369b352ac79470b6a4b4c04 /audio/hydrogen | |
parent | fcbe3244896e82af6eb592b5cdc9c1a3b2f770f1 (diff) | |
download | ports-ffe7af9d6379d461052862b533c507ffa680afef.tar.gz ports-ffe7af9d6379d461052862b533c507ffa680afef.zip |
Update 0.9.5 --> 0.9.5.1.
Unbreak build.
Assign Shane Ambler <FreeBSD@Shaneware.biz> as new maintainer.
PR: 177806
Submitted by: Shane Ambler <FreeBSD@Shaneware.biz>
Approved by: Maintainer (devel@stasyan.com)
Notes
Notes:
svn path=/head/; revision=317333
Diffstat (limited to 'audio/hydrogen')
-rw-r--r-- | audio/hydrogen/Makefile | 10 | ||||
-rw-r--r-- | audio/hydrogen/distinfo | 4 | ||||
-rw-r--r-- | audio/hydrogen/files/patch-Sconstruct | 37 | ||||
-rw-r--r-- | audio/hydrogen/pkg-plist | 5 |
4 files changed, 40 insertions, 16 deletions
diff --git a/audio/hydrogen/Makefile b/audio/hydrogen/Makefile index f5c0e550ba4f..8f2325e6350f 100644 --- a/audio/hydrogen/Makefile +++ b/audio/hydrogen/Makefile @@ -2,11 +2,11 @@ # $FreeBSD$ PORTNAME= hydrogen -PORTVERSION= 0.9.5 +PORTVERSION= 0.9.5.1 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/Hydrogen/${MAJORVERSION}%20Sources -MAINTAINER= devel@stasyan.com +MAINTAINER= FreeBSD@ShaneWare.Biz COMMENT= An advanced drum machine LICENSE= GPLv2 @@ -16,10 +16,6 @@ LIB_DEPENDS+= sndfile:${PORTSDIR}/audio/libsndfile \ tar:${PORTSDIR}/devel/libtar \ lrdf:${PORTSDIR}/textproc/liblrdf -DEPRECATED= Broken for more than 6 month -EXPIRATION_DATE= 2013-03-05 -BROKEN= does not install - MAJORVERSION= 0.9.5 USE_QT4= corelib gui linguist_build moc_build network qt3support rcc_build sql uic_build xml USE_SCONS= yes @@ -30,7 +26,7 @@ OPTIONS_DEFAULT= JACK LIBARCHIVE_DESC= LibArchive support post-patch: - ${REINPLACE_CMD} -e "s|includes = \[\]|includes = \['-I${QT_INCDIR}/QtCore', '-I${QT_INCDIR}/QtXml', '-I${QT_INCDIR}/QtGui', '-I${QT_INCDIR}', '-I${QT_INCDIR}/Qt', '-I${LOCALBASE}/include'\]|g; s|ldflags = \[\]|ldflags = \['-L${QT_LIBDIR}','-L${LOCALBASE}/lib'\,'-lQtCore', '-lQtGui', '-lQtXml', '-lQtNetwork', '${PTHREAD_LIBS}']|g" ${WRKSRC}/Sconstruct + ${REINPLACE_CMD} -e "s|includes = \[\]|includes = \['-I${QT_INCDIR}/QtCore', '-I${QT_INCDIR}/QtXml', '-I${QT_INCDIR}/QtGui', '-I${QT_INCDIR}', '-I${QT_INCDIR}/Qt', '-I${LOCALBASE}/include', '-I${LOCALBASE}/include/raptor2'\]|g; s|ldflags = \[\]|ldflags = \['-L${QT_LIBDIR}','-L${LOCALBASE}/lib'\,'-lQtCore', '-lQtGui', '-lQtXml', '-lQtNetwork', '${PTHREAD_LIBS}']|g" ${WRKSRC}/Sconstruct .include <bsd.port.options.mk> diff --git a/audio/hydrogen/distinfo b/audio/hydrogen/distinfo index 59b971b97790..1c79f17e97de 100644 --- a/audio/hydrogen/distinfo +++ b/audio/hydrogen/distinfo @@ -1,2 +1,2 @@ -SHA256 (hydrogen-0.9.5.tar.gz) = 963c73ef911ec9e7589e502d17df3b794dd027d7e99a36b5115a0bb51389d9c3 -SIZE (hydrogen-0.9.5.tar.gz) = 5239702 +SHA256 (hydrogen-0.9.5.1.tar.gz) = ebe105fec9ce8e2129f9e1bb5bfe675f1c7143a80babda40620cb3ef9eb97ebb +SIZE (hydrogen-0.9.5.1.tar.gz) = 5515314 diff --git a/audio/hydrogen/files/patch-Sconstruct b/audio/hydrogen/files/patch-Sconstruct index 624f7de9cc85..cce4295e0f11 100644 --- a/audio/hydrogen/files/patch-Sconstruct +++ b/audio/hydrogen/files/patch-Sconstruct @@ -1,26 +1,49 @@ ---- Sconstruct.orig 2011-03-15 18:22:35.000000000 +0600 -+++ Sconstruct 2011-03-22 16:06:25.000000000 +0600 +--- Sconstruct.orig 2012-02-20 08:24:05.000000000 +1030 ++++ Sconstruct 2013-04-12 16:49:47.220965697 +0930 @@ -47,7 +47,7 @@ env = Environment( options = opts ) -- if sys.platform == "linux2" or sys.platform == "darwin": -+ if sys.platform == "linux2" or sys.platform == "darwin" or sys.platform > "freebsd": +- if sys.platform == "linux2" or sys.platform == "linux3" or sys.platform == "darwin": ++ if sys.platform == "linux2" or sys.platform == "linux3" or sys.platform == "darwin" or sys.platform > "freebsd": if str(env['debug']) == "1": cppflags += ['-Wall', '-g2', '-ggdb', '-O0'] for flag in env["optflags"].split(" "): -@@ -91,11 +91,12 @@ +@@ -91,11 +91,13 @@ includes.append( '/opt/local/include' ) includes.append( '/usr/local/include/jack' ) -- elif sys.platform == 'linux2': +- elif sys.platform == 'linux2' or sys.platform == 'linux3': + elif str(env['alsa']) == "1" and sys.platform > 'freebsd' : ldflags.append('-lpthread') ldflags.append('-lasound') # ldflags.append('-lrubberband') -- + + elif sys.platform > 'freebsd' : + print "Alsa disabled; nothing to do" elif sys.platform == "win32": includes.append( '3rdparty\libsndfile-1_0_17' ) includes.append( 'build\pthreads\include' ) +@@ -299,7 +301,7 @@ + + for N in glob.glob('./data/i18n/hydrogen.*'): + env.Alias(target="install", source=env.Install(dir= env['DESTDIR'] + env['prefix'] + '/share/hydrogen/data/i18n', source=N)) +- env.Alias(target="install", source=env.Install(dir= env['DESTDIR'] + env['prefix'] + '/share/hydrogen/data', source="./data/img")) ++ env.Alias(target="install", source=env.Install(dir= env['DESTDIR'] + env['prefix'] + '/share/hydrogen', source="./data")) + + #add every img in ./data/img to the install list. + os.path.walk("./data/img/",install_images,env) +@@ -450,9 +452,9 @@ + Exit(1) + + #lrdf: categorizing of ladspa effects +-if str(env['lrdf']) == "1" and not conf.CheckCHeader('lrdf.h'): +- print 'lrdf must be installed!' +- Exit(1) ++#if str(env['lrdf']) == "1" and not conf.CheckCHeader('lrdf.h'): ++# print 'lrdf must be installed!' ++# Exit(1) + + + print "" + diff --git a/audio/hydrogen/pkg-plist b/audio/hydrogen/pkg-plist index 0715cf16917f..0c8551f4f177 100644 --- a/audio/hydrogen/pkg-plist +++ b/audio/hydrogen/pkg-plist @@ -211,6 +211,9 @@ share/applications/hydrogen.desktop %%DATADIR%%/data/doc/tutorial.docbook %%DATADIR%%/data/doc/tutorial.pot %%DATADIR%%/data/doc/tutorial_en.html +%%DATADIR%%/data/doc/tutorial_es.docbook +%%DATADIR%%/data/doc/tutorial_es.html +%%DATADIR%%/data/doc/tutorial_es.po %%DATADIR%%/data/doc/tutorial_fr.html %%DATADIR%%/data/doc/tutorial_fr.po %%DATADIR%%/data/doc/tutorial_it.html @@ -258,6 +261,8 @@ share/applications/hydrogen.desktop %%DATADIR%%/data/i18n/hydrogen.cs.ts %%DATADIR%%/data/i18n/hydrogen.de.qm %%DATADIR%%/data/i18n/hydrogen.de.ts +%%DATADIR%%/data/i18n/hydrogen.el.qm +%%DATADIR%%/data/i18n/hydrogen.el.ts %%DATADIR%%/data/i18n/hydrogen.es.qm %%DATADIR%%/data/i18n/hydrogen.es.ts %%DATADIR%%/data/i18n/hydrogen.fr.qm |