diff options
author | Nicola Murino | 2017-06-21 14:57:24 +0200 |
---|---|---|
committer | Nicola Murino | 2017-06-21 14:57:24 +0200 |
commit | fd55ded0882174975144353e81ebe072835f099e (patch) | |
tree | 7c4fe72cc77b46204fa0080d263439ae03a5603d | |
parent | 7f1170d1db75af5ed1218ef30df8a2403265c00e (diff) | |
download | aur-fd55ded0882174975144353e81ebe072835f099e.tar.gz |
Use openssl-1.0
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Feb 6 15:14:36 UTC 2017 +# Wed Jun 21 12:57:02 UTC 2017 pkgbase = mingw-w64-librtmp0 pkgdesc = Toolkit for RTMP streams (mingw-w64) pkgver = 2.4 - pkgrel = 1 + pkgrel = 2 url = http://rtmpdump.mplayerhq.hu/ arch = any license = GPL2 @@ -12,7 +12,7 @@ pkgbase = mingw-w64-librtmp0 makedepends = git depends = mingw-w64-crt depends = mingw-w64-zlib - depends = mingw-w64-openssl + depends = mingw-w64-openssl-1.0 options = !strip options = !buildflags options = staticlibs @@ -1,12 +1,12 @@ # Maintainer: drakkan <nicola.murino at gmail dot com> pkgname=mingw-w64-librtmp0 pkgver=2.4 -pkgrel=1 +pkgrel=2 pkgdesc="Toolkit for RTMP streams (mingw-w64)" arch=('any') url='http://rtmpdump.mplayerhq.hu/' license=('GPL2' 'LGPL2.1') -depends=('mingw-w64-crt' 'mingw-w64-zlib' 'mingw-w64-openssl') +depends=('mingw-w64-crt' 'mingw-w64-zlib' 'mingw-w64-openssl-1.0') makedepends=('mingw-w64-gcc' 'git') options=('!strip' '!buildflags' 'staticlibs') _commit='fa8646daeb19dfd12c181f7d19de708d623704c0' @@ -27,10 +27,13 @@ build() { export CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4" export CXXFLAGS=${CFLAGS} for _arch in ${_architectures}; do + export C_INCLUDE_PATH="/usr/${_arch}/include/openssl-1.0" [[ -d "build-${_arch}" ]] && rm -rf "build-${_arch}" cp -rf "$srcdir/rtmpdump" "${srcdir}/build-${_arch}" pushd build-${_arch} + sed -i "s/^LIB_OPENSSL.*/LIB_OPENSSL=-L\/usr\/${_arch}\/lib\/openssl-1.0 -lssl -lcrypto \$\(LIBZ\)/g" Makefile + sed -i "s/^LIB_OPENSSL.*/LIB_OPENSSL=-L\/usr\/${_arch}\/lib\/openssl-1.0 -lssl -lcrypto \$\(LIBZ\)/g" librtmp/Makefile make SYS=mingw prefix="/usr/${_arch}" CRYPTO=OPENSSL XCFLAGS="$CFLAGS" CC=${_arch}-cc LD=${_arch}-ld popd |