mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
- Explicitly depend on qt4-corelib, which was otherwise pulled indirectly by
the other Qt dependencies. - Support staging. Commits by makc@ and Schaich Alonso <alonsoschaich@fastmail.fm>, pulled from our area51 repository.
This commit is contained in:
parent
10bc648258
commit
83c3828638
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330416
@ -19,7 +19,7 @@ CONFLICTS= qt4-phonon-4*
|
||||
PHONON_BRANCH= stable
|
||||
|
||||
USE_KDE4= kdehier kdeprefix automoc4
|
||||
USE_QT4= dbus gui \
|
||||
USE_QT4= corelib dbus gui \
|
||||
qmake_build moc_build rcc_build uic_build
|
||||
USE_XZ= yes
|
||||
USES= cmake
|
||||
@ -30,7 +30,6 @@ USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= PULSEAUDIO
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MPULSEAUDIO}
|
||||
@ -49,13 +48,14 @@ pre-configure:
|
||||
${PATCH_WRKSRC}/CMakeLists.txt
|
||||
|
||||
post-install:
|
||||
${LN} -sf ${PREFIX}/include/phonon ${QT_INCDIR}/phonon
|
||||
${LN} -sf ${PREFIX}/include/phonon ${QT_INCDIR}/Phonon
|
||||
${LN} -sf ${PREFIX}/include/KDE/Phonon ${PREFIX}/include/phonon/Phonon
|
||||
${MKDIR} ${STAGEDIR}${QT_INCDIR}
|
||||
${MKDIR} ${STAGEDIR}${QT_LIBDIR}
|
||||
${LN} -sf ${PREFIX}/include/phonon ${STAGEDIR}${QT_INCDIR}/phonon
|
||||
${LN} -sf ${PREFIX}/include/phonon ${STAGEDIR}${QT_INCDIR}/Phonon
|
||||
${LN} -sf ${PREFIX}/include/KDE/Phonon ${STAGEDIR}${PREFIX}/include/phonon/Phonon
|
||||
.for lib in phonon phononexperimental
|
||||
${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${QT_LIBDIR}/lib${lib}.so
|
||||
${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${QT_LIBDIR}/lib${lib}.so.4
|
||||
${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${STAGEDIR}${QT_LIBDIR}/lib${lib}.so
|
||||
${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${STAGEDIR}${QT_LIBDIR}/lib${lib}.so.4
|
||||
.endfor
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user