summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-04-29 18:37:49 +0000
committerMike Frysinger <vapier@gentoo.org>2013-04-29 18:37:49 +0000
commitcd7e65bcc565184ce062177a7690603a4d9dc223 (patch)
tree153b1a1b68319a77c756e4ccdc2ba6f3fa41c1b7 /sys-apps/less
parentStabilise 2.0 on amd64 x86 and ppc. Drop overshadowed versions. (diff)
downloadgentoo-2-cd7e65bcc565184ce062177a7690603a4d9dc223.tar.gz
gentoo-2-cd7e65bcc565184ce062177a7690603a4d9dc223.tar.bz2
gentoo-2-cd7e65bcc565184ce062177a7690603a4d9dc223.zip
Add webm/webp formats.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'sys-apps/less')
-rw-r--r--sys-apps/less/ChangeLog5
-rw-r--r--sys-apps/less/files/lesspipe.sh6
2 files changed, 7 insertions, 4 deletions
diff --git a/sys-apps/less/ChangeLog b/sys-apps/less/ChangeLog
index a8525bc59c86..e9f3156e6c19 100644
--- a/sys-apps/less/ChangeLog
+++ b/sys-apps/less/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/less
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.172 2013/04/04 17:30:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.173 2013/04/29 18:37:49 vapier Exp $
+
+ 29 Apr 2013; Mike Frysinger <vapier@gentoo.org> files/lesspipe.sh:
+ Add webm/webp formats.
*less-458 (04 Apr 2013)
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index 1ade3206e178..e5c8e65da92e 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -151,10 +151,10 @@ lesspipe() {
*.squashfs) unsquashfs -s "$1" && unsquashfs -ll "$1" ;;
### Media ###
- *.bmp|*.gif|*.jpeg|*.jpg|*.ico|*.pcd|*.pcx|*.png|*.ppm|*.tga|*.tiff|*.tif)
+ *.bmp|*.gif|*.jpeg|*.jpg|*.ico|*.pcd|*.pcx|*.png|*.ppm|*.tga|*.tiff|*.tif|*.webp)
identify "$1" || file -L -- "$1"
;;
- *.avi|*.mpeg|*.mpg|*.mov|*.qt|*.wmv|*.asf|*.rm|*.ram)
+ *.asf|*.avi|*.mov|*.mp4|*.mpeg|*.mpg|*.qt|*.ram|*.rm|*.webm|*.wmv)
midentify "$1" || file -L -- "$1"
;;
*.mp3) mp3info "$1" || id3info "$1" ;;
@@ -235,7 +235,7 @@ if [[ -z $1 ]] ; then
elif [[ $1 == "-V" || $1 == "--version" ]] ; then
Id="cvsid"
cat <<-EOF
- $Id: lesspipe.sh,v 1.51 2013/03/24 05:01:40 vapier Exp $
+ $Id: lesspipe.sh,v 1.52 2013/04/29 18:37:49 vapier Exp $
Copyright 2001-2013 Gentoo Foundation
Mike Frysinger <vapier@gentoo.org>
(with plenty of ideas stolen from other projects/distros)