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 \
ce0d6b
 boost-1.61.0 cairo-1.14.6 pango-1.40.3 glibmm-2.41.4 xmlpp-2.22.0"
ce0d6b
efc424
LINUX_DEPS="jack-0.125.0"
efc424
efc424
if [ "$PLATFORM" -eq "linux-32" ] || [ "$PLATFORM" -eq "linux-64" ]; then
efc424
    DEPS="$DEPS $LINUX_DEPS"
efc424
fi
efc424
ce0d6b
PK_DIRNAME="synfig"
ce0d6b
PK_URL="https://github.com/synfig/$PK_DIRNAME.git"
980907
PK_GIT_OPTIONS="--branch testing"
ce0d6b
ce0d6b
source $INCLUDE_SCRIPT_DIR/inc-pkallunpack-git.sh
ce0d6b
source $INCLUDE_SCRIPT_DIR/inc-pkinstall_release-default.sh
ce0d6b
ce0d6b
pkbuild() {
ce0d6b
	cd "$BUILD_PACKET_DIR/$PK_DIRNAME/synfig-core" || return 1
ce0d6b
	if ! check_packet_function $NAME build.configure; then
ce0d6b
		libtoolize --ltdl --copy --force || return 1
ce0d6b
		autoreconf --install --force || return 1
ce0d6b
		./configure \
ce0d6b
			--prefix=$INSTALL_PACKET_DIR \
1d4d1c
			--sysconfdir=$INSTALL_PACKET_DIR/etc \
ce0d6b
			--with-boost-libdir=$ENVDEPS_PACKET_DIR/lib \
ce0d6b
			--without-opengl || return 1
ce0d6b
		set_done $NAME build.configure
ce0d6b
	fi
ce0d6b
	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
}