add arch linux + cleanup
authorGood Guy <good1.2guy@gmail.com>
Sun, 19 Jun 2016 19:06:45 +0000 (13:06 -0600)
committerGood Guy <good1.2guy@gmail.com>
Sun, 19 Jun 2016 19:06:45 +0000 (13:06 -0600)
cinelerra-5.1/PKGBUILD [new file with mode: 0644]
cinelerra-5.1/configure.ac
cinelerra-5.1/plugins/scaleratio/.gdb_history [deleted file]

diff --git a/cinelerra-5.1/PKGBUILD b/cinelerra-5.1/PKGBUILD
new file mode 100644 (file)
index 0000000..5f01f86
--- /dev/null
@@ -0,0 +1,36 @@
+# Maintainer: goodguy <lists.cinelerra-cv.org>
+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/\<python\>/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"
+}
index d304dcd8fa238ab7483ffdd3b60fc6ba576b8003..c1cbd8884b37da11ccef72a747576114d51e749e 100644 (file)
@@ -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 (file)
index 2723bc9..0000000
+++ /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