diff options
author | pawel <pawel@FreeBSD.org> | 2012-12-05 01:14:34 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-12-05 01:14:34 +0800 |
commit | d1534311277b390725282400ea39cea6b3c864a4 (patch) | |
tree | 1481753c6a811117e5d26a21b71e406a7b9ac9c1 /multimedia | |
parent | 4aecd1c79fba8c0de6918fff2d3ddd5c69dca3ad (diff) | |
download | freebsd-ports-gnome-d1534311277b390725282400ea39cea6b3c864a4.tar.gz freebsd-ports-gnome-d1534311277b390725282400ea39cea6b3c864a4.tar.zst freebsd-ports-gnome-d1534311277b390725282400ea39cea6b3c864a4.zip |
- 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
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libcec/Makefile | 12 | ||||
-rw-r--r-- | multimedia/libcec/distinfo | 4 | ||||
-rw-r--r-- | multimedia/libcec/files/patch-src__lib__adapter__Pulse-Eight__USBCECAdapterDetection.cpp | 11 | ||||
-rw-r--r-- | multimedia/libcec/pkg-plist | 1 |
4 files changed, 19 insertions, 9 deletions
diff --git a/multimedia/libcec/Makefile b/multimedia/libcec/Makefile index c153ec67b345..381f47de0914 100644 --- a/multimedia/libcec/Makefile +++ b/multimedia/libcec/Makefile @@ -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 diff --git a/multimedia/libcec/distinfo b/multimedia/libcec/distinfo index 35b2bab2091c..277444b9f589 100644 --- a/multimedia/libcec/distinfo +++ b/multimedia/libcec/distinfo @@ -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 diff --git a/multimedia/libcec/files/patch-src__lib__adapter__Pulse-Eight__USBCECAdapterDetection.cpp b/multimedia/libcec/files/patch-src__lib__adapter__Pulse-Eight__USBCECAdapterDetection.cpp new file mode 100644 index 000000000000..7e8f6893908f --- /dev/null +++ b/multimedia/libcec/files/patch-src__lib__adapter__Pulse-Eight__USBCECAdapterDetection.cpp @@ -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); diff --git a/multimedia/libcec/pkg-plist b/multimedia/libcec/pkg-plist index 2688dc91a03d..e42150a375c9 100644 --- a/multimedia/libcec/pkg-plist +++ b/multimedia/libcec/pkg-plist @@ -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 |