-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added aegisub and all of it's dependencies
- Loading branch information
Showing
27 changed files
with
892 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
A general-purpose subtitle editor with ASS/SSA support | ||
|
||
Requirements: | ||
- PulseAudio (optional) | ||
- OpenAL (optional) | ||
- PortAudio (optional) | ||
- libass (optional) | ||
- enca (optional) | ||
- harfbuzz (optional) | ||
- lua (optional) | ||
- wxWidgets + wxStyledTextCtrl | ||
- FFmpegSource / ffms (optional) | ||
- Scintilla |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
#!/bin/sh | ||
|
||
# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org> | ||
# All rights reserved. | ||
# | ||
# Redistribution and use of this script, with or without modification, is | ||
# permitted provided that the following conditions are met: | ||
# | ||
# 1. Redistributions of this script must retain the above copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | ||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | ||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
# OTHERWISE) ARISING IN ANY WAY OUTPUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
# Changelog | ||
# July 29: Initial Release | ||
|
||
PRGNAM=aegisub | ||
VERSION=2.1.9 | ||
BUILD=${BUILD:-1wsr} | ||
|
||
# Automatically determine the architecture we're building on: | ||
if [ -z "$ARCH" ]; then | ||
case "$( uname -m )" in | ||
i?86) export ARCH=i486 ;; | ||
arm*) export ARCH=arm ;; | ||
# Unless $ARCH is already set, use uname -m for all other archs: | ||
*) export ARCH=$( uname -m ) ;; | ||
esac | ||
fi | ||
|
||
if [ "$ARCH" = "x86_64" ]; then | ||
LIBDIRSUFFIX="64" | ||
else | ||
LIBDIRSUFFIX="" | ||
fi | ||
|
||
NUMJOBS=${NUMJOBS:-" -j7 "} | ||
|
||
CWD=$(pwd) | ||
TMP=${TMP:-/tmp/build} | ||
PKG=$TMP/package-$PRGNAM | ||
OUTPUT=${OUTPUT:-/tmp} | ||
|
||
rm -rf $PKG | ||
mkdir -p $TMP $PKG | ||
|
||
cd $TMP | ||
rm -rf $PRGNAM-$VERSION | ||
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1 | ||
cd $PRGNAM-$VERSION | ||
|
||
LDFLAGS="$LDFLAGS -lz" | ||
./configure \ | ||
--prefix=/usr \ | ||
--libdir=/usr/lib${LIBDIRSUFFIX} \ | ||
--docdir=/usr/doc/$PRGNAM-$VERSION \ | ||
--mandir=/usr/man \ | ||
--with-build-credit="Willy Sudiarto Raharjo" \ | ||
--build=$ARCH-slackware-linux | ||
|
||
make $NUMJOBS || exit 1 | ||
make install DESTDIR=$PKG|| exit 1 | ||
|
||
mkdir -p $PKG/install | ||
cat $CWD/slack-desc > $PKG/install/slack-desc | ||
|
||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION | ||
cp INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION | ||
|
||
# If there's a ChangeLog, installing at least part of the recent history | ||
# is useful, but don't let it get totally out of control: | ||
if [ -r Changelog ]; then | ||
DOCSDIR=$(echo $PKG/usr/doc/$PRGNAM-$VERSION) | ||
cat Changelog | head -n 1000 > $DOCSDIR/Changelog.txt | ||
touch -r Changelog $DOCSDIR/Changelog.txt | ||
fi | ||
|
||
# Strip stuff: | ||
find $PKG | xargs file | grep -e "executable" -e "shared object" \ | ||
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null | ||
|
||
# Build the package: | ||
cd $PKG | ||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.txz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
PRGNAM="aegisub" | ||
VERSION="2.1.9" | ||
HOMEPAGE="http://www.aegisub.org/" | ||
DOWNLOAD="http://ftp.aegisub.org/pub/releases/aegisub-2.1.9.tar.gz" | ||
MD5SUM="878cf7e6fd9c35cc218537bac3b86c25" | ||
DOWNLOAD_x86_64="" | ||
MD5SUM_x86_64="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# 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------------------------------------------------------| | ||
aegisub: aegisub (General-purpose subtitle editor) | ||
aegisub: | ||
aegisub: A general-purpose subtitle editor with ASS/SSA support | ||
aegisub: | ||
aegisub: | ||
aegisub: Project Site: https://code.google.com/p/aegisub/ | ||
aegisub: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Enca detects the encoding of text files, on the basis of knowledge of their language. | ||
|
||
It can also convert them to other encodings, allowing you to recode files without knowing | ||
their current encoding. | ||
|
||
Optional Requirement: | ||
- Recode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
#!/bin/sh | ||
|
||
# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org> | ||
# All rights reserved. | ||
# | ||
# Redistribution and use of this script, with or without modification, is | ||
# permitted provided that the following conditions are met: | ||
# | ||
# 1. Redistributions of this script must retain the above copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | ||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | ||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
# OTHERWISE) ARISING IN ANY WAY OUTPUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
# Changelog | ||
# July 30: Initial Release | ||
|
||
PRGNAM=enca | ||
VERSION=1.13 | ||
BUILD=${BUILD:-1wsr} | ||
|
||
# Automatically determine the architecture we're building on: | ||
if [ -z "$ARCH" ]; then | ||
case "$( uname -m )" in | ||
i?86) export ARCH=i486 ;; | ||
arm*) export ARCH=arm ;; | ||
# Unless $ARCH is already set, use uname -m for all other archs: | ||
*) export ARCH=$( uname -m ) ;; | ||
esac | ||
fi | ||
|
||
if [ "$ARCH" = "x86_64" ]; then | ||
LIBDIRSUFFIX="64" | ||
else | ||
LIBDIRSUFFIX="" | ||
fi | ||
|
||
NUMJOBS=${NUMJOBS:-" -j7 "} | ||
|
||
CWD=$(pwd) | ||
TMP=${TMP:-/tmp/build} | ||
PKG=$TMP/package-$PRGNAM | ||
OUTPUT=${OUTPUT:-/tmp} | ||
|
||
rm -rf $PKG | ||
mkdir -p $TMP $PKG | ||
|
||
cd $TMP | ||
rm -rf $PRGNAM-$VERSION | ||
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1 | ||
cd $PRGNAM-$VERSION | ||
|
||
./configure \ | ||
--prefix=/usr \ | ||
--libdir=/usr/lib${LIBDIRSUFFIX} \ | ||
--docdir=/usr/doc/$PRGNAM-$VERSION \ | ||
--disable-static \ | ||
--disable-rpath \ | ||
--enable-gtk-doc=no \ | ||
--build=$ARCH-slackware-linux | ||
|
||
make $NUMJOBS || exit 1 | ||
make install DESTDIR=$PKG|| exit 1 | ||
|
||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION | ||
cp AUTHORS COPYING FAQ INSTALL README* THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION | ||
cp -rf devel-docs/html/* $PKG/usr/doc/$PRGNAM-$VERSION | ||
|
||
# We don't need duplicate documentations | ||
rm -rf $PKG/usr/share/gtk-doc/ | ||
|
||
# If there's a ChangeLog, installing at least part of the recent history | ||
# is useful, but don't let it get totally out of control: | ||
if [ -r ChangeLog ]; then | ||
DOCSDIR=$(echo $PKG/usr/doc/*-$VERSION) | ||
cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog.txt | ||
touch -r ChangeLog $DOCSDIR/ChangeLog.txt | ||
fi | ||
|
||
if [ -d $PKG/usr/share/man ]; then | ||
( cd $PKG/usr/share/man | ||
for manpagedir in $(find . -type d -name "man*") ; do | ||
( cd $manpagedir | ||
for eachpage in $( find . -type l -maxdepth 1) ; do | ||
ln -s $( readlink $eachpage ).gz $eachpage.gz | ||
rm $eachpage | ||
done | ||
gzip -9 *.* | ||
) | ||
done | ||
) | ||
fi | ||
|
||
# Strip stuff: | ||
find $PKG | xargs file | grep -e "executable" -e "shared object" \ | ||
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null | ||
|
||
mkdir -p $PKG/install | ||
cat $CWD/slack-desc > $PKG/install/slack-desc | ||
|
||
|
||
# Build the package: | ||
cd $PKG | ||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.txz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
PRGNAM="enca" | ||
VERSION="1.13" | ||
HOMEPAGE="http://freecode.com/projects/enca" | ||
DOWNLOAD="http://dl.cihar.com/enca/enca-1.13.tar.gz" | ||
MD5SUM="58fcf1fea7eeab70b64a2d61e14a967d" | ||
DOWNLOAD_x86_64="" | ||
MD5SUM_x86_64="" |
Oops, something went wrong.