File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,12 @@ extract:
2020 @echo System = $(system )
2121 cd ffmpeg4java-$(system ) && ./extract.sh
2222
23+ .PHONY : dump
24+ dump :
25+ test $(system )
26+ @echo System = $(system )
27+ cd ffmpeg4java-$(system ) && ./dump.sh
28+
2329.PHONY : verify
2430verify :
2531 test $(system )
Original file line number Diff line number Diff line change @@ -4,4 +4,6 @@ FFMPEG_HOME=$(pwd)/native/ffmpeg
44
55export PATH=$PATH :${JEXTRACT_HOME} /bin
66
7- jextract --dump-includes includes.txt --include-dir " ${FFMPEG_HOME} " libffmpeg.h
7+ jextract --dump-includes includes.txt \
8+ --include-dir " ${FFMPEG_HOME} " \
9+ libffmpeg.h
Original file line number Diff line number Diff line change 22
33set -e
44
5- if [ ! -d " $( pwd) /ffmpeg" ]; then
6- git clone https://git.ffmpeg.org/ffmpeg.git " $( pwd) /ffmpeg"
5+ FFMPEG_HOME=$( pwd) /ffmpeg
6+
7+ if [ ! -d " $FFMPEG_HOME " ]; then
8+ git clone https://git.ffmpeg.org/ffmpeg.git " $FFMPEG_HOME "
79else
8- pushd " $( pwd ) /ffmpeg "
10+ pushd " $FFMPEG_HOME "
911 git fetch
1012 popd
1113fi
1214
13- pushd " $( pwd ) /ffmpeg "
15+ pushd " $FFMPEG_HOME "
1416git checkout af25a4bfd2503caf3ee485b27b99b620302f5718
1517popd
Original file line number Diff line number Diff line change @@ -4,4 +4,6 @@ FFMPEG_HOME=$(pwd)/native/ffmpeg
44
55export PATH=$PATH :${JEXTRACT_HOME} /bin
66
7- jextract --dump-includes includes.txt --include-dir " ${FFMPEG_HOME} " libffmpeg.h
7+ jextract --dump-includes includes.txt \
8+ --include-dir " ${FFMPEG_HOME} " \
9+ libffmpeg.h
Original file line number Diff line number Diff line change 22
33set -e
44
5- if [ ! -d " $( pwd) /ffmpeg" ]; then
6- git clone https://git.ffmpeg.org/ffmpeg.git " $( pwd) /ffmpeg"
5+ FFMPEG_HOME=$( pwd) /ffmpeg
6+
7+ if [ ! -d " $FFMPEG_HOME " ]; then
8+ git clone https://git.ffmpeg.org/ffmpeg.git " $FFMPEG_HOME "
79else
8- pushd " $( pwd ) /ffmpeg "
10+ pushd " $FFMPEG_HOME "
911 git fetch
1012 popd
1113fi
1214
13- pushd " $( pwd ) /ffmpeg "
15+ pushd " $FFMPEG_HOME "
1416git checkout af25a4bfd2503caf3ee485b27b99b620302f5718
1517popd
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- FFMPEG_HOME=" Z:/Documents/projects/github/ffmpeg4java/ffmpeg4java-windows /native/ffmpeg"
4- INCLUDE_PATH=" C:/Users/andrea/Documents/cygwin/ usr/include"
3+ FFMPEG_HOME=" $( cygpath -w $( pwd ) /native/ffmpeg) "
4+ INCLUDE_PATH=" $( cygpath -w $CYGWIN_HOME / usr/include) "
55
66export PATH=$PATH :${JEXTRACT_HOME} /bin
77
8- jextract --dump-includes includes.txt --include-dir " ${FFMPEG_HOME} " --include-dir " ${INCLUDE_PATH} " libffmpeg.h
8+ jextract --dump-includes includes.txt \
9+ --include-dir " ${FFMPEG_HOME} " \
10+ --include-dir " ${INCLUDE_PATH} " \
11+ libffmpeg.h
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- FFMPEG_HOME=" Z:/Documents/projects/github/ffmpeg4java/ffmpeg4java-windows /native/ffmpeg"
4- INCLUDE_PATH=" C:/Users/andrea/Documents/cygwin/ usr/include"
3+ FFMPEG_HOME=" $( cygpath -w $( pwd ) /native/ffmpeg) "
4+ INCLUDE_PATH=" $( cygpath -w $CYGWIN_HOME / usr/include) "
55
66export PATH=$PATH :${JEXTRACT_HOME} /bin
77
Original file line number Diff line number Diff line change 22
33set -e
44
5- if [ ! -d " $( pwd) /ffmpeg" ]; then
6- git clone https://git.ffmpeg.org/ffmpeg.git " $( pwd) /ffmpeg"
5+ FFMPEG_HOME=$( pwd) /ffmpeg
6+
7+ if [ ! -d " $FFMPEG_HOME " ]; then
8+ git clone https://git.ffmpeg.org/ffmpeg.git " $FFMPEG_HOME "
79else
8- pushd " $( pwd ) /ffmpeg "
10+ pushd " $FFMPEG_HOME "
911 git fetch
1012 popd
1113fi
1214
13- pushd " $( pwd ) /ffmpeg "
15+ pushd " $FFMPEG_HOME "
1416git checkout af25a4bfd2503caf3ee485b27b99b620302f5718
1517popd
Original file line number Diff line number Diff line change 1+ export CYGWIN_HOME="/cygdrive/c/Users/andrea/Documents/cygwin"
12export JAVA_HOME=/cygdrive/c/Users/andrea/Documents/jdk-22.0.1+8
23export JEXTRACT_HOME=/cygdrive/c/Users/andrea/Documents/jextract-22
3- export ANT_HOME=/cygdrive/c/Users/andrea/Documents/apache-ant-1.10.14
4- export MAVEN_HOME=/cygdrive/c/Users/andrea/Documents/apache-maven-3.9.8
5- export PATH=$PATH:$JAVA_HOME/bin:$JEXTRACT_HOME/bin:$ANT_HOME/bin:$MAVEN_HOME/bin
4+ export PATH=$PATH:$JAVA_HOME/bin:$JEXTRACT_HOME/bin
You can’t perform that action at this time.
0 commit comments