X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fbld_scripts%2Fbld_dynamic.sh;h=ad08e782374526d8824baa8bfb4c5fb424731c98;hb=190b4810ec184c74ceab3fcd6faf09a91c92c53c;hp=80438ea31d5e5f637ea9f179589c9da551eb5a4a;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/bld_scripts/bld_dynamic.sh b/cinelerra-5.1/bld_scripts/bld_dynamic.sh index 80438ea3..ad08e782 100755 --- a/cinelerra-5.1/bld_scripts/bld_dynamic.sh +++ b/cinelerra-5.1/bld_scripts/bld_dynamic.sh @@ -14,30 +14,30 @@ fi cd "$path/$dir/$bld" rm -rf "$proj" -git clone --depth 1 "git://git.cinelerra-cv.org/goodguy/cinelerra.git" "$proj" -#rsh host tar -C /mnt0/cinelerra5 -cf - cinelerra | tar -xf - -#mv cinelerra cinelerra5 +git clone "git://git.cinelerra-cv.org/goodguy/cinelerra.git" "$proj" +#rsh host tar -C /mnt0 -cf - cinelerra5 | tar -xf - if [ $? -ne 0 ]; then echo "git clone $proj failed" exit 1 fi cd "$proj/$base" -if [ "$dir" = "ubuntu" ]; then - echo "CFLAGS += -DPNG_SKIP_SETJMP_CHECK=1" >> global_config -fi -if [ "$dir" = "centos" ]; then - echo "EXTRA_LIBS += -lnuma" >> global_config - echo "CFLAGS += -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS" >> global_config -fi -if [ "$dir" = "suse" ]; then - echo "EXTRA_LIBS += -lnuma" >> global_config -fi +case "$dir" in + "ubuntu" | "mint" | "ub14" | "ub15") + echo "CFLAGS += -DPNG_SKIP_SETJMP_CHECK=1" >> global_config ;; + "centos") + echo "CFLAGS += -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS" >> global_config + echo "EXTRA_LIBS += -lnuma" >> global_config ;; + "suse" | "leap") + echo "EXTRA_LIBS += -lnuma" >> global_config ;; + "fedora") + echo "EXTRA_LIBS += -lnuma" >> global_config ;; +esac STATIC_LIBRARIES=0 ./configure >& log make >> log 2>&1 $@ make install >> log 2>&1 echo "finished: scanning log for ***" -grep -a "\*\*\*" log +grep -ai "\*\*\*.*error" log