Blame docker-builder-data/build/script/packet/synfigcore-master.sh

ce0d6b
# automake
ce0d6b
# intltool
ce0d6b
# libdb-dev        - libdb already installed - required
ce0d6b
# bzip2            - required
ce0d6b
# libasound2-dev   - required 
ce0d6b
# libffi-dev       - libffi5 already installed - glib
ce0d6b
# libdbus-1-dev    - atspi2
ce0d6b
# libxtst-dev      - atspi2
ce0d6b
ce0d6b
# uuid-dev         - libuuid1 already installed - gilib via libmount-dev
ce0d6b
# libpciaccess-dev - libpciaccess0 already installed
ce0d6b
ce0d6b
# libncurses-dev   - gettext
ce0d6b
# libtinfo-dev     - gettext
ce0d6b
# libunistring-dev - gettext
ce0d6b
ce0d6b
# libjasper-dev
ce0d6b
# libdirectfb-dev
ce0d6b
# python-dev
ce0d6b
ce0d6b
# libxml-parser-perl
ce0d6b
ce0d6b
ce0d6b
ce0d6b
# +	jpeg
ce0d6b
# +	tiff
ce0d6b
#  	glib         - from glibmm
ce0d6b
# 	harfbuzz     - not used in core - pango
ce0d6b
# 	fontconfig   - from the system
ce0d6b
#	pixman       - from cairo
ce0d6b
# +	cairo
ce0d6b
# +	pango        - also from cairo
ce0d6b
#   croco        - not used in core - for gettext
ce0d6b
# +	jack
ce0d6b
# 	mesa         - opengl not used in this build 
ce0d6b
# 	sigcpp       - from glibmm
ce0d6b
# +	glibmm
ce0d6b
# +	xmlpp
ce0d6b
# +	mlt
ce0d6b
# +	imagemagick
ce0d6b
#   ogg          - not used in core - ffmpeg, vorbis, theora
ce0d6b
#   vorbis       - not used in core - ffmpeg
ce0d6b
#   samplerate   - not used in core - mlt
ce0d6b
#   sox          - not used in core - mlt
ce0d6b
#   lame         - not used in core - ffmpeg
ce0d6b
#   theora       - not used in core - ffmpeg
ce0d6b
#   x264         - not used in core - ffmpeg
ce0d6b
#   faac         - not used in core - mlt
ce0d6b
#   yasm         - not used in core - ffmpeg
ce0d6b
# + ffmpeg
ce0d6b
#   sdl          - not used in core - ffmpeg, mlt
ce0d6b
# +	fftw
ce0d6b
# +	boost
ce0d6b
# . m4           - from autoconf 
ce0d6b
# . autoconf     - from automake
ce0d6b
# . automake     - from intltool 
ce0d6b
# . tool (libtool) - from the system
ce0d6b
# . gettext      - from intltool 
ce0d6b
# . intltool      - from the system
ce0d6b
ce0d6b
DEPS=" \
ce0d6b
 synfigetl-master \
efc424
 jpeg-9b tiff-4.0.6 fftw-3.3.5 imagemagick-6.8.7 \
efc424
 ffmpeg-3.1.5 mlt-6.2.0 \
8b6d80
 boost-1.61.0 cairo-1.15.4 pango-1.40.3 \
8b6d80
 glibmm-2.50.0 xmlpp-2.40.1 "
c35e3a
DEPS_NATIVE="libtool-2.4.6"
ce0d6b
ce0d6b
PK_DIRNAME="synfig"
ce0d6b
PK_URL="https://github.com/synfig/$PK_DIRNAME.git"
f26837
PK_GIT_CHECKOUT="origin/testing"
99b145
PK_LICENSE_FILES="synfig-core/AUTHORS synfig-core/README"
ce0d6b
99b145
source $INCLUDE_SCRIPT_DIR/inc-pkall-git.sh
ce0d6b
ce0d6b
pkbuild() {
3b09af
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME/synfig-core" || return 1
3b09af
    if ! check_packet_function $NAME build.configure; then
221c28
        ./bootstrap.sh || return 1
5bc671
        CPPFLAGS="$PK_CPPFLAGS $CPPFLAGS" \
5bc671
         ./configure \
5bc671
         --host=$HOST \
5bc671
         --prefix=$INSTALL_PACKET_DIR \
5bc671
         --sysconfdir=$INSTALL_PACKET_DIR/etc \
5bc671
         --with-boost-libdir=$ENVDEPS_PACKET_DIR/lib \
5bc671
         --without-opengl \
5bc671
         $PK_CONFIGURE_OPTIONS \
5bc671
         || return 1
3b09af
        set_done $NAME build.configure
3b09af
    fi
3b09af
    make -j${THREADS} || return 1
ce0d6b
}
ce0d6b
ce0d6b
pkinstall() {
ce0d6b
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME/synfig-core"
ce0d6b
    if ! make install; then
ce0d6b
        return 1
ce0d6b
    fi
ce0d6b
}