On Fri, 12 Dec 2008 11:34:13 -0600, Matt wrote: > I've updated the Amarok 2 port that's been shared on this list > previously so that it builds for the recently released version 2 (see > attached shell archive). This port builds cleanly in a tinderbox and > doesn't show any errors with portlint, so hopefully it works > reasonably well for other. > > Note: Amarok 2 depends on an embedded version of MySQL. I've > submitted a PR (http://www.freebsd.org/cgi/query-pr.cgi?pr=128757) > requesting that embedded MySQL be added to the ports tree, but in the > interim you will have to manually add this embedded MySQL port to your > tree. There is a sample filed with the PR that works for MySQL > version 5.1.
The port needs more polish before it could be committed. Basically dependencies should be checked carefully (and thus plist for various options). See also diff for port Makefile. And thanks for working on amarok2 port! I'd like to port it but I have no enough time --- kde 4.2 is waiting for me :) Cheers, Max
--- Makefile.orig 2008-12-13 00:09:53.000000000 +0300 +++ Makefile 2008-12-13 00:10:51.000000000 +0300 @@ -15,24 +15,22 @@ COMMENT= Media player for KDE4 LIB_DEPENDS= tag.6:${PORTSDIR}/audio/taglib \ - tunepimp.5:${PORTSDIR}/audio/libtunepimp \ mp4v2:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 \ - xine.1:${PORTSDIR}/multimedia/libxine -BUILD_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqld.a:${PORTSDIR}/databases/mysql51-embedded +BUILD_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqld.a:${PORTSDIR}/databases/mysql${MYSQL_VER}-embedded MIN_OPTIONS_VER= ${PORTNAME}-1.4.1 USE_BZIP2= yes -USE_KDE4= kdelibs automoc4 workspace +USE_KDE4= kdehier kdeprefix kdelibs automoc4 workspace USE_QT_VER= 4 -QT_COMPONENTS= corelib gui moc rcc uic network opengl qt3support script svg webkit +QT_COMPONENTS= corelib gui network opengl qt3support script svg webkit \ + qmake_build moc_build rcc_build uic_build USE_GETTEXT= yes USE_SDL= sdl USE_RUBY= yes -PREFIX= ${KDE4_PREFIX} +USE_MYSQL= yes USE_CMAKE= yes -INSTALLS_ICONS= yes OPTIONS= GPOD "iPod support" on \ NJB "Creative Nomad and Dell support" on \ @@ -45,27 +43,30 @@ CMAKE_USE_PTHREAD+= yes .endif -post-extract: - ${MKDIR} ${WRKSRC} - -post-configure: - ${FIND} ${WRKSRC} -type f -name link.txt | ${XARGS} ${REINPLACE_CMD} -e 's|-ldl||g' - .if defined(WITH_GPOD) LIB_DEPENDS+= gpod.3:${PORTSDIR}/audio/libgpod PLIST_SUB+= GPOD="" +.else +CMAKE_ARGS+= -DWITH_Ipod:BOOL=Off +PLIST_SUB+= GPOD="@comment " .endif -.if defined(WITH_NJB) -LIB_DEPENDS+= njb.6:${PORTSDIR}/audio/libnjb -.endif +# disabled in amarok2 +# .if defined(WITH_NJB) +# LIB_DEPENDS+= njb.6:${PORTSDIR}/audio/libnjb +# .endif +# required mtp>=0.3.0, ports have 0.2.6 .if defined(WITH_MTP) LIB_DEPENDS+= mtp.9:${PORTSDIR}/audio/libmtp +.else +CMAKE_ARGS+= -DWITH_Mtp:BOOL=Off .endif .if defined(WITH_LOUDMOUTH) LIB_DEPENDS+= loudmouth-1.0:${PORTSDIR}/net-im/loudmouth +.else +CMAKE_ARGS+= -DWITH_Loudmouth:BOOL=Off .endif .include <bsd.port.post.mk>
_______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information