Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2012 17:14:34 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308253 - in head/multimedia/libcec: . files
Message-ID:  <201212041714.qB4HEYQx042104@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Tue Dec  4 17:14:34 2012
New Revision: 308253
URL: http://svnweb.freebsd.org/changeset/ports/308253

Log:
  - Update libcec 2.0.4 [1]
  - Use GITHUB macro [1]
  - Add a patch to fix device detection with XBMC 12 [1]
  - Fix COMMENT
  
  PR:		ports/174090 [1]
  Submitted by:	Mickael Maillot <mickael.maillot@gmail.com> [1]
  Approved by:	maintainer
  Feature safe:	yes

Added:
  head/multimedia/libcec/files/
  head/multimedia/libcec/files/patch-src__lib__adapter__Pulse-Eight__USBCECAdapterDetection.cpp   (contents, props changed)
Modified:
  head/multimedia/libcec/Makefile
  head/multimedia/libcec/distinfo
  head/multimedia/libcec/pkg-plist

Modified: head/multimedia/libcec/Makefile
==============================================================================
--- head/multimedia/libcec/Makefile	Tue Dec  4 17:13:13 2012	(r308252)
+++ head/multimedia/libcec/Makefile	Tue Dec  4 17:14:34 2012	(r308253)
@@ -2,17 +2,19 @@
 # $FreeBSD$
 
 PORTNAME=	libcec
-PORTVERSION=	2.0.2
+PORTVERSION=	2.0.4
 CATEGORIES=	multimedia
-MASTER_SITES=	https://github.com/Pulse-Eight/libcec/zipball/libcec-2.0.2/
 
 MAINTAINER=	manuel.creach@icloud.com
-COMMENT=	Library that allows you to use the Pulse-Eight's HDMI-CEC Adapter
+COMMENT=	Library to control Pulse-Eight's HDMI-CEC adapter
 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-FETCH_ARGS=	-Fpr
+USE_GITHUB=	yes
+GH_ACCOUNT=	Pulse-Eight
+GH_COMMIT=	178d498
+GH_TAGNAME=	${PORTNAME}-${PORTVERSION}
 
 USE_GMAKE=	yes
 USE_AUTORECONF=	yes
@@ -25,8 +27,6 @@ MAKE_JOBS_SAFE=	yes
 
 CFLAGS+=	-D_FILE_OFFSET_BITS=64
 
-WRKSRC=		${WRKDIR}/Pulse-Eight-libcec-a9ac151
-
 post-patch:
 	${REINPLACE_CMD} 's|-Werror||' \
 		${WRKSRC}/configure.ac

Modified: head/multimedia/libcec/distinfo
==============================================================================
--- head/multimedia/libcec/distinfo	Tue Dec  4 17:13:13 2012	(r308252)
+++ head/multimedia/libcec/distinfo	Tue Dec  4 17:14:34 2012	(r308253)
@@ -1,2 +1,2 @@
-SHA256 (libcec-2.0.2.tar.gz) = c816077055de5d897c7701794d572dc974392740f7ccb62396f018b1ec7309a3
-SIZE (libcec-2.0.2.tar.gz) = 1246833
+SHA256 (libcec-2.0.4.tar.gz) = 652f8bddf8629eb4d14c93bc97efbeb7406482f69626302c8489df8e1fd8431f
+SIZE (libcec-2.0.4.tar.gz) = 1075334

Added: head/multimedia/libcec/files/patch-src__lib__adapter__Pulse-Eight__USBCECAdapterDetection.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/libcec/files/patch-src__lib__adapter__Pulse-Eight__USBCECAdapterDetection.cpp	Tue Dec  4 17:14:34 2012	(r308253)
@@ -0,0 +1,11 @@
+--- ./src/lib/adapter/Pulse-Eight/USBCECAdapterDetection.cpp.orig	2012-10-17 11:35:39.000000000 +0200
++++ ./src/lib/adapter/Pulse-Eight/USBCECAdapterDetection.cpp	2012-10-17 11:35:52.000000000 +0200
+@@ -427,8 +427,6 @@
+   for (i = 0; i < 8; ++i)
+   {
+     (void)snprintf(devicePath, sizeof(devicePath), "/dev/ttyU%d", i);
+-    if (strDevicePath && strcmp(devicePath, strDevicePath) != 0)
+-      continue;
+     if (!access(devicePath, 0))
+     {
+       snprintf(deviceList[iFound].path, sizeof(deviceList[iFound].path), "%s", devicePath);

Modified: head/multimedia/libcec/pkg-plist
==============================================================================
--- head/multimedia/libcec/pkg-plist	Tue Dec  4 17:13:13 2012	(r308252)
+++ head/multimedia/libcec/pkg-plist	Tue Dec  4 17:14:34 2012	(r308253)
@@ -6,7 +6,6 @@ include/libcec/cec.h
 include/libcec/cecc.h
 include/libcec/cectypes.h
 include/libcec/cecloader.h
-bin/cec-config
 bin/cec-client
 libdata/pkgconfig/libcec.pc
 @dirrm include/libcec



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