summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-04-22 01:42:56 -0500
committerErik Hanson <erik@slackbuilds.org>2012-04-22 18:06:20 -0500
commite6267b39a96da8b3b1e8f236bc6fe7fa425155f9 (patch)
tree8d105c5cbc553ab7edc9a7ae7fa6059abdc70d60 /libraries
parent39d16baf4064fcba805fccf48e17af826b0ef249 (diff)
downloadslackbuilds-e6267b39a96da8b3b1e8f236bc6fe7fa425155f9.tar.gz
libraries/libcec: Updated for version 1.5.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libcec/README6
-rw-r--r--libraries/libcec/libcec.SlackBuild11
-rw-r--r--libraries/libcec/libcec.info8
-rw-r--r--libraries/libcec/slack-desc6
4 files changed, 15 insertions, 16 deletions
diff --git a/libraries/libcec/README b/libraries/libcec/README
index 451611c622..183360bd2d 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 c339ee8373..27b66ce08b 100644
--- a/libraries/libcec/libcec.SlackBuild
+++ b/libraries/libcec/libcec.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
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 7b83771323..8e0ca55d55 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 b0ba1ae8f9..56cec3e89f 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: