4594274 [rkeene@sledge /home/rkeene/projects/build]$ cat qdvdauthor.txt
#! /bin/bash

# SHORT DESC: GUI Frontend for dvdauthor
# LONG DESC: QDVDAuthor is a GUI frontend for dvdauthor and other related tools.  It allows you to create menus, submenus, and titlesets for your authored DVDs.

# RUNTIME REQUIREMENT: dvdauthor
# RUNTIME REQUIREMENT: mjpegtools
# RUNTIME REQUIREMENT: alsa-utils
# RUNTIME REQUIREMENT: cdrtools

source /etc/profile

for fixfile in qdvdauthor/log.cpp qdvdauthor/templatedownload.cpp qdvdauthor/dialogcreatetemplate.cpp; do
	if [ -f "${fixfile}" ]; then
		echo '#include <stdlib.h>' > "${fixfile}.new"
		cat "${fixfile}" >> "${fixfile}.new"
		mv "${fixfile}.new" "${fixfile}"
	fi
done

./configure --build-qplayer --with-xine-support || exit 1

if [ ! -f "bin/qdvdauthor" ]; then
	echo 'ERROR: not found: bin/qdvdautor'
	exit 1
fi

cat <<EOF >install-scp.sh
#! /bin/sh

mkdir -p /usr/bin
mkdir -p /usr/share/pixmaps
mkdir -p /usr/share/applications
install -m 0755 ./bin/qdvdauthor /usr/bin
install -m 0755 ./bin/qplayer /usr/bin
install -m 0644 ./qdvdauthor.png /usr/share/pixmaps
install -m 0644 ./qdvdauthor.desktop /usr/share/applications
EOF

chmod +x install-scp.sh

${installmonitor} ./install-scp.sh || exit 1
4594275 [rkeene@sledge /home/rkeene/projects/build]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2012-05-07 00:52:06