aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-11-21 17:42:51 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-04 10:08:57 +0700
commit6cb226656c1263ff0e07d183e30e32bd1cb8f6bc (patch)
tree148dd1f4d343ce2fa7742de7f8105fe99fec65cd
parent08c93ef22ed370b480a740d8480acd4d3d8f91fd (diff)
audio/mp3val: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/mp3val/README2
-rw-r--r--audio/mp3val/mp3val.SlackBuild19
-rw-r--r--audio/mp3val/mp3val.info4
-rw-r--r--audio/mp3val/mp3valgui.pngbin0 -> 887 bytes
-rw-r--r--audio/mp3val/mp3valgui.xpm213
5 files changed, 17 insertions, 221 deletions
diff --git a/audio/mp3val/README b/audio/mp3val/README
index ea3a3ca6d9907..49860b9452c0c 100644
--- a/audio/mp3val/README
+++ b/audio/mp3val/README
@@ -1,3 +1,5 @@
+mp3val (tool for checking and fixing mp3 file integrity)
+
MP3val is a small, high-speed, free software tool for checking MPEG
audio files' integrity. It can be useful for finding corrupted files
(e.g. incompletely downloaded, truncated,containing garbage).
diff --git a/audio/mp3val/mp3val.SlackBuild b/audio/mp3val/mp3val.SlackBuild
index 2049c6d3b8509..0eb88c2364f78 100644
--- a/audio/mp3val/mp3val.SlackBuild
+++ b/audio/mp3val/mp3val.SlackBuild
@@ -1,11 +1,14 @@
#!/bin/bash
-# Written by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Written by Benjamin Trigona-Harany <email removed>
# Modified by B. Watson <yalhcru@gmail.com>
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211121 bkw: BUILD=3
+# - new-style icons.
+# - replace old icon, too small for modern displays.
# 20140921 bkw: bump BUILD to 2
# - took over maintenance
# - add man page
@@ -31,9 +34,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -106,9 +106,16 @@ if [ "${GUI:-yes}" = "yes" ]; then
mkdir -p $PKG/usr/share/applications
cat $CWD/$GUINAME.desktop > $PKG/usr/share/applications/$GUINAME.desktop
- # .xpm icon is a modified copy of windowmaker's Microphone.xpm
+ # icon made by SlackBuild author. Not pretty, sorry.
+ for px in 16 32 48 64 96; do
+ size=${px}x${px}
+ dir=$PKG/usr/share/icons/hicolor/$size/apps
+ mkdir -p $dir
+ convert -resize $size $CWD/$GUINAME.png $dir/$GUINAME.png
+ done
+
mkdir -p $PKG/usr/share/pixmaps
- cat $CWD/$GUINAME.xpm > $PKG/usr/share/pixmaps/$GUINAME.xpm
+ ln -s ../icons/hicolor/48x48/apps/$GUINAME.png $PKG/usr/share/pixmaps/$GUINAME.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$GUINAME-$GUIVER
cp -a AUTHORS COPYING NEWS $PKG/usr/doc/$PRGNAM-$VERSION/$GUINAME-$GUIVER
diff --git a/audio/mp3val/mp3val.info b/audio/mp3val/mp3val.info
index 5d16590ee7ffe..6c713745148b8 100644
--- a/audio/mp3val/mp3val.info
+++ b/audio/mp3val/mp3val.info
@@ -1,8 +1,8 @@
PRGNAM="mp3val"
VERSION="0.1.8"
HOMEPAGE="http://mp3val.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/mp3val/mp3val-0.1.8-src.tar.gz \
- http://downloads.sourceforge.net/mp3val/mp3valgui-0.1.1.zip"
+DOWNLOAD="https://downloads.sourceforge.net/mp3val/mp3val-0.1.8-src.tar.gz \
+ https://downloads.sourceforge.net/mp3val/mp3valgui-0.1.1.zip"
MD5SUM="dc8adad909d0b8734ed22029b2de2cb4 \
8590c146ff5daf3754720edaef3845e4"
DOWNLOAD_x86_64=""
diff --git a/audio/mp3val/mp3valgui.png b/audio/mp3val/mp3valgui.png
new file mode 100644
index 0000000000000..e2250ac17f812
--- /dev/null
+++ b/audio/mp3val/mp3valgui.png
Binary files differ
diff --git a/audio/mp3val/mp3valgui.xpm b/audio/mp3val/mp3valgui.xpm
deleted file mode 100644
index db2f75a1b78d7..0000000000000
--- a/audio/mp3val/mp3valgui.xpm
+++ /dev/null
@@ -1,213 +0,0 @@
-/* XPM */
-static char * mp3valgui_xpm[] = {
-"48 48 162 2",
-" c None",
-". c #BBAADD",
-"+ c #9999BB",
-"@ c #887799",
-"# c #556677",
-"$ c #AAAABB",
-"% c #AAAADD",
-"& c #EEFFFF",
-"* c #666688",
-"= c #778899",
-"- c #444466",
-"; c #000033",
-"> c #BBAACC",
-", c #BBBBCC",
-"' c #665588",
-") c #000022",
-"! c #226677",
-"~ c #336677",
-"{ c #AABBDD",
-"] c #FFFFFF",
-"^ c #112255",
-"/ c #226666",
-"( c #335577",
-"_ c #FFEEFF",
-": c #AABBCC",
-"< c #666677",
-"[ c #223355",
-"} c #333355",
-"| c #336666",
-"1 c #DDDDFF",
-"2 c #776699",
-"3 c #332255",
-"4 c #112233",
-"5 c #110033",
-"6 c #EEEEFF",
-"7 c #DDEEFF",
-"8 c #BBBBDD",
-"9 c #8899AA",
-"0 c #334466",
-"a c #222255",
-"b c #001133",
-"c c #335588",
-"d c #EEDDFF",
-"e c #8888AA",
-"f c #554477",
-"g c #223344",
-"h c #111133",
-"i c #225577",
-"j c #445566",
-"k c #335566",
-"l c #9988AA",
-"m c #225566",
-"n c #445588",
-"o c #CCCCEE",
-"p c #443366",
-"q c #222244",
-"r c #112244",
-"s c #556688",
-"t c #557799",
-"u c #AAAACC",
-"v c #99AACC",
-"w c #667788",
-"x c #111144",
-"y c #223377",
-"z c #667799",
-"A c #334477",
-"B c #444488",
-"C c #777799",
-"D c #554466",
-"E c #333344",
-"F c #221144",
-"G c #7788AA",
-"H c #114466",
-"I c #224466",
-"J c #222266",
-"K c #002244",
-"L c #224477",
-"M c #555588",
-"N c #666699",
-"O c #DDDDDD",
-"P c #224455",
-"Q c #CCBBDD",
-"R c #223366",
-"S c #DDEEEE",
-"T c #BBBBEE",
-"U c #776688",
-"V c #333366",
-"W c #555577",
-"X c #111155",
-"Y c #6666AA",
-"Z c #DDDDEE",
-"` c #AABBBB",
-" . c #7777AA",
-".. c #445577",
-"+. c #FF0000",
-"@. c #FE0000",
-"#. c #A41E34",
-"$. c #9999AA",
-"%. c #BD1520",
-"&. c #722E46",
-"*. c #DD0A10",
-"=. c #4E3A66",
-"-. c #D10E16",
-";. c #9D6C78",
-">. c #F01A20",
-",. c #F80102",
-"'. c #D6020B",
-"). c #4F183E",
-"!. c #7B2B41",
-"~. c #B2192C",
-"{. c #4D3A58",
-"]. c #DA0C15",
-"^. c #333377",
-"/. c #513956",
-"(. c #BA1225",
-"_. c #FA1519",
-":. c #CD869F",
-"<. c #797394",
-"[. c #63172F",
-"}. c #E30105",
-"|. c #3D3070",
-"1. c #EA060A",
-"2. c #353264",
-"3. c #8A1C43",
-"4. c #992132",
-"5. c #8E1B40",
-"6. c #762D44",
-"7. c #B61824",
-"8. c #EA060B",
-"9. c #A76F88",
-"0. c #697383",
-"a. c #6A253D",
-"b. c #E40408",
-"c. c #C20F23",
-"d. c #67324B",
-"e. c #C7121B",
-"f. c #582960",
-"g. c #6B3049",
-"h. c #DD0A13",
-"i. c #AC6874",
-"j. c #F82225",
-"k. c #99AABB",
-"l. c #FD0000",
-"m. c #7B2036",
-"n. c #741535",
-"o. c #F05664",
-"p. c #CCD7E8",
-"q. c #9A94B5",
-"r. c #FB0506",
-"s. c #778798",
-"t. c #894D67",
-"u. c #EE0508",
-"v. c #604F6E",
-"w. c #EE1316",
-"x. c #ED191E",
-"y. c #F31318",
-"z. c #9A6370",
-"A. c #685374",
-"B. c #6D243C",
-"C. c #DF0006",
-"D. c #99AAAA",
-"E. c #F4383C",
-" ",
-" ",
-" ",
-" ",
-" ",
-" . + @ # @ $ ",
-" % & * = - ; * # ",
-" > , * , ' , * ) ; , ",
-" ! ~ ! ~ ! ~ ! ~ { ] & * ; ; ) * ; ^ ! ~ ! ~ ! ~ ",
-" ~ / ( / ~ / ( / _ # ' , * , ' ) * ) ( / ~ / ( / ",
-" / ~ ! ~ / ~ ! ~ : ] & * ) ; ; * ) ; ! ~ / ~ ! ~ ",
-" ( / ~ / ( / ~ / _ < * , ' , * ) ' ) ~ / ( / ~ / ",
-" ! ~ ! ~ ! ~ ! ~ { ] & * ; ; ) * ; ; ! ~ ! ~ ! ~ ",
-" ~ / ( / ~ / ( / _ # ' , * , ' ) * ) ( / ~ / ( / ",
-" / ~ ! ~ / ~ ! ~ : ] & * ) ; ; * ) ; ! ~ / ~ ! ~ ",
-" ( / ~ / ( / ~ / _ < * , ' , * ) ' ) ~ / ( / ~ / ",
-" ! ~ ! ~ & ; ! ~ { ] & * ; ; ) * ; ; ! ~ ; ~ ! ~ ",
-" ~ / ( / _ ) ( / _ # ' , * , ' ) * ) ( / ; / ( / ",
-" / ~ ! ~ & ; ; ; & ] & * ) ; [ } ) ; ; ; ) ~ ! ~ ",
-" ( | ( / _ ) ( / _ & 1 $ 2 < 3 4 5 ) ( / ; / ( / ",
-" ! ~ / ( & ; / ( & 6 7 8 9 * 0 a b ; / c ; ~ / ( ",
-" ( / ( | _ ) ( | _ & d : e # f g h ) ( i ; / ( | ",
-" / ( / ( & ; / ( & 6 7 8 9 * j } b ; ! c ) ( ! ( ",
-" ( k ( | _ ) ( | _ & 1 : l < f g 5 ) ( ( ; k ( | ",
-" ! ( m ( & ; m ( 7 6 7 8 9 * j a b ; m n ; ( / ( ",
-" ( k ( k _ ) ( k o 6 d , e < p q ; r ( s ; k ( k ",
-" m ( m ( & ; m ( t u v + w f [ x ) y m z ) ( m ( ",
-" A k ( k _ } ( k B = C # D E F h F k ( G ; k ( k ",
-" k ( m ( { C H ( k ( I J r ; K J L ( m M r ( m ( ",
-" A k A k N O a P A k A k A k A k A k Q r R k A k ",
-" m A k A m 8 S [ I A k A m A k A m T # ^ m A k ( ",
-" 0 k A k 0 k 8 9 U j [ P V k n z Q W X R 0 k A k ",
-" k A k A k A k Y t e = u Z Z ` ...^ R A k A k A ",
-" A 0 A 0 A 0 A 0 A R a r x r F r J 0 A 0 A 0 A 0 ",
-" 0 A k A I A k A I A k + # x k A I A k A I A k A ",
-" +.@. V 0 #.+.0 0 A 0 0 0 A $.* h A 0 %.&.A 0 0 *.=.0 +. ",
-" +.@. 0 A -.+.0 A 0 A 0 A ;.>.,.'.).A !.~.0 A {.].0 A +. ",
-" +.@. ^./.(.+.^.0 p 0 ^.G _.:.<.[.}.a |.1.2.0 3.4.V 0 +. ",
-" +. 0 5.6.+.0 +.7.8.9.o & u 0.a.b.h ^ c.d.A e.f.g.h.@.@. +. ",
-" +. @. @. +. +. i.j.] Q k.l.l.m.4 5 n.o. @. @. @. +. ",
-" +. @. @. +. +.p.q.r.1 : + s.t.u.a r v.w. @. @.@.@.+. +. ",
-" +. @. +. +. x.9 y.z.A.B.C.a ' D.E.@. @. +. +. ",
-" +. +. +. +.@.@. @.@.@. @. @.@. @.@.+. ",
-" +. ",
-" ",
-" ",
-" ",
-" "};