[Slackbuilds-users] transmisson.SlackBuild-script with version 2.83
Mats Bertil Tegner
mats.bertil.tegner at gmail.com
Thu Jun 5 20:48:08 UTC 2014
Hi,
In order to build version 2.83 of transmission the following lines must
be added/changed to the script otherwise you will get errors building
the Qt-client using Qt4:
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
# Qt4 fix
(http://www.linuxfromscratch.org/blfs/view/svn/xsoft/transmission.html)
sed -i '/^CONFIG/aQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro
# build the Qt client (transmission-qt)
cd $TMP/$PRGNAM-$VERSION/qt
qmake \
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
QMAKE_CFLAGS+="$SLKCFLAGS" \
qtr.pro
sed -i -e 's% -g % %g' Makefile
make
INSTALL_ROOT=$PKG/usr make install
Regards,
Mats Tegner
More information about the SlackBuilds-users
mailing list