From e6267b39a96da8b3b1e8f236bc6fe7fa425155f9 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 22 Apr 2012 01:42:56 -0500 Subject: libraries/libcec: Updated for version 1.5.2. Signed-off-by: Robby Workman --- libraries/libcec/README | 6 +----- libraries/libcec/libcec.SlackBuild | 11 +++++++---- libraries/libcec/libcec.info | 8 ++++---- libraries/libcec/slack-desc | 6 +++--- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/libraries/libcec/README b/libraries/libcec/README index 451611c6222f..183360bd2ddd 100644 --- a/libraries/libcec/README +++ b/libraries/libcec/README @@ -1,6 +1,2 @@ -libCEC is an open-source dual licensed library designed for communicating +libCEC is an open-source dual licensed library designed for communicating with the Pulse-Eight USB - HDMI CEC Adaptor. - -Note: when downloading with wget or through sbopkg add the -'--content-disposition' flag to get proper tarball. Otherwise, it will -just be downloaded as libcec-$VERSION. :/ diff --git a/libraries/libcec/libcec.SlackBuild b/libraries/libcec/libcec.SlackBuild index c339ee8373b5..27b66ce08ba6 100644 --- a/libraries/libcec/libcec.SlackBuild +++ b/libraries/libcec/libcec.SlackBuild @@ -5,7 +5,7 @@ # Written by Larry Hajali PRGNAM=libcec -VERSION=${VERSION:-1.3.1} +VERSION=${VERSION:-1.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,14 +38,17 @@ fi set -e -[ -e ${PRGNAM}-${VERSION} ] && mv ${PRGNAM}-${VERSION} Pulse-Eight-libcec-$PRGNAM-$VERSION-0-gfe0cd8a.tar.gz -DIRNAME=$(tar -tf $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-gfe0cd8a.tar.gz | head -1) +if [ -r $CWD/$PRGNAM-$VERSION ]; then + mv $CWD/$PRGNAM-$VERSION $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-g00a02d1.tar.gz +fi + +DIRNAME=$(tar -tf $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-g00a02d1.tar.gz | head -1) rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $DIRNAME -tar xvf $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-gfe0cd8a.tar.gz +tar xvf $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-g00a02d1.tar.gz cd $DIRNAME chown -R root:root . find . \ diff --git a/libraries/libcec/libcec.info b/libraries/libcec/libcec.info index 7b83771323ff..8e0ca55d55bc 100644 --- a/libraries/libcec/libcec.info +++ b/libraries/libcec/libcec.info @@ -1,10 +1,10 @@ PRGNAM="libcec" -VERSION="1.3.1" +VERSION="1.5.2" HOMEPAGE="http://libcec.pulse-eight.com/" -DOWNLOAD="https://github.com/Pulse-Eight/libcec/tarball/libcec-1.3.1" -MD5SUM="39cea6861f98d26509edf35220f45ec3" +DOWNLOAD="https://github.com/Pulse-Eight/libcec/tarball/libcec-1.5.2" +MD5SUM="f5d7abfc99638fafd87434e2a16c94ad" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Larry Hajali" EMAIL="larryhaja[at]gmail[dot]com" -APPROVED="Erik Hanson" +APPROVED="rworkman" diff --git a/libraries/libcec/slack-desc b/libraries/libcec/slack-desc index b0ba1ae8f903..56cec3e89f0c 100644 --- a/libraries/libcec/slack-desc +++ b/libraries/libcec/slack-desc @@ -6,11 +6,11 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -libcec: libcec (library for the Pulse-Eight USB - HDMI CEC adaptor) -libcec: +libcec: libcec (library for the Pulse-Eight USB-HDMI CEC Adapter) +libcec: libcec: libCEC is an open-source dual licensed library designed for libcec: communicating with the Pulse-Eight USB - HDMI CEC Adaptor. -libcec: +libcec: libcec: Homepage: http://libcec.pulse-eight.com/ libcec: libcec: -- cgit v1.2.3