Cosmetic changings
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
# Generated by mksrcinfo v8
|
# Generated by mksrcinfo v8
|
||||||
# Wed Jun 7 02:52:53 UTC 2017
|
# Sun Jun 18 01:33:31 UTC 2017
|
||||||
pkgbase = ffmpeg-full
|
pkgbase = ffmpeg-full
|
||||||
pkgdesc = Record, convert and stream audio and video (with all possible libs)
|
pkgdesc = Record, convert and stream audio and video (with all possible libs)
|
||||||
pkgver = 3.3.2
|
pkgver = 3.3.2
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://www.ffmpeg.org/
|
url = http://www.ffmpeg.org/
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom:nonfree and unredistributable
|
license = custom: nonfree and unredistributable
|
||||||
makedepends = yasm
|
makedepends = yasm
|
||||||
makedepends = opencl-headers
|
makedepends = opencl-headers
|
||||||
makedepends = blackmagic-decklink-sdk
|
makedepends = blackmagic-decklink-sdk
|
||||||
|
|||||||
@@ -4,11 +4,11 @@
|
|||||||
pkgname=ffmpeg-full
|
pkgname=ffmpeg-full
|
||||||
_srcname=ffmpeg
|
_srcname=ffmpeg
|
||||||
pkgver=3.3.2
|
pkgver=3.3.2
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Record, convert and stream audio and video (with all possible libs)"
|
pkgdesc='Record, convert and stream audio and video (with all possible libs)'
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.ffmpeg.org/"
|
url='http://www.ffmpeg.org/'
|
||||||
license=('custom:nonfree and unredistributable')
|
license=('custom: nonfree and unredistributable')
|
||||||
depends=(
|
depends=(
|
||||||
# official repositories:
|
# official repositories:
|
||||||
'glibc' 'alsa-lib' 'jack' 'libpng'
|
'glibc' 'alsa-lib' 'jack' 'libpng'
|
||||||
@@ -55,20 +55,20 @@ build() {
|
|||||||
cd "${_srcname}-${pkgver}"
|
cd "${_srcname}-${pkgver}"
|
||||||
|
|
||||||
# set x86_64 specific options
|
# set x86_64 specific options
|
||||||
if [ "$CARCH" = "x86_64" ]
|
if [ "$CARCH" = 'x86_64' ]
|
||||||
then
|
then
|
||||||
_cuda="--enable-cuda"
|
_cuda='--enable-cuda'
|
||||||
_cuvid="--enable-cuvid"
|
_cuvid='--enable-cuvid'
|
||||||
_libnpp="--enable-libnpp"
|
_libnpp='--enable-libnpp'
|
||||||
_cflags="--extra-cflags=-I/opt/cuda/include"
|
_cflags='--extra-cflags=-I/opt/cuda/include'
|
||||||
_ldflags="--extra-ldflags=-L/opt/cuda/lib64 -Wl,-rpath -Wl,/opt/intel/mediasdk/lib64"
|
_ldflags='--extra-ldflags=-L/opt/cuda/lib64 -Wl,-rpath -Wl,/opt/intel/mediasdk/lib64'
|
||||||
|
|
||||||
# strictly specifying nvcc path is needed if package is installing
|
# strictly specifying nvcc path is needed if package is installing
|
||||||
# cuda for the first time
|
# cuda for the first time
|
||||||
sed -i 's/^nvcc_default=.*/nvcc_default=\"\/opt\/cuda\/bin\/nvcc\"/' configure
|
sed -i 's@^nvcc_default=.*@&\"/opt/cuda/bin/nvcc\"@' configure
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg2 "Running ffmpeg configure script. Please wait..."
|
msg2 'Running ffmpeg configure script. Please wait...'
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
|||||||
Reference in New Issue
Block a user