From owner-svn-ports-head@FreeBSD.ORG Fri Dec 20 08:12:24 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5F9AE20D; Fri, 20 Dec 2013 08:12:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4B46919D5; Fri, 20 Dec 2013 08:12:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBK8COO1052161; Fri, 20 Dec 2013 08:12:24 GMT (envelope-from avilla@svn.freebsd.org) Received: (from avilla@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBK8CNTv052157; Fri, 20 Dec 2013 08:12:23 GMT (envelope-from avilla@svn.freebsd.org) Message-Id: <201312200812.rBK8CNTv052157@svn.freebsd.org> From: Alberto Villa Date: Fri, 20 Dec 2013 08:12:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336992 - head/audio/amarok-kde4 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2013 08:12:24 -0000 Author: avilla Date: Fri Dec 20 08:12:23 2013 New Revision: 336992 URL: http://svnweb.freebsd.org/changeset/ports/336992 Log: - STAGEify. Submitted by: Alonso Schaich via area51 - Use OPTIONS helpers. Modified: head/audio/amarok-kde4/Makefile head/audio/amarok-kde4/pkg-plist Modified: head/audio/amarok-kde4/Makefile ============================================================================== --- head/audio/amarok-kde4/Makefile Fri Dec 20 08:11:38 2013 (r336991) +++ head/audio/amarok-kde4/Makefile Fri Dec 20 08:12:23 2013 (r336992) @@ -28,66 +28,39 @@ LATEST_LINK= ${PORTNAME}-kde4 USE_KDE4= kdehier kdelibs kdeprefix libkcddb libkcompactdisc \ nepomuk-core runtime automoc4 sharedmime strigi USE_MYSQL= embedded -USE_QT4= dbus designer gui network opengl \ +USE_QT4= corelib dbus designer gui network opengl \ phonon script sql svg webkit xml \ qmake_build moc_build rcc_build uic_build USE_XORG= x11 USE_BZIP2= yes -NO_STAGE= yes USES= cmake pkgconfig USE_LDCONFIG= yes -OPTIONS_DEFINE= AMAZON IPOD MP3TUNES MTP +BROKEN_sparc64= does not build (GCC-related error) + +OPTIONS_DEFINE= AMAZON IPOD MP3TUNES MTP NLS OPTIONS_DEFAULT=IPOD MP3TUNES MTP +OPTIONS_SUB= yes + +AMAZON_DESC= Amazon MP3 store support via clamz +AMAZON_RUN_DEPENDS= clamz:${PORTSDIR}/net/clamz + +IPOD_DESC= Apple iPod support +IPOD_LIB_DEPENDS= libgpod.so:${PORTSDIR}/audio/libgpod +IPOD_USE= GNOME=gdkpixbuf2,glib20 +IPOD_CMAKE_OFF= -DWITH_IPOD:BOOL=Off + +MP3TUNES_DESC= MP3tunes support +MP3TUNES_LIB_DEPENDS= libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth \ + libcurl.so:${PORTSDIR}/ftp/curl +MP3TUNES_USE= GNOME=glib20,libxml2 +MP3TUNES_CMAKE_OFF= -DWITH_MP3tunes:BOOL=Off + +MTP_LIB_DEPENDS= libmtp.so:${PORTSDIR}/audio/libmtp +MTP_CMAKE_OFF= -DWITH_Mtp:BOOL=Off -AMAZON_DESC= Amazon MP3 store support via clamz -IPOD_DESC= Apple iPod support -MP3TUNES_DESC= MP3tunes support - -.include - -.if ${ARCH} == "sparc64" -BROKEN= does not build on sparc64 (GCC-related error) -.endif - -.if ${PORT_OPTIONS:MAMAZON} -RUN_DEPENDS+= clamz:${PORTSDIR}/net/clamz -.endif - -.if ${PORT_OPTIONS:MIPOD} -LIB_DEPENDS+= libgpod.so:${PORTSDIR}/audio/libgpod -USE_GNOME+= gdkpixbuf2 glib20 -PLIST_SUB+= IPOD="" -.else -CMAKE_ARGS+= -DWITH_IPOD:BOOL=Off -PLIST_SUB+= IPOD="@comment " -.endif - -.if ${PORT_OPTIONS:MMP3TUNES} -LIB_DEPENDS+= libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth \ - libcurl.so:${PORTSDIR}/ftp/curl -USE_GNOME+= glib20 libxml2 -PLIST_SUB+= MP3TUNES="" -.else -CMAKE_ARGS+= -DWITH_MP3tunes:BOOL=Off -PLIST_SUB+= MP3TUNES="@comment " -.endif - -.if ${PORT_OPTIONS:MMTP} -LIB_DEPENDS+= libmtp.so:${PORTSDIR}/audio/libmtp -PLIST_SUB+= MTP="" -.else -CMAKE_ARGS+= -DWITH_Mtp:BOOL=Off -PLIST_SUB+= MTP="@comment " -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CMAKE_ARGS+= -DBUILD_po:BOOL=Off -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CMAKE_OFF= -DBUILD_po:BOOL=Off post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ @@ -99,9 +72,10 @@ post-patch: ${WRKSRC}/utilities/amzdownloader/CMakeLists.txt post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/utilities/amzdownloader/amzdownloader.xml \ - ${PREFIX}/share/mime/packages + ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_SCRIPT} ${WRKSRC}/utilities/amzdownloader/amzdownloader.desktop \ - ${PREFIX}/share/applications/kde4 + ${STAGEDIR}${PREFIX}/share/applications/kde4 .include Modified: head/audio/amarok-kde4/pkg-plist ============================================================================== --- head/audio/amarok-kde4/pkg-plist Fri Dec 20 08:11:38 2013 (r336991) +++ head/audio/amarok-kde4/pkg-plist Fri Dec 20 08:12:23 2013 (r336992) @@ -1271,6 +1271,7 @@ share/kde4/servicetypes/amarok_plugin.de %%NLS%%share/locale/zh_TW/LC_MESSAGES/amarokcollectionscanner_qt.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/amarokpkg.mo share/mime/packages/amzdownloader.xml +@dirrmtry share/mime/packages @dirrm share/doc/HTML/uk/amarok @dirrm share/doc/HTML/sv/amarok @dirrm share/doc/HTML/ru/amarok