Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2012 02:27:54 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305901 - head/audio/linnya
Message-ID:  <201210150227.q9F2RsVM093187@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Mon Oct 15 02:27:53 2012
New Revision: 305901
URL: http://svn.freebsd.org/changeset/ports/305901

Log:
  - Update to 2.2.1
  - Make NLS optional
  - Remove extraneous USE_AUTOTOOLS line and call libtoolize
  - Move ftp/curl dependency to LIB_DEPENDS
  - Add USE_PKGCONFIG
  - Trim Makefile header
  
  PR:		ports/172654
  Submitted by:	XiaoQI Ge <ghw@7axu.com> (maintainer)
  Approved by:	makc, avilla (mentors, implicit)
  Feature safe:	yes

Modified:
  head/audio/linnya/Makefile
  head/audio/linnya/distinfo
  head/audio/linnya/pkg-plist

Modified: head/audio/linnya/Makefile
==============================================================================
--- head/audio/linnya/Makefile	Mon Oct 15 00:59:49 2012	(r305900)
+++ head/audio/linnya/Makefile	Mon Oct 15 02:27:53 2012	(r305901)
@@ -1,10 +1,7 @@
-# New ports collection makefile for:	linnya
-# Date created:				1 Sep 2012
-# Whom:					XiaoQI Ge <ghw@7axu.com>
 # $FreeBSD$
 
 PORTNAME=	linnya
-PORTVERSION=	2.2.0
+PORTVERSION=	2.2.1
 CATEGORIES=	audio
 
 MAINTAINER=	ghw@7axu.com
@@ -12,24 +9,37 @@ COMMENT=	A Linnya Audio Player
 
 LICENSE=	GPLv3
 
+LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	herenvarno
-GH_COMMIT=	6724a9b
+GH_COMMIT=	5b0f38a
 
-USE_AUTOTOOLS=	aclocal automake
+USE_AUTOTOOLS=	libtoolize libtool
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
+USE_PKGCONFIG=	build
 USE_GNOME=	gtk30
 USE_SQLITE=	3
-USE_GETTEXT=	yes
 USE_GSTREAMER=	good mp3 ogg
 MAKE_JOBS_SAFE=	yes
-USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
 INSTALLS_ICONS=	yes
-WANT_GNOME=	yes
 
-BUILD_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
-RUN_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
+LIBTOOLIZE_ARGS=--copy --force
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT=	yes
+CONFIGURE_ARGS+=--enable-nls
+PLIST_SUB+=	NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.endif
+
+post-patch:
+	${REINPLACE_CMD} -e '/^$${CXXFLAGS/d' ${WRKSRC}/configure
 
 .include <bsd.port.mk>

Modified: head/audio/linnya/distinfo
==============================================================================
--- head/audio/linnya/distinfo	Mon Oct 15 00:59:49 2012	(r305900)
+++ head/audio/linnya/distinfo	Mon Oct 15 02:27:53 2012	(r305901)
@@ -1,2 +1,2 @@
-SHA256 (linnya-2.2.0.tar.gz) = c8add0b693cb882f45522231e585c3edb8adf1a33d59a0f1070fe84a8a64df6e
-SIZE (linnya-2.2.0.tar.gz) = 841288
+SHA256 (linnya-2.2.1.tar.gz) = 2849dffec695e701f96663df982a43bec93b79e7cd7cee2a29a1de039cccbe78
+SIZE (linnya-2.2.1.tar.gz) = 841321

Modified: head/audio/linnya/pkg-plist
==============================================================================
--- head/audio/linnya/pkg-plist	Mon Oct 15 00:59:49 2012	(r305900)
+++ head/audio/linnya/pkg-plist	Mon Oct 15 02:27:53 2012	(r305901)
@@ -110,9 +110,9 @@ share/icons/hicolor/scalable/apps/linnya
 %%DATADIR%%/uix/theme/default/linnya.css
 %%DATADIR%%/uix/theme/default/sssbg/sssbg_1.jpg
 %%DATADIR%%/uix/theme/default/sssbg/sssbg_2.jpg
-share/locale/zh_CN/LC_MESSAGES/linnya.mo
-share/locale/zh_HK/LC_MESSAGES/linnya.mo
-share/locale/zh_TW/LC_MESSAGES/linnya.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/linnya.mo
+%%NLS%%share/locale/zh_HK/LC_MESSAGES/linnya.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/linnya.mo
 @dirrm %%DATADIR%%/uix/theme/default/sssbg
 @dirrm %%DATADIR%%/uix/theme/default/image
 @dirrm %%DATADIR%%/uix/theme/default



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210150227.q9F2RsVM093187>