aboutsummaryrefslogtreecommitdiff
path: root/network/transmission/transmission.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2014-08-28 09:29:53 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-30 14:20:16 +0700
commit5a3a78283f16d08bc3abf23515b2816ea591ec51 (patch)
tree2db8d0dc365ff55bd87b043e7640bbc9d62c1899 /network/transmission/transmission.SlackBuild
parent76fb2318101d3ac46516e8b2c6a71fab83bf09f3 (diff)
network/transmission: Updated for version 2.84.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/transmission/transmission.SlackBuild')
-rw-r--r--network/transmission/transmission.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/network/transmission/transmission.SlackBuild b/network/transmission/transmission.SlackBuild
index 20bd5f424e2ad..95480d29b2aba 100644
--- a/network/transmission/transmission.SlackBuild
+++ b/network/transmission/transmission.SlackBuild
@@ -23,10 +23,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Revision date: 2013/03/24
+# Revision date: 2014/08/28
PRGNAM=transmission
-VERSION=${VERSION:-2.77}
+VERSION=${VERSION:-2.84}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,7 +66,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,6 +81,10 @@ sed -i -e 's%-ggdb3 %%g' configure.ac
# Fix hard-coded path of man file of Qt client
sed -i "s|share/man/|man/|" qt/qtr.pro
+# Needed when using Qt4
+# https://trac.transmissionbt.com/ticket/5700#comment:2
+echo "QMAKE_CXXFLAGS += -std=c++11" >> qt/qtr.pro
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -125,4 +129,3 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-