Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
119 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,7 @@ | |||
Celtx is the world's first all-in-one media pre-production system. | |||
|
|||
It replaces 'paper & binder' pre-production with a digital approach | |||
that's more complete, simpler to work with, and easier to share. | |||
|
|||
|
|||
Website: http://www.celtx.com/ |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,70 @@ | |||
#!/bin/sh | |||
|
|||
# Slackware build script for Celtx -> http://www.celtx.com/ | |||
# Written by Diogo Leal (estranho) - diogo@diogoleal.com | |||
|
|||
PRGNAM=celtx | |||
VERSION=${VERSION:-2.9.1} | |||
BUILD=${BUILD:-1} | |||
TAG=${TAG:-_SBo} | |||
CWD=$(pwd) | |||
|
|||
if [ -z "$ARCH" ]; then | |||
case "$( uname -m )" in | |||
i?86) export ARCH=i486 ;; | |||
arm*) export ARCH=arm ;; | |||
*) export ARCH=$( uname -m ) ;; | |||
esac | |||
fi | |||
|
|||
CWD=$(pwd) | |||
TMP=${TMP:-/tmp/SBo} | |||
PKG=$TMP/package-$PRGNAM | |||
OUTPUT=${OUTPUT:-/tmp} | |||
|
|||
if [ "$ARCH" = "i486" ]; then | |||
SLKCFLAGS="-O2 -march=i486 -mtune=i686" | |||
LIBDIRSUFFIX="" | |||
elif [ "$ARCH" = "i686" ]; then | |||
SLKCFLAGS="-O2 -march=i686 -mtune=i686" | |||
LIBDIRSUFFIX="" | |||
elif [ "$ARCH" = "x86_64" ]; then | |||
SLKCFLAGS="-O2 -fPIC" | |||
LIBDIRSUFFIX="64" | |||
else | |||
SLKCFLAGS="-O2" | |||
LIBDIRSUFFIX="" | |||
fi | |||
|
|||
set -e | |||
|
|||
rm -rf $PKG | |||
mkdir -p $TMP $PKG $OUTPUT | |||
rm -rf $TMP/$PRGNAM-$VERSION | |||
cd $TMP | |||
tar xfj $CWD/Celtx-$VERSION.tar.bz2 | |||
cd celtx | |||
|
|||
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 {} \; | |||
|
|||
cd $TMP/celtx | |||
mkdir -p $PKG/opt/celtx | |||
cp -a * $PKG/opt/celtx | |||
echo $CWD | |||
install -D -m 644 $CWD/celtx.desktop $PKG/usr/share/applications/celtx.desktop | |||
install -D -m 644 $CWD/celtx.png $PKG/usr/share/pixmaps/celtx.png | |||
|
|||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | |||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | |||
|
|||
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} |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
[Desktop Entry] | |||
Type=Application | |||
Name=celtx | |||
GenericName=celtx | |||
Icon=/usr/share/pixmaps/celtx.png | |||
Categories=Qt;KDE;AudioVideo;Audio; | |||
Exec=/opt/celtx/celtx %U | |||
TryExec=/opt/celtx/celtx | |||
Terminal=false | |||
Type=Application |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
PRGNAM="celtx" | |||
VERSION="2.9.1" | |||
HOMEPAGE="www.celtx.com" | |||
DOWNLOAD="http://download.celtx.com/2.9.1/Celtx-2.9.1.tar.bz2" | |||
MD5SUM="5721d9d099100e5a16c564ba0e3973f3" | |||
DOWNLOAD_x86_64="" | |||
MD5SUM_x86_64="" | |||
MAINTAINER="Diogo Leal" | |||
EMAIL="diogo@diogoleal.com" | |||
APPROVED="" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
if [ -x /usr/bin/update-desktop-database ]; then | |||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 | |||
fi |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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------------------------------------------------------| | |||
celtx: Celtx is the world's first all-in-one media pre-production system. | |||
celtx: | |||
celtx: | |||
celtx: It replaces 'paper & binder' pre-production with a digital approach | |||
celtx: that's more complete, simpler to work with, and easier to share. | |||
celtx: | |||
celtx: | |||
celtx: | |||
celtx: website: http://www.celtx.com/ | |||
celtx: | |||
celtx: |