@ -33,6 +33,12 @@ getsource_fn
untar_fn
untar_fn
# set support for additional language(s) as per I18N variable
# but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
sed -i "s|POFILES =.*$|POFILES =$langs|" po/Makefile.am
langs=$(echo $langs | sed "s|.po||g")
listdocs_fn
listdocs_fn
ltoolupdate_fn
ltoolupdate_fn
@ -42,18 +48,17 @@ chown_fn
cd_builddir_fn
cd_builddir_fn
# Fails with clang =[
# Fails with clang =[
LDFLAGS=" ${ SLKLDFLAGS}" \
LDFLAGS=$SLKLDFLAGS \
CFLAGS="${ SLKCFLAGS} $TQT_INCLUDE_PATH" \
CFLAGS="$SLKCFLAGS $TQT_INCLUDE_PATH" \
CXXFLAGS=" ${ SLKCFLAGS}" \
CXXFLAGS=$SLKCFLAGS \
CC="gcc" \
CC="gcc" \
CXX="g++" \
CXX="g++" \
../configure \
../configure \
--prefix=${ INSTALL_TDE} \
--prefix=$INSTALL_TDE \
--sysconfdir="/etc/trinity" \
--sysconfdir="/etc/trinity" \
--mandir=${ INSTALL_TDE} /man \
--mandir=$INSTALL_TDE/man \
--disable-rpath \
--disable-rpath \
--enable-closure \
--enable-closure
--build=$ARCH-slackware-linux
make_fn
make_fn
@ -71,6 +76,7 @@ echo "
# exactly 11 lines for the formatting to be correct. It's also customary to
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
$PRGNAM: $PRGNAM (frontend to various audio converters)
$PRGNAM: $PRGNAM (frontend to various audio converters)
$PRGNAM:
$PRGNAM:
$PRGNAM: soundKonverter is frontend to various audio converters.
$PRGNAM: soundKonverter is frontend to various audio converters.
@ -80,21 +86,21 @@ $PRGNAM: - Audio conversion
$PRGNAM: - Replay Gain calculation
$PRGNAM: - Replay Gain calculation
$PRGNAM: - CD ripping
$PRGNAM: - CD ripping
$PRGNAM:
$PRGNAM:
$PRGNAM: With language support for:
$PRGNAM: en $langs
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: Home: https://www.trinitydesktop.org/index.php
" > $PKG/install/slack-desc
" > $PKG/install/slack-desc
cat <<EOINS >> $PKG/install/doinst.sh
cat <<EOINS >> $PKG/install/doinst.sh
# Update the desktop database:
# Update the desktop database:
if [ -x usr/bin/update-desktop-database ]; then
if [ -x usr/bin/update-desktop-database ]; then
chroot . /usr/bin/update-desktop-database ${ INSTALL_TDE} /share/applications > /dev/null 2>&1
chroot . /usr/bin/update-desktop-database $INSTALL_TDE/share/applications > /dev/null 2>&1
fi
fi
# Update hicolor theme cache:
# Update hicolor theme cache:
if [ -d usr/share/icons/hicolor ]; then
if [ -d usr/share/icons/hicolor ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
chroot . /usr/bin/gtk-update-icon-cache -f -t ${ INSTALL_TDE} /share/icons/hicolor 1> /dev/null 2> /dev/null
chroot . /usr/bin/gtk-update-icon-cache -f -t $INSTALL_TDE/share/icons/hicolor 1> /dev/null 2> /dev/null
fi
fi
fi
fi
EOINS
EOINS