diff options
Diffstat (limited to 'network/freerdp/freerdp.SlackBuild')
-rw-r--r-- | network/freerdp/freerdp.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/network/freerdp/freerdp.SlackBuild b/network/freerdp/freerdp.SlackBuild index 6e9446402a..47ecf12623 100644 --- a/network/freerdp/freerdp.SlackBuild +++ b/network/freerdp/freerdp.SlackBuild @@ -5,6 +5,7 @@ # Copyright 2010,2012 Niels Horn, Rio de Janeiro, RJ, Brazil # Copyright 2015 Philip van der Hoeven, Almere, The Netherlands +# Copyright 2015 Mario Preksavec <mario@slackware.hr> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,9 +25,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + PRGNAM=freerdp VERSION=${VERSION:-1.2.0_beta1_android9} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} TARNAME=${VERSION%_*}+${VERSION##*_} @@ -67,6 +69,12 @@ else LIBDIRSUFFIX="" fi +USE_FFMPEG=${USE_FFMPEG:-yes} +case "$USE_FFMPEG" in + yes) WITH_FFMPEG=ON ;; + *) WITH_FFMPEG=OFF ;; +esac + set -e rm -rf $PKG @@ -89,6 +97,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DWITH_CUPS=ON \ + -DWITH_FFMPEG=$WITH_FFMPEG \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 make install DESTDIR=$PKG |