diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2021-05-10 19:57:01 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-17 08:49:45 +0700 |
commit | 22bafaf01725ba923377c49164af603b89fef104 (patch) | |
tree | 1be58cdcff8600bd8eedf5fb8fc8abd5a2586b12 | |
parent | 9c2d31cad33676dcfbce12fe6181fcd64e9b6adc (diff) |
multimedia/lives: Cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | multimedia/lives/README | 10 | ||||
-rw-r--r-- | multimedia/lives/lives.SlackBuild | 19 | ||||
-rw-r--r-- | multimedia/lives/lives.info | 2 |
3 files changed, 12 insertions, 19 deletions
diff --git a/multimedia/lives/README b/multimedia/lives/README index 0ff8df50b53c..c71419c5a61d 100644 --- a/multimedia/lives/README +++ b/multimedia/lives/README @@ -20,15 +20,11 @@ performances, and as a video editor is capable of creating dazzling clips in a huge variety of formats. Optional dependencies: -mjpegtools ladspa_sdk libunicap libdv schroedinger libavc1394 +mjpegtools ladspa_sdk libunicap libdv schroedinger libavc1394 -If after initialization the program does not properly come up on the -screen, right-click on the entry in the taskbar, then go to -'More Actions -> Resize', then click anywhere on the screen and it -should lock in. +To build with opencv support, pass OPENCV=yes to the script. -NOTE! You must remove any previous installation of lives before -running this script or the build will fail. +To disable building with pulseaudio, pass PULSE=no to the script. This package uses POSIX filesystem capabilities to execute with elevated privileges (required for realtime audio processing). This diff --git a/multimedia/lives/lives.SlackBuild b/multimedia/lives/lives.SlackBuild index 9fdb34b79bd2..ee7cf819b8b9 100644 --- a/multimedia/lives/lives.SlackBuild +++ b/multimedia/lives/lives.SlackBuild @@ -81,16 +81,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Don't build toonz plugin if opencv-legacy is found (breaks build) -# (opencv 4.x reports as opencv4): -if [ pkg-config --exists opencv ]; then - sed -i -e '/toonz/d' lives-plugins/weed-plugins/Makefile.am - autoreconf -fiv - automake -fi +CV="--disable-opencv" ; [ "${OPENCV:-no}" = "yes" ] && CV="" +PA="--disable-pulse" ; [ "${PULSE:-yes}" = "yes" ] && PA="" -CFLAGS="$SLKCFLAGS -fcommon -I/usr/include/tirpc -Wl,-ltirpc" \ -CXXFLAGS="$SLKCFLAGS -std=c++11" \ +CFLAGS="$SLKCFLAGS -I/usr/include/tirpc -Wl,-ltirpc" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -98,10 +93,12 @@ CXXFLAGS="$SLKCFLAGS -std=c++11" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + $PA \ + $CV \ --build=$ARCH-slackware-linux -make -j1 # Parallel builds have a tendency to fail -make install DESTDIR=$PKG +make -j1 +make -j1 install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/multimedia/lives/lives.info b/multimedia/lives/lives.info index 027b93b21817..90a8c09951b2 100644 --- a/multimedia/lives/lives.info +++ b/multimedia/lives/lives.info @@ -1,6 +1,6 @@ PRGNAM="lives" VERSION="3.2.0" -HOMEPAGE="http://lives-video.com/" +HOMEPAGE="https://lives.sourceforge.net" DOWNLOAD="http://lives-video.com/releases/LiVES-3.2.0.tar.bz2" MD5SUM="5d7bd0ad41d3189b62c002e518fb94c8" DOWNLOAD_x86_64="" |