From 1ddc345b9983e0e47dd4c768fa85d4ca87315cd5 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 9 Jan 2016 16:59:39 -0600 Subject: multimedia/ffmpeg: Use libopenjpeg from Slackware Signed-off-by: Robby Workman --- multimedia/ffmpeg/ffmpeg.SlackBuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'multimedia/ffmpeg/ffmpeg.SlackBuild') diff --git a/multimedia/ffmpeg/ffmpeg.SlackBuild b/multimedia/ffmpeg/ffmpeg.SlackBuild index 3788503710..c7befb1d62 100644 --- a/multimedia/ffmpeg/ffmpeg.SlackBuild +++ b/multimedia/ffmpeg/ffmpeg.SlackBuild @@ -110,9 +110,6 @@ fdk="" ; [ "${FDK_AAC:-no}" != "no" ] && \ { fdk="--enable-libfdk-aac"; non_free="--enable-nonfree" ; } ssl="" ; [ "${OPENSSL:-no}" != "no" ] && \ { ssl="--enable-openssl" ; non_free="--enable-nonfree" ; } -openjpeg="" ; [ "${JP2:-no}" != "no" ] && \ - { openjpeg="--enable-libopenjpeg" ; \ - SLKCFLAGS="$SLKCFLAGS -I/usr/include/openjpeg-1.5" ; } decklink="" ; [ "${DECKLINK:-no}" != "no" ] && \ { decklink="--enable-decklink" ; \ SLKCFLAGS="$SLKCFLAGS -I/usr/include/decklink" ; } @@ -142,8 +139,8 @@ sed -i "s| -lflite\"| -lflite -lm -lasound\"|" \ # Some variables are removed from newer libvpx releases patch -p1 < $CWD/ffmpeg-libvpxenc-remove-some-unused-ctrl-id-mappings.patch -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -I/usr/include/openmj2-2.1" \ +CXXFLAGS="$SLKCFLAGS -I/usr/include/openmj2-2.1" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -170,8 +167,8 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-opengl \ --enable-libvpx \ --enable-libpulse \ + --enable-libopenjpeg \ --arch=$ARCH \ - $openjpeg \ $libdc1394 \ $mp3lame \ $libfaac \ -- cgit v1.2.3