49 lines
2.3 KiB
Plaintext
49 lines
2.3 KiB
Plaintext
|
# b43-firmware
|
||
|
SRPMVERSION["b43-firmware"]=4.150.10.5
|
||
|
SRPMRELEASE["b43-firmware"]=1mamba
|
||
|
# flashplugin
|
||
|
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "flashplugin" ]; then
|
||
|
SRPMVERSION["flashplugin"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A10 "Linux" | grep -A3 "NPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
|
||
|
SRPMRELEASE["flashplugin"]=1mamba
|
||
|
fi
|
||
|
# msttcorefonts
|
||
|
SRPMVERSION["msttcorefonts"]=1.3
|
||
|
SRPMRELEASE["msttcorefonts"]=7mamba
|
||
|
# skype
|
||
|
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "skype" ]; then
|
||
|
SRPMVERSION["skype"]="`curl --max-time 20 -sLI "http://www.skype.com/go/getskype-linux-beta-dynamic"|grep "linux/skype-"|sed "s|.*skype-\(.*\)\.tar\..*|\1|"|grep -v "\.\.0\." 2>/dev/null`"
|
||
|
SRPMRELEASE["skype"]=2mamba
|
||
|
fi
|
||
|
# spotify
|
||
|
if [ "`uname -m`" == "x86_64" ]; then
|
||
|
SRPMVERSION["spotify"]=20150629
|
||
|
else
|
||
|
SRPMVERSION["spotify"]=0
|
||
|
fi
|
||
|
SRPMRELEASE["spotify"]=1mamba
|
||
|
# sun-java
|
||
|
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java8" -o "$SRPMCHECK" = "sun-java" ]; then
|
||
|
SRPMVERSION["sun-java"]="`curl --max-time 20 -sL https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html|grep "linux-x64_bin.tar.gz"|tail -n1|sed "s|.*jdk-\([.0-9-]*\).*|\1|;s|-|_|" 2>/dev/null`"
|
||
|
SRPMRELEASE["sun-java"]=1mamba
|
||
|
fi
|
||
|
# virtualbox-extension-pack
|
||
|
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "virtualbox-extension-pack" ]; then
|
||
|
SRPMVERSION["virtualbox-extension-pack"]="`rpm -q VirtualBox 2>/dev/null| cut -d- -f2`"
|
||
|
SRPMRELEASE["virtualbox-extension-pack"]=2mamba
|
||
|
fi
|
||
|
# win32codecs
|
||
|
SRPMVERSION["win32codecs"]=20110131
|
||
|
SRPMRELEASE["win32codecs"]=1mamba
|
||
|
# chromium-pepper-flash
|
||
|
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
|
||
|
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A15 "Linux" | grep -A3 "Opera.*PPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
|
||
|
SRPMRELEASE["chromium-pepper-flash"]=1mamba
|
||
|
fi
|
||
|
# chromium-widevine
|
||
|
if [ "`uname -m`" == "x86_64" ]; then
|
||
|
SRPMVERSION["chromium-widevine"]="`curl --max-time 20 -sL https://cdn.openmamba.org/pub/openmamba/devel/SRPMS.base/ | grep \"chromium-.*mamba.src.rpm\" | sed 's|.*\"chromium-\([0-9.]*\)-.*|\1|'`"
|
||
|
else
|
||
|
SRPMVERSION["chromium-widevine"]="0"
|
||
|
fi
|
||
|
SRPMRELEASE["chromium-widevine"]=4mamba
|