ports/160891: [UPDATE]: audio/qmpdclient Update to new release, 1.2.2

Maxim Samsonov xors at mne.ru
Wed Sep 21 23:00:18 UTC 2011


>Number:         160891
>Category:       ports
>Synopsis:       [UPDATE]: audio/qmpdclient Update to new release, 1.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 21 23:00:17 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Maxim Samsonov
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
>Description:
Update to 1.2.2
Changes:
- Included LyricWiki scraper
- Removed QtWebkit dependency
- Fixed linking with gold and modern gcc
>How-To-Repeat:
>Fix:
--- audio-qmpdclient.patch begins here ---
diff --git a/audio/qmpdclient/Makefile b/audio/qmpdclient/Makefile
--- a/audio/qmpdclient/Makefile
+++ b/audio/qmpdclient/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	qmpdclient
-PORTVERSION=	1.2.1
+PORTVERSION=	1.2.2
 CATEGORIES=	audio
 MASTER_SITES=	http://dump.bitcheese.net/files/
 
@@ -21,26 +21,27 @@
 USE_BZIP2=	yes
 USE_QT_VER=	4
 QT_COMPONENTS=	qmake_build moc_build rcc_build uic_build \
-		corelib gui network webkit xml xmlpatterns
+		corelib gui network xml xmlpatterns
 MAKE_JOBS_SAFE=	yes
 INSTALLS_ICONS=	yes
 QMAKE_ARGS=	${QMAKE_PRO}
 QMAKE_PRO=	${PORTNAME}.pro
 
-OPTIONS=	DBUS	"Enable D-BUS support"	off
+OPTIONS=	DBUS	"Enable D-BUS support"	off \
+		NLS	"Enable National Language Support" on
 
 DATADIR=	${PREFIX}/share/QMPDClient
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 .include  <bsd.port.pre.mk>
 
-.if !defined(WITHOUT_NLS)
+.if defined(WITHOUT_NLS)
+PLIST_SUB+=	NLS="@comment "
+.else
 QT_COMPONENTS+=	linguist_build
+PLIST_SUB+=	NLS=""
 .endif
 
-# TRANSLATIONS=	cs_CZ de_DE es_ES fr_FR it_IT nl_NL nn_NO no_NO \
-# 		pt_BR ru_RU sv_SE tr_TR uk_UA zh_CN zh_TW
-
 .if defined(WITH_DBUS) && !defined(WITHOUT_DBUS)
 QT_COMPONENTS+=	dbus
 QMAKEFLAGS+=	"CONFIG+=qdbus"
diff --git a/audio/qmpdclient/distinfo b/audio/qmpdclient/distinfo
--- a/audio/qmpdclient/distinfo
+++ b/audio/qmpdclient/distinfo
@@ -1,2 +1,2 @@
-SHA256 (qmpdclient-1.2.1.tar.bz2) = 9d57ffbf2985c1dbc9e8856e9c5edf5171e85152d8cf58ad692e85233a9b0773
-SIZE (qmpdclient-1.2.1.tar.bz2) = 271243
+SHA256 (qmpdclient-1.2.2.tar.bz2) = ed65705eaae8fb10fdce34ce20e010757a87423c2874479e1466e4368a866289
+SIZE (qmpdclient-1.2.2.tar.bz2) = 271565
diff --git a/audio/qmpdclient/files/patch-qmpdclient.pro b/audio/qmpdclient/files/patch-qmpdclient.pro
--- a/audio/qmpdclient/files/patch-qmpdclient.pro
+++ b/audio/qmpdclient/files/patch-qmpdclient.pro
@@ -1,5 +1,5 @@
---- qmpdclient.pro.orig	2011-02-04 14:22:08.000000000 +0300
-+++ qmpdclient.pro	2011-03-25 12:52:30.000000000 +0300
+--- qmpdclient.pro.orig	2011-06-08 13:16:26.000000000 +0400
++++ qmpdclient.pro	2011-09-21 14:18:07.000000000 +0400
 @@ -3,7 +3,7 @@
  
  # Most people need not muck about below here
@@ -11,7 +11,7 @@
  QMAKE_LFLAGS_RELEASE += -O2 -g0 -s
 @@ -212,16 +212,15 @@
          SOURCES += src/qmpdclient_x11.cpp
- 
+         LIBS += -lX11
          # Check for dbus support
 -        contains(QT_CONFIG, dbus) {
 +        contains(CONFIG, qdbus) {
diff --git a/audio/qmpdclient/pkg-plist b/audio/qmpdclient/pkg-plist
--- a/audio/qmpdclient/pkg-plist
+++ b/audio/qmpdclient/pkg-plist
@@ -1,25 +1,25 @@
 bin/qmpdclient
-share/QMPDClient/translations/cs_CZ.qm
-share/QMPDClient/translations/de_DE.qm
-share/QMPDClient/translations/es_ES.qm
-share/QMPDClient/translations/fr_FR.qm
-share/QMPDClient/translations/it_IT.qm
-share/QMPDClient/translations/nl_NL.qm
-share/QMPDClient/translations/nn_NO.qm
-share/QMPDClient/translations/no_NO.qm
-share/QMPDClient/translations/pt_BR.qm
-share/QMPDClient/translations/ru_RU.qm
-share/QMPDClient/translations/sv_SE.qm
-share/QMPDClient/translations/tr_TR.qm
-share/QMPDClient/translations/uk_UA.qm
-share/QMPDClient/translations/zh_CN.qm
-share/QMPDClient/translations/zh_TW.qm
+%%NLS%%share/QMPDClient/translations/cs_CZ.qm
+%%NLS%%share/QMPDClient/translations/de_DE.qm
+%%NLS%%share/QMPDClient/translations/es_ES.qm
+%%NLS%%share/QMPDClient/translations/fr_FR.qm
+%%NLS%%share/QMPDClient/translations/it_IT.qm
+%%NLS%%share/QMPDClient/translations/nl_NL.qm
+%%NLS%%share/QMPDClient/translations/nn_NO.qm
+%%NLS%%share/QMPDClient/translations/no_NO.qm
+%%NLS%%share/QMPDClient/translations/pt_BR.qm
+%%NLS%%share/QMPDClient/translations/ru_RU.qm
+%%NLS%%share/QMPDClient/translations/sv_SE.qm
+%%NLS%%share/QMPDClient/translations/tr_TR.qm
+%%NLS%%share/QMPDClient/translations/uk_UA.qm
+%%NLS%%share/QMPDClient/translations/zh_CN.qm
+%%NLS%%share/QMPDClient/translations/zh_TW.qm
 share/applications/qmpdclient.desktop
 share/icons/hicolor/16x16/apps/qmpdclient.png
 share/icons/hicolor/22x22/apps/qmpdclient.png
 share/icons/hicolor/48x48/apps/qmpdclient.png
 share/icons/hicolor/64x64/apps/qmpdclient.png
 share/icons/hicolor/scalable/apps/qmpdclient.svg
- at dirrm share/QMPDClient/translations
- at dirrm share/QMPDClient
+ at dirrmtry share/QMPDClient/translations
+ at dirrmtry share/QMPDClient
 @dirrmtry share/applications
--- audio-qmpdclient.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list