#!/bin/sh #item ####description ###on off ### TMP=/var/log/setup/tmp if [ ! -d $TMP ]; then mkdir -p $TMP fi cat /dev/null > $TMP/SeTnewtag dialog --title "SELECTING PACKAGES FROM SERIES XBC (XBMC PACKAGES)" \ --checklist "Please confirm the packages you wish to install \ from series XBC. Use the UP/DOWN keys to scroll through the list, and \ the SPACE key to deselect any items you don't want to install. \ Press ENTER when you are done." \ 20 70 10 \ "afpfs-ng" "Client for the Apple Filing Protocol" "on" \ "alsa-plugins" "Plugins are used to create virtual devices" "on" \ "apache-ant" "Java library and command line tool" "on" \ "avahi" "A free zeroconf implementation" "on" \ "enca" "Detect and convert encoding of text files" "on" \ "ftgl" "C++ library that render fonts in OpenGL apps" "on" \ "jdk" "Java Development Kit" "on" \ "json-c" "A JSON implementation in C" "on" \ "junit" "A unit testing framework for the Java" "on" \ "libaacs" "Implementation of the Advanced Access Content System specification" "on" \ "libass" "A portable subtitle renderer for the ASS/SSA" "on" \ "libbcmrpi" "Broadcom userspace libraries for the VideCoreIV on Raspberry Pi" "on" \ "libbluray" "Library designed for Blu-Ray Discs playback" "on" \ "libcec" "An enabling platform for the CEC bus in HDMI" "on" \ "libcofi_rpi" "Replacement memcpy and memset functionality for the Raspberry Pi" "on" \ "libdaemon" "A lightweight C library that eases the writing of UNIX daemons" "on" \ "libmicrohttpd" "C based library for HTTP server implementations" "on" \ "libmodplug" "Mod rendering library" "on" \ "libmpeg2" "Library for decoding MPEG-1 and MPEG-2 video streams" "on" \ "libnfs" "NFS client library" "on" \ "libshairport" "Airtunes emulator" "on" \ "libva" "Video Acceleration API" "off" \ "libvdpau" "Video Decode and Presentation API for Unix" "off" \ "lloyd-yajl" "Yet Another JSON Library" "on" \ "lockdev" "Manages device lockfiles" "on" \ "pulseaudio" "A diverse sound server" "on" \ "pyalsaaudio" "An ALSA wrapper for Python 2 and 3" "on" \ "rtmpdump" "Toolkit for RTMP streams" "on" \ "speex" "Lossy audio codec optimized for speech" "on" \ "swig" "A tool to wrap C/C++ functions for use with scripting languages" "on" \ "taglib" "Audio meta-data library" "on" \ "tinyxml" "A simple, small C++ XML parser" "on" \ "volti" "Lightweight volume control for system tray (PulseAudio)" "on" \ "volumeicon" "Lightweight volume control for system tray (ALSA Only!)" "on" \ "wicd" "Linux wired and wireless network manager" "on" \ "xbmc" "Complete media center solution" "on" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in \ afpfs-ng alsa-plugins apache-ant avahi enca ftgl jdk json-c junit libaacs libass libbcmrpi libbluray libcec libcofi_rpi libdaemon libmicrohttpd libmodplug libmpeg2 libnfs libshairport libva libvdpau lloyd-yajl lockdev pulseaudio pyalsaaudio rtmpdump speex swig taglib tinyxml volti volumeicon wicd xbmc \ ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in \ afpfs-ng alsa-plugins apache-ant avahi enca ftgl jdk json-c junit libaacs libass libbcmrpi libbluray libcec libcofi_rpi libdaemon libmicrohttpd libmodplug libmpeg2 libnfs libshairport libva libvdpau lloyd-yajl lockdev pulseaudio pyalsaaudio rtmpdump speex swig taglib tinyxml volti volumeicon wicd xbmc \ ; do if fgrep \"$PACKAGE\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then echo "$PACKAGE: ADD" >> $TMP/SeTnewtag else echo "$PACKAGE: SKP" >> $TMP/SeTnewtag fi done rm -f $TMP/SeTpkgs