Add burner tools
This commit is contained in:
parent
fbe85347b3
commit
13da577c1c
2 changed files with 28 additions and 0 deletions
26
install/apps/multimedia/burnertools
Normal file
26
install/apps/multimedia/burnertools
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/bash
|
||||||
|
. ./lib
|
||||||
|
|
||||||
|
options=()
|
||||||
|
options+=("k3b" "" off)
|
||||||
|
options+=("xfburn" "" off)
|
||||||
|
options+=("libisoburn" "(xorriso-tcltk)" off)
|
||||||
|
options+=("gnomebaker" "(AUR)" off)
|
||||||
|
|
||||||
|
sel=$(whiptail --backtitle "$apptitle" --title "Burner applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
|
||||||
|
"${options[@]}" \
|
||||||
|
3>&1 1>&2 2>&3)
|
||||||
|
if [ ! "$?" = "0" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
for itm in $sel; do
|
||||||
|
case $itm in
|
||||||
|
'"gnomebaker"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
|
||||||
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
|
exit 0
|
|
@ -6,6 +6,7 @@ options+=("GStreamer" "")
|
||||||
options+=("Audio Player" "")
|
options+=("Audio Player" "")
|
||||||
options+=("Video Player" "")
|
options+=("Video Player" "")
|
||||||
options+=("Video Tools" "")
|
options+=("Video Tools" "")
|
||||||
|
options+=("Burner Tools" "")
|
||||||
|
|
||||||
|
|
||||||
defaultitem=""
|
defaultitem=""
|
||||||
|
@ -22,6 +23,7 @@ case $sel in
|
||||||
"Audio Player") script install/apps/multimedia/audioplayer;;
|
"Audio Player") script install/apps/multimedia/audioplayer;;
|
||||||
"Video Player") script install/apps/multimedia/videoplayer;;
|
"Video Player") script install/apps/multimedia/videoplayer;;
|
||||||
"Video Tools") script install/apps/multimedia/videotools;;
|
"Video Tools") script install/apps/multimedia/videotools;;
|
||||||
|
"Burner Tools") script install/apps/multimedia/burnertools;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue