[kde-freebsd] Amarok2 port available for testing

Dima Panov Fluffy at fluffy.khv.ru
Sat Dec 13 03:30:21 CET 2008


On Saturday 13 December 2008 07:27:05 Max Brazhnikov wrote:
> 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 :)

Max,  Your version needs another addition to Makefile for correct lib path for 
dependencies..

--- Makefile	2008-12-13 12:22:09.000000000 +1000
+++ Makefile	2008-12-13 12:23:06.000000000 +1000
 CMAKE_ARGS+=	-DWITH_Loudmouth:BOOL=Off
 .endif
 
+post-extract:
+	${MKDIR} ${WRKSRC}
+	${REINPLACE_CMD} -e 's| MYSQLD_EXECUTABLE mysqld | MYSQLD_EXECUTABLE mysqld_safe 
/usr/local/bin |g' \
+		${WRKSRC}/cmake/modules/FindMySQLAmarok.cmake
+	${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \
+		${WRKSRC}/cmake/modules/FindIpod.cmake
+	${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \
+		${WRKSRC}/cmake/modules/FindLoudmouth.cmake
+	${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \
+		${WRKSRC}/cmake/modules/FindGdk.cmake
+
+post-configure:
+	${FIND} ${WRKSRC} -type f -name link.txt | ${XARGS} ${REINPLACE_CMD} -e 's|-ldl||g'
+
+
 .include <bsd.port.post.mk>

-- 
Dmitry "Red Fox" Panov @ Home	                  FreeBSD since September, 1995
Khabarovsk, Russia       Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.diff
Type: text/x-patch
Size: 794 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20081213/1692d779/attachment.diff 


More information about the kde-freebsd mailing list