audio/aeolus: Fixed a underlinking problem, misc cleanups.

Added .deskyop file and icon also added stops
  as most of the other distro seem to include
  this. Also added a default config.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-02 10:22:26 -04:00
parent b76395f399
commit dc1cdf835d
6 changed files with 58 additions and 85 deletions

View File

@ -4,7 +4,7 @@
PRGNAM=aeolus
VERSION=${VERSION:-0.8.4}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -42,6 +42,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
tar xvf $CWD/stops-0.3.0.tar.bz2
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -49,18 +50,40 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
sed -i -e 's+/usr/local+/usr+' -e '/ldconfig/d' $TMP/$PRGNAM-$VERSION/source/Makefile
cd $TMP/$PRGNAM-$VERSION/source/
sed -i -e 's+/usr/local+/usr+' \
-e '/ldconfig/d' \
-e 's|$(LDFLAGS)|$(LDFLAGS) -ldl|g' \
$TMP/$PRGNAM-$VERSION/source/Makefile
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
cd $TMP/$PRGNAM-$VERSION/source/
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
cd ..
cd stops-0.3.0
mkdir -p $PKG/usr/share/aeolus/stops
mv * $PKG/usr/share/aeolus/stops/
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
cd $TMP/$PRGNAM-$VERSION
mkdir -p $PKG/usr/share/applications
install -m0644 $CWD/aeolus.desktop $PKG/usr/share/applications/aeolus.desktop
mkdir -p $PKG/usr/share/pixmaps
install -m0644 $CWD/aeolus.png $PKG/usr/share/pixmaps/aeolus.png
# set reasonable default startup options:
# jack driver, point to stops, store presets in user home directory
mkdir -p $PKG/etc/
cat << EOF > $PKG/etc/aeolus.conf.new
# Aeolus default options
-u -J -S /usr/share/aeolus/stops
EOF
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING INSTALL \

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Aeolus
Comment=Organ Emulator
Exec=/usr/bin/aeolus
Terminal=false
Type=Application
Icon=aeolus
Categories=AudioVideo;Audio;

View File

@ -1,8 +1,10 @@
PRGNAM="aeolus"
VERSION="0.8.4"
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html"
DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/aeolus-0.8.4.tar.bz2"
MD5SUM="0dcbfb2ab386419f306e1d947815163a"
DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/aeolus-0.8.4.tar.bz2
http://kokkinizita.linuxaudio.org/linuxaudio/downloads/stops-0.3.0.tar.bz2"
MD5SUM="0dcbfb2ab386419f306e1d947815163a \
2a7b1cae820408fa1cc655800d08d88f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="clalsadrv clxclient jack-audio-connection-kit"

