aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-02-03 00:15:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-02-03 00:15:58 +0800
commit9ef0dfc3655aba3c4efc76324110cc08a8ebf756 (patch)
tree34acd531599f37bfe9bfb32b0e3803ceb89ae5ee /audio
parenta16527776f8d4bfec41c566164f036b6250ae185 (diff)
downloadfreebsd-ports-gnome-9ef0dfc3655aba3c4efc76324110cc08a8ebf756.tar.gz
freebsd-ports-gnome-9ef0dfc3655aba3c4efc76324110cc08a8ebf756.tar.zst
freebsd-ports-gnome-9ef0dfc3655aba3c4efc76324110cc08a8ebf756.zip
- Remove bogus (in presence of USE_GITHUB) USES=tar*
- Fix depends (qt dbus always used, gnome stuff always pulled by libgpod) - Remove unneeded port.pre.mk - Verbosify build Approved by: portmgr blanket
Diffstat (limited to 'audio')
-rw-r--r--audio/lastfm-desktop/Makefile10
-rw-r--r--audio/lastfm-desktop/files/patch-admin_include.qmake11
2 files changed, 15 insertions, 6 deletions
diff --git a/audio/lastfm-desktop/Makefile b/audio/lastfm-desktop/Makefile
index 5a008e8f990b..69c6d605171e 100644
--- a/audio/lastfm-desktop/Makefile
+++ b/audio/lastfm-desktop/Makefile
@@ -21,8 +21,8 @@ LIB_DEPENDS= liblastfm.so:audio/liblastfm \
USE_GITHUB= yes
GH_ACCOUNT= lastfm
-USES= gettext pkgconfig qmake tar:bzip2 gmake
-USE_QT4= corelib gui linguist_build moc_build network phonon \
+USES= gettext pkgconfig qmake gmake
+USE_QT4= corelib dbus gui linguist_build moc_build network phonon \
rcc_build sql uic_build webkit xml
SUB_FILES= lastfm-desktop.sh
@@ -37,12 +37,10 @@ OPTIONS_SINGLE= PHONON
OPTIONS_SINGLE_PHONON= GSTREAMER VLC
OPTIONS_DEFAULT= VLC
GSTREAMER_DESC= Multimedia via Phonon-GStreamer
-GSTREAMER_USE= QT4=dbus,phonon-gst_run GNOME=gdkpixbuf2,glib20
+GSTREAMER_USE= QT4=phonon-gst_run
VLC_DESC= Multimedia via Phonon-VLC
VLC_RUN_DEPENDS= phonon-vlc>=0.6.1:multimedia/phonon-vlc
-.include <bsd.port.pre.mk>
-
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/lastfm-desktop.sh ${STAGEDIR}${PREFIX}/bin/lastfm-desktop
@@ -52,4 +50,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/app/client/audioscrobbler.ico ${STAGEDIR}${PREFIX}/share/pixmaps/
(cd ${WRKSRC}/app/client && ${COPYTREE_SHARE} qrc ${STAGEDIR}${DATADIR})
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/lastfm-desktop/files/patch-admin_include.qmake b/audio/lastfm-desktop/files/patch-admin_include.qmake
new file mode 100644
index 000000000000..4fd1a2ce537b
--- /dev/null
+++ b/audio/lastfm-desktop/files/patch-admin_include.qmake
@@ -0,0 +1,11 @@
+--- admin/include.qmake.orig 2013-09-03 12:19:10 UTC
++++ admin/include.qmake
+@@ -45,8 +45,6 @@ unix:!mac {
+ #default install target
+ target.path = $$INSTALL_DIR/lib
+
+-CONFIG += silent
+-
+ macx:CONFIG( app_bundle ): contains( TEMPLATE, app ) {
+ DISTDIR = $$ROOT_DIR/admin/dist/mac
+ BUNDLE_DIR = $$DESTDIR/$$TARGET$$quote(.app)