View | Details | Raw Unified | Return to bug 202112
Collapse All | Expand All

(-)audio/qmpdclient/Makefile (-15 / +8 lines)
Lines 13-19 Link Here
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
15
16
USES=		tar:bzip2 qmake
16
USES=		qmake tar:bzip2
17
USE_QT4=	moc_build rcc_build uic_build \
17
USE_QT4=	moc_build rcc_build uic_build \
18
		corelib gui network xml xmlpatterns
18
		corelib gui network xml xmlpatterns
19
INSTALLS_ICONS=	yes
19
INSTALLS_ICONS=	yes
Lines 23-46 Link Here
23
DATADIR=	${PREFIX}/share/QMPDClient
23
DATADIR=	${PREFIX}/share/QMPDClient
24
WRKSRC=		${WRKDIR}/${PORTNAME}
24
WRKSRC=		${WRKDIR}/${PORTNAME}
25
25
26
.include  <bsd.port.options.mk>
26
OPTIONS_SUB=	NLS
27
27
28
.if ! ${PORT_OPTIONS:MNLS}
28
NLS_USE=	QT4=linguisttools_build
29
PLIST_SUB+=	NLS="@comment "
30
.else
31
USE_QT4+=	linguist_build
32
PLIST_SUB+=	NLS=""
33
.endif
34
29
35
.if ${PORT_OPTIONS:MDBUS}
30
DBUS_QMAKE_ON=	CONFIG+=qdbus
36
USE_QT4+=	dbus
31
DBUS_USE=	QT4=dbus
37
QMAKE_ARGS+=	"CONFIG+=qdbus"
38
.endif
39
32
40
.if ${PORT_OPTIONS:MDEBUG}
33
DEBUG_QMAKE_ON=	CONFIG+=debug
41
QMAKE_ARGS+=	"CONFIG+=debug"
42
.endif
43
34
35
.include  <bsd.port.options.mk>
36
44
post-patch:
37
post-patch:
45
.if ! ${PORT_OPTIONS:MNLS}
38
.if ! ${PORT_OPTIONS:MNLS}
46
	@${REINPLACE_CMD} -e '/INSTALLS += translations/d' \
39
	@${REINPLACE_CMD} -e '/INSTALLS += translations/d' \
(-)audio/qmpdclient/files/patch-qmpdclient.desktop (-3 / +3 lines)
Lines 1-6 Link Here
1
--- qmpdclient.desktop.orig	2011-02-04 14:22:08.000000000 +0300
1
--- qmpdclient.desktop.orig	2011-06-08 09:16:26 UTC
2
+++ qmpdclient.desktop	2011-03-25 13:43:51.000000000 +0300
2
+++ qmpdclient.desktop
3
@@ -4,6 +4,6 @@
3
@@ -4,6 +4,6 @@ Name=QMPDClient
4
 GenericName=Qt4 based MPD client
4
 GenericName=Qt4 based MPD client
5
 Comment=A nicer MPD client
5
 Comment=A nicer MPD client
6
 Exec=qmpdclient
6
 Exec=qmpdclient
(-)audio/qmpdclient/files/patch-qmpdclient.pro (-5 / +5 lines)
Lines 1-6 Link Here
1
--- qmpdclient.pro.orig	2011-06-08 13:16:26.000000000 +0400
1
--- qmpdclient.pro.orig	2011-06-08 09:16:26 UTC
2
+++ qmpdclient.pro	2011-09-21 14:18:07.000000000 +0400
2
+++ qmpdclient.pro
3
@@ -3,7 +3,7 @@
3
@@ -3,7 +3,7 @@ PREFIX = /usr/local
4
 
4
 
5
 # Most people need not muck about below here
5
 # Most people need not muck about below here
6
 #!contains(QT_MAJOR_VERSION, 4):error(QMPDClient requires Qt 4)
6
 #!contains(QT_MAJOR_VERSION, 4):error(QMPDClient requires Qt 4)
Lines 9-15 Link Here
9
 
9
 
10
 # addition ldflags for release build
10
 # addition ldflags for release build
11
 QMAKE_LFLAGS_RELEASE += -O2 -g0 -s
11
 QMAKE_LFLAGS_RELEASE += -O2 -g0 -s
12
@@ -212,16 +212,15 @@
12
@@ -212,16 +212,15 @@ unix {
13
         SOURCES += src/qmpdclient_x11.cpp
13
         SOURCES += src/qmpdclient_x11.cpp
14
         LIBS += -lX11
14
         LIBS += -lX11
15
         # Check for dbus support
15
         # Check for dbus support
Lines 28-34 Link Here
28
             SOURCES += src/notifications_nodbus.cpp
28
             SOURCES += src/notifications_nodbus.cpp
29
         }
29
         }
30
     }
30
     }
31
@@ -253,6 +252,7 @@
31
@@ -253,6 +252,7 @@ unix {
32
 translations.commands = lrelease $$TRANSLATIONS
32
 translations.commands = lrelease $$TRANSLATIONS
33
 translations.files = lang/cs_CZ.qm lang/de_DE.qm lang/es_ES.qm lang/fr_FR.qm lang/it_IT.qm lang/nl_NL.qm lang/nn_NO.qm lang/no_NO.qm lang/pt_BR.qm lang/ru_RU.qm lang/sv_SE.qm lang/tr_TR.qm lang/uk_UA.qm lang/zh_CN.qm lang/zh_TW.qm
33
 translations.files = lang/cs_CZ.qm lang/de_DE.qm lang/es_ES.qm lang/fr_FR.qm lang/it_IT.qm lang/nl_NL.qm lang/nn_NO.qm lang/no_NO.qm lang/pt_BR.qm lang/ru_RU.qm lang/sv_SE.qm lang/tr_TR.qm lang/uk_UA.qm lang/zh_CN.qm lang/zh_TW.qm
34
 translations.path = $$PREFIX/share/QMPDClient/translations
34
 translations.path = $$PREFIX/share/QMPDClient/translations

Return to bug 202112