BIN
audio/aeolus/aeolus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1,75 +0,0 @@
/* XPM */
static char * aeolus_64_xpm[] = {
"64 64 8 1",
" c #272744",
". c #3D3522",
"+ c #4B4838",
"@ c #4A4A5F",
"# c #59595B",
"$ c #666865",
"% c #6F707F",
"& c #9A9BA1",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$@@@@@@@@@@#@@@@@@@@@@@@@@@@@@@@#@@@@@@@@@@@@@@@@@@@@#",
"$&&&&$$$$$$@%%%%%%%& #@%%&%&%%@@@ %%%%%% # @%%%&%% @ %&%%%&&% #",
"$&&&$$$$$$$@ @@@@@ # @ @@@ @@ @@@@ @ # @@@ @@ @ @ @ #",
"$$$$$$$$$$$@ @@ # @@ @@ @@@@ % # @@ @@ @ #",
"$$$$$$$$$$$@ @@ # @@ @@ @%%%@% # @@ @@ @@ #",
"$$$$#######@@@##################################################",
"$$$#@ #+++..+.+++$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$@ @@@@ #$++$+$$+$+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$@ %%%% #$$$&$$$$$+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$@ #+..+...+.+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$#@@@@@@@@@#++++++++++$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$########$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$@@@@@@@@ @#@# @@@@@@@@ @ @@#@@@@ @@@@@@@@@ @ @#",
"$&&$$$$$$$$@%&&&%&&& #@&&%&&&&%@@ %%&&%% # &&&&&% @@@&&&%%&& #",
"$&&$$$$$$$$@ # @@ # @@ #",
"$$$$$$$$$$$@ @% # &%%%@% @@ %%%%@% # %@%% @@ @ #",
"$$$$$$$$$$$@ # @@@@@@ @@ @@@@@@ # @@@@ @@ @ #",
"$$$$$#####$##########$##########################################",
"$$$$@ #+........++.........#$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$@ @@@ @@ #$++++++++++..$++$+..#$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$@ &&&&%&@ +$$&&&&&&&++.+&$&&+..#$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$@ #+........++.........#$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$@ #++++++++++#.........#$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$####@##@#@#@%##@###@##@###@#@@@#@@###@#@@##@@###@#@@#",
"$&$$$$$$$$$@@%@@@%@% # %@%@%%%@ @ @%%@@@ # %%@@@@ @@ %%%@@ #",
"$&$$$$$$$$$@ @@@@%@% # @@@@@%%@@@ @@%@@ # @@@@@@ @@ @%@@@ #",
"$$$$$$$$$$$@ @@ # @@ @@ @ # @@ @@@% #",
"$$$$$$$$$$$@ @@ # @@ @@ @ # @ @@ @@@@ #",
"$$$$#######@@@@@@@@@@#@@@@@@@@@@@@@@@@@@@@#@@@#@##@###@#####@@##",
"$$$#@ @%%%@@ @@ @@@%%@% @@ @@@ @+.......++#+......",
"$$$$@ %@@@ @ @@%%%%@ @ @@@@@ @ @@@@@ @ +..++++...+..+.#$+",
"$$$$@ @ @ @@@ @ %%%%%@ @ @@%%%%% +..+$$$...+..$$$$$",
"$$$$@ @@ @ @@% @ @ +.........+.......",
"$$$$@ @ @@ @@ @@ @@ @#........+#+......",
"$$$$$########$$$########$$########$$$########$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$#@@@@@@@@@#@#@@@@@@@##@@@@@@@@@#@#@@@@@@@##@@@@@@@@@#",
"$&&$$$$$$$$@ %%%%@%@ # &@%@%%%@@ %%%@%%@% # &@%@%%%@ @ @%%@@@ #",
"$&$$$$$$$$$@ @@@@%%@ # @@@%%%%@@@ @@%@%%% # @@@%%%%@@@ @@@%@@ #",
"$$$$$$$$$$$@ @@ # @@ @@ @ # @@ @ #",
"$$$$$$$$$$$@ @& # %% @@ @@ # @@ @@ @ #",
"$$$$#######@ @@@ @@@@#@@@@ @@@@@@@@@@@@@@#@@@@@@@@@##@@@@@@@@@#",
"$$$#@@@@@@@@@@@%@@@%@@%@@# @#++++++++++#+++++++++#+++++++",
"$$$#@@%%%%%%%@@%%%%%%@%@ @ @ @@ @ #...+++....+..++++...+..+++++",
"$$$$@ @@ @@ @@@ @ %%%%%%@ #...&$$....+..$$$$...+..$$$$$",
"$$$$@ @@ @ %@ @ @@@ #.....+....+....++...+.....++",
"$$$$@ @@@ @@@ @@@ @@ #+.+...++++#........+#+..+...",
"$$$$##########################################$#########$#######",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$##$$$$$$$$###$$$$$$$##$$$$$$$$$",
"$$&$&&$$$$$$$$$&$&$$$$$$$$$$$###$&$$######$$&$###$##$&&$###$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$##############################$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#######$$$$$####$#$$#######$$$$$$$",
"$$&&&&$$$$$$$$$&$&$$$$$$$$$$$###$$$$######$$$$###$##&&$$###$$$$$",
"$$$$$$$$$$$$$$$$$$#$$$$$$$$$$##############################$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$"};

15
audio/aeolus/doinst.sh Normal file
View File

@ -0,0 +1,15 @@
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
rm $NEW
fi
}
config etc/aeolus.conf.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi