@ -33,6 +33,12 @@ getsource_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
ltoolupdate_fn
@ -42,18 +48,17 @@ chown_fn
cd_builddir_fn
# Fails with clang =[
LDFLAGS=" ${ SLKLDFLAGS}" \
CFLAGS="${ SLKCFLAGS} $TQT_INCLUDE_PATH" \
CXXFLAGS=" ${ SLKCFLAGS}" \
LDFLAGS=$SLKLDFLAGS \
CFLAGS="$SLKCFLAGS $TQT_INCLUDE_PATH" \
CXXFLAGS=$SLKCFLAGS \
CC="gcc" \
CXX="g++" \
../configure \
--prefix=${ INSTALL_TDE} \
--prefix=$INSTALL_TDE \
--sysconfdir="/etc/trinity" \
--mandir=${ INSTALL_TDE} /man \
--mandir=$INSTALL_TDE/man \
--disable-rpath \
--enable-closure \
--build=$ARCH-slackware-linux
--enable-closure
make_fn
@ -71,6 +76,7 @@ echo "
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
$PRGNAM: $PRGNAM (frontend to various audio converters)
$PRGNAM:
$PRGNAM: soundKonverter is frontend to various audio converters.
@ -80,21 +86,21 @@ $PRGNAM: - Audio conversion
$PRGNAM: - Replay Gain calculation
$PRGNAM: - CD ripping
$PRGNAM:
$PRGNAM: With language support for:
$PRGNAM: en $langs
$PRGNAM:
$PRGNAM:
$PRGNAM: Home: https://www.trinitydesktop.org/index.php
" > $PKG/install/slack-desc
cat <<EOINS >> $PKG/install/doinst.sh
# Update the desktop database:
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
# Update hicolor theme cache:
if [ -d usr/share/icons/hicolor ]; 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
EOINS