Date: Thu, 9 May 2013 22:18:59 +0000 (UTC) From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317751 - head/net-im/pidgin-skype Message-ID: <201305092218.r49MIxPT065628@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mandree Date: Thu May 9 22:18:59 2013 New Revision: 317751 URL: http://svnweb.freebsd.org/changeset/ports/317751 Log: Roll a newer upstream snapshot from SVN r659 (previous r628). Changelog: https://code.google.com/p/skype4pidgin/source/list Clean up Makefile header. Prepare NLS, but upstream .pot/.po files are woefully out of date. Modified: head/net-im/pidgin-skype/Makefile (contents, props changed) head/net-im/pidgin-skype/distinfo (contents, props changed) head/net-im/pidgin-skype/pkg-plist (contents, props changed) Modified: head/net-im/pidgin-skype/Makefile ============================================================================== --- head/net-im/pidgin-skype/Makefile Thu May 9 22:02:15 2013 (r317750) +++ head/net-im/pidgin-skype/Makefile Thu May 9 22:18:59 2013 (r317751) @@ -1,13 +1,8 @@ -# New ports collection makefile for: pidgin-skype -# Date created: 2010-12-19 -# Whom: mandree@FreeBSD.org -# +# Created by: mandree@FreeBSD.org # $FreeBSD$ -# PORTNAME= pidgin-skype -PORTVERSION= 0.0.0.628 -PORTREVISION= 1 +PORTVERSION= 0.0.0.659 CATEGORIES= net-im MASTER_SITES= LOCAL/mandree DISTFILES= pidgin-skype-svn-r${PORTVERSION:E}.tar.xz @@ -46,9 +41,33 @@ mycflags= -shared -fPIC -DPIC ${PTHREAD_ -DPURPLE_PLUGINS mylibs= ${PTHREAD_LIBS} +USES= pkgconfig + +# DBUS: No DBUS here, does not work with Skype 2.1 beta +# NLS: While the build works and enables translations, +# the upstream translations and .pot file are woefully out of date. +#OPTIONS_DEFINE= NLS + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} +mycflags+= -DENABLE_NLS +mylibs+= -L${LOCALBASE}/lib -lintl +USE_GETTEXT= yes +PLIST_SUB+= NLS="" + +post-patch: + ${REINPLACE_CMD} 's/#undef ENABLE_NLS//' ${WRKSRC}/libskype.c +.else +PLIST_SUB+= NLS="@comment" +.endif + do-build: - cd ${WRKSRC} && ${CC} ${CFLAGS} ${mycflags} \ + cd ${WRKSRC} && ${CC} ${CPPFLAGS} ${CFLAGS} ${mycflags} \ -o libskype.so libskype.c ${mylibs} +.if ${PORT_OPTIONS:MNLS} + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} -C ${BUILD_WRKSRC} locales +.endif do-install: ${MKDIR} ${PREFIX}/lib/purple-2 @@ -61,5 +80,11 @@ do-install: ${WRKSRC}/icons/${i}/skype.png \ ${PREFIX}/share/pixmaps/pidgin/protocols/${i}/ .endfor +.if ${PORT_OPTIONS:MNLS} +.for i in cs de en_AU es fr hu it ja mk nb pl pt pt_BR ru + ${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES/ + ${INSTALL_DATA} ${WRKSRC}/po/${i}.mo ${PREFIX}/share/locale/${i}/LC_MESSAGES/skype4pidgin.mo +.endfor +.endif .include <bsd.port.mk> Modified: head/net-im/pidgin-skype/distinfo ============================================================================== --- head/net-im/pidgin-skype/distinfo Thu May 9 22:02:15 2013 (r317750) +++ head/net-im/pidgin-skype/distinfo Thu May 9 22:18:59 2013 (r317751) @@ -1,2 +1,2 @@ -SHA256 (pidgin-skype-svn-r628.tar.xz) = 14930415aaf4f7a6c10e9242e15a582b4db7f91c97ef8f6dbf3d154d69d1a794 -SIZE (pidgin-skype-svn-r628.tar.xz) = 124040 +SHA256 (pidgin-skype-svn-r659.tar.xz) = fb1a5e63cd76d7dec70aa0ca9350c60b05819e13917892ee3b9bcf951519c113 +SIZE (pidgin-skype-svn-r659.tar.xz) = 125352 Modified: head/net-im/pidgin-skype/pkg-plist ============================================================================== --- head/net-im/pidgin-skype/pkg-plist Thu May 9 22:02:15 2013 (r317750) +++ head/net-im/pidgin-skype/pkg-plist Thu May 9 22:18:59 2013 (r317751) @@ -1,5 +1,19 @@ @comment $FreeBSD$ lib/purple-2/libskype.so +%%NLS%%share/locale/cs/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/de/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/en_AU/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/es/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/fr/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/hu/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/it/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/ja/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/mk/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/nb/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/pl/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/pt/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/skype4pidgin.mo +%%NLS%%share/locale/ru/LC_MESSAGES/skype4pidgin.mo share/pixmaps/pidgin/protocols/16/skypeout.png share/pixmaps/pidgin/protocols/22/skypeout.png share/pixmaps/pidgin/protocols/48/skypeout.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305092218.r49MIxPT065628>