Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated to minidlna 1.1.5, ffmpeg 2.8, added config page, logrotate s…
…upport.
  • Loading branch information
ricardopadilha committed Sep 16, 2015
1 parent de7b06a commit a685430
Show file tree
Hide file tree
Showing 35 changed files with 1,180 additions and 412 deletions.
4 changes: 2 additions & 2 deletions app.sh
Expand Up @@ -140,7 +140,7 @@ popd

### FFMPEG ###
_build_ffmpeg() {
local VERSION="2.7.2"
local VERSION="2.8"
local FOLDER="ffmpeg-${VERSION}"
local FILE="${FOLDER}.tar.gz"
local URL="http://www.ffmpeg.org/releases/${FILE}"
Expand All @@ -156,7 +156,7 @@ popd
### MINIDLNA ###
_build_minidlna() {
# sudo apt-get install gettext
local VERSION="1.1.4"
local VERSION="1.1.5"
local FOLDER="minidlna-${VERSION}"
local FILE="${FOLDER}.tar.gz"
local URL="http://sourceforge.net/projects/minidlna/files/minidlna/${VERSION}/${FILE}"
Expand Down
21 changes: 14 additions & 7 deletions build.sh
Expand Up @@ -180,10 +180,17 @@ _dist_clean() {
### application-specific functions ###
. app.sh

case "${1:-}" in
clean) _clean ;;
distclean) _dist_clean ;;
package) _package ;;
"") _build ;;
*) _build_${1} ;;
esac
if [ -n "${1:-}" ]; then
while [ -n "${1:-}" ]; do
case "${1}" in
clean) _clean ;;
distclean) _dist_clean ;;
all) _build ;;
package) _package ;;
*) _build_${1} ;;
esac
shift
done
else
_build
fi

0 comments on commit a685430

Please sign in to comment.