From: Good Guy Date: Sun, 19 Jun 2016 19:06:45 +0000 (-0600) Subject: add arch linux + cleanup X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=bc2cf75c1c7a338d0491f1341bb3fc10f86e2ecf;p=goodguy%2Fhistory.git add arch linux + cleanup --- diff --git a/cinelerra-5.1/PKGBUILD b/cinelerra-5.1/PKGBUILD new file mode 100644 index 00000000..5f01f86c --- /dev/null +++ b/cinelerra-5.1/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: goodguy +pkgname=cin +pkgver=5.1 +pkgrel=20160619 +pkgdesc="Cinelerra git://git.cinelerra-cv.org/goodguy/cinelerra.git ($pkgrel)" +arch=('x86_64') +url="http://www.cinelerra-cv.org" +license=('GPL') +depends=('xorg-server' 'xorg-server-utils' 'libpng' 'libxv' 'libva' + 'libxft' 'freetype2' 'alsa-lib' 'inkscape' 'dvdauthor') +makedepends=('yasm' 'nasm' 'cmake' + 'libxml2' 'perl-xml-libxml' 'perl-xml-parser') +conflicts=() +source=(https://www.cinelerra-cv.org/five/pkgs/src/cin_$pkgver.$pkgrel-src.tgz) +md5sums=('00000000000000000000000000000000') + +prepare() { + cd "$srcdir/cinelerra-$pkgver" + sed -i 's/\/python2.7/' ./guicast/Makefile +} + +build() { + cd "$srcdir/cinelerra-$pkgver" + ./autogen.sh + ./configure --prefix=/usr --with-exec-name=$pkgname +CFG_VARS="\ +CFLAGS='-Wno-narrowing -O2 -ggdb -fno-omit-frame-pointer' \ +CXXFLAGS='-Wno-narrowing -O2 -ggdb -fno-omit-frame-pointer' \ +WERROR_CFLAGS='-fpermissive'" \ + make 2>&1 | tee log +} + +package() { + cd "$srcdir/cinelerra-$pkgver" + make install DESTDIR="$pkgdir" +} diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac index d304dcd8..c1cbd888 100644 --- a/cinelerra-5.1/configure.ac +++ b/cinelerra-5.1/configure.ac @@ -461,12 +461,12 @@ AC_ARG_WITH(m4_tolower([$1]), # WANT_$1 if test "x$WANT_$1" != "xno" ; then m4_quote($3) -fi -if test "x$RESULT" = "xno" -a "x$PKG_$1" = "x"; then - echo "=== want $1 Failed." - WANT_$1=no -else - WANT_$1=yes + if test "x$RESULT" = "xno" -a "x$PKG_$1" = "x"; then + echo "=== want $1 Failed." + WANT_$1=no + else + WANT_$1=yes + fi fi CFG_WANTS+=" $1" AC_SUBST([WANT_$1]) diff --git a/cinelerra-5.1/plugins/scaleratio/.gdb_history b/cinelerra-5.1/plugins/scaleratio/.gdb_history deleted file mode 100644 index 2723bc94..00000000 --- a/cinelerra-5.1/plugins/scaleratio/.gdb_history +++ /dev/null @@ -1,13 +0,0 @@ -p 19/13. -q -p (1920-720)/2. -p (1080-480)/2. -qu -q -p 1.333333333 / 1.77777777 -p 1080/.75 -p 1920 - 1440 -q -q -p 1920*0.75 -q