multimedia/gaupol: Added to 13.0 repository

This commit is contained in:
Andre Barboza 2010-05-13 00:59:39 +02:00 committed by David Somero
parent cc40d6c187
commit 205e20254b
5 changed files with 126 additions and 0 deletions

28
multimedia/gaupol/README Normal file
View file

@ -0,0 +1,28 @@
Gaupol is an editor for text-based subtitle files. It supports multiple
subtitle file formats and provides means of correcting texts and timing
subtitles to match video. The user interface is designed with attention
to batch processing of multiple documents and convenience of translating.
Gaupol should run on all Unix-like (GNU/Linux, *BSD, etc.) operating systems
and on Windows. Technically, it should run on Mac as well, but that has not
been tested nor made convenient. Gaupol's user interface is based on the
GTK+ toolkit and has been designed to best fit the GNOME desktop environment.
Dependencies
- Gaupol requires Python 2.5.1 or greater and PyGTK 2.12 or greater.
Other dependencies (not required)
- PyEnchant 1.1.3 or greater is required for spell-checking.
Additionally, spell-checking requires a dictionary, any of Aspell/Pspell,
Ispell, MySpell, Uspell, Hspell or AppleSpell.
- iso-codes, if available, will be used to translate script, language and
country names.
- Universal Encoding Detector is required for character encoding
auto-detection. (chardet)
- MPlayer or VLC is recommended for preview.

View file

@ -0,0 +1,15 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -0,0 +1,54 @@
#!/bin/sh
# Slackware build script for gaupol
# Written by Andre Barboza <bmg.andre@gmail.com>
PRGNAM=gaupol
VERSION=${VERSION:-0.15}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
mkdir -p $PKG/usr
python setup.py clean install --prefix=/usr --root=$PKG
mv $PKG/usr/share/man $PKG/usr
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING CREDITS INSTALL NEWS PKG-INFO README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -0,0 +1,10 @@
PRGNAM="gaupol"
VERSION="0.15"
HOMEPAGE="http://home.gna.org/gaupol/"
DOWNLOAD="http://download.gna.org/gaupol/0.15/gaupol-0.15.tar.gz"
MD5SUM="af9c6d248e5ba8e4c0459243eccea4c3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Andre Barboza"
EMAIL="bmg.andre@gmail.com"
APPROVED="dsomero"

View file

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
gaupol: gaupol (Subtitle Editor)
gaupol:
gaupol: Gaupol is an editor for text-based subtitle files. It supports
gaupol: multiple subtitle file formats and provides means of correcting
gaupol: texts and timing subtitles to match video. The user interface is
gaupol: designed with attention to batch processing of multiple documents
gaupol: and convenience of translating.
gaupol:
gaupol:
gaupol: Homepage: http://home.gna.org/gaupol/
gaupol: