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

Ivan Mahonin ce0d6b
# automake
Ivan Mahonin ce0d6b
# intltool
Ivan Mahonin ce0d6b
# libdb-dev        - libdb already installed - required
Ivan Mahonin ce0d6b
# bzip2            - required
Ivan Mahonin ce0d6b
# libasound2-dev   - required 
Ivan Mahonin ce0d6b
# libffi-dev       - libffi5 already installed - glib
Ivan Mahonin ce0d6b
# libdbus-1-dev    - atspi2
Ivan Mahonin ce0d6b
# libxtst-dev      - atspi2
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
# uuid-dev         - libuuid1 already installed - gilib via libmount-dev
Ivan Mahonin ce0d6b
# libpciaccess-dev - libpciaccess0 already installed
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
# libncurses-dev   - gettext
Ivan Mahonin ce0d6b
# libtinfo-dev     - gettext
Ivan Mahonin ce0d6b
# libunistring-dev - gettext
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
# libjasper-dev
Ivan Mahonin ce0d6b
# libdirectfb-dev
Ivan Mahonin ce0d6b
# python-dev
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
# libxml-parser-perl
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
# +	jpeg
Ivan Mahonin ce0d6b
# +	tiff
Ivan Mahonin ce0d6b
#  	glib         - from glibmm
Ivan Mahonin ce0d6b
# 	harfbuzz     - not used in core - pango
Ivan Mahonin ce0d6b
# 	fontconfig   - from the system
Ivan Mahonin ce0d6b
#	pixman       - from cairo
Ivan Mahonin ce0d6b
# +	cairo
Ivan Mahonin ce0d6b
# +	pango        - also from cairo
Ivan Mahonin ce0d6b
#   croco        - not used in core - for gettext
Ivan Mahonin ce0d6b
# +	jack
Ivan Mahonin ce0d6b
# 	mesa         - opengl not used in this build 
Ivan Mahonin ce0d6b
# 	sigcpp       - from glibmm
Ivan Mahonin ce0d6b
# +	glibmm
Ivan Mahonin ce0d6b
# +	xmlpp
Ivan Mahonin ce0d6b
# +	mlt
Ivan Mahonin ce0d6b
# +	imagemagick
Ivan Mahonin ce0d6b
#   ogg          - not used in core - ffmpeg, vorbis, theora
Ivan Mahonin ce0d6b
#   vorbis       - not used in core - ffmpeg
Ivan Mahonin ce0d6b
#   samplerate   - not used in core - mlt
Ivan Mahonin ce0d6b
#   sox          - not used in core - mlt
Ivan Mahonin ce0d6b
#   lame         - not used in core - ffmpeg
Ivan Mahonin ce0d6b
#   theora       - not used in core - ffmpeg
Ivan Mahonin ce0d6b
#   x264         - not used in core - ffmpeg
Ivan Mahonin ce0d6b
#   faac         - not used in core - mlt
Ivan Mahonin ce0d6b
#   yasm         - not used in core - ffmpeg
Ivan Mahonin ce0d6b
# + ffmpeg
Ivan Mahonin ce0d6b
#   sdl          - not used in core - ffmpeg, mlt
Ivan Mahonin ce0d6b
# +	fftw
Ivan Mahonin ce0d6b
# +	boost
Ivan Mahonin ce0d6b
# . m4           - from autoconf 
Ivan Mahonin ce0d6b
# . autoconf     - from automake
Ivan Mahonin ce0d6b
# . automake     - from intltool 
Ivan Mahonin ce0d6b
# . tool (libtool) - from the system
Ivan Mahonin ce0d6b
# . gettext      - from intltool 
Ivan Mahonin ce0d6b
# . intltool      - from the system
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
DEPS=" \
Ivan Mahonin ce0d6b
 synfigetl-master \
Ivan Mahonin ce0d6b
 jpeg-9b tiff-4.0.6 fftw-3.3.5 imagemagick-6.9.6 \
Ivan Mahonin ce0d6b
 jack-0.125.0 ffmpeg-3.1.5 mlt-6.2.0 \
Ivan Mahonin ce0d6b
 boost-1.61.0 cairo-1.14.6 pango-1.40.3 glibmm-2.41.4 xmlpp-2.22.0"
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
PK_DIRNAME="synfig"
Ivan Mahonin ce0d6b
PK_URL="https://github.com/synfig/$PK_DIRNAME.git"
Ivan Mahonin 980907
PK_GIT_OPTIONS="--branch testing"
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
source $INCLUDE_SCRIPT_DIR/inc-pkallunpack-git.sh
Ivan Mahonin ce0d6b
source $INCLUDE_SCRIPT_DIR/inc-pkinstall_release-default.sh
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
pkbuild() {
Ivan Mahonin ce0d6b
	cd "$BUILD_PACKET_DIR/$PK_DIRNAME/synfig-core" || return 1
Ivan Mahonin ce0d6b
	if ! check_packet_function $NAME build.configure; then
Ivan Mahonin ce0d6b
		libtoolize --ltdl --copy --force || return 1
Ivan Mahonin ce0d6b
		autoreconf --install --force || return 1
Ivan Mahonin ce0d6b
		./configure \
Ivan Mahonin ce0d6b
			--prefix=$INSTALL_PACKET_DIR \
Ivan Mahonin 1d4d1c
			--sysconfdir=$INSTALL_PACKET_DIR/etc \
Ivan Mahonin ce0d6b
			--with-boost-libdir=$ENVDEPS_PACKET_DIR/lib \
Ivan Mahonin ce0d6b
			--without-opengl || return 1
Ivan Mahonin ce0d6b
		set_done $NAME build.configure
Ivan Mahonin ce0d6b
	fi
Ivan Mahonin ce0d6b
	make -j${THREADS} || return 1
Ivan Mahonin ce0d6b
}
Ivan Mahonin ce0d6b
Ivan Mahonin ce0d6b
pkinstall() {
Ivan Mahonin ce0d6b
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME/synfig-core"
Ivan Mahonin ce0d6b
    if ! make install; then
Ivan Mahonin ce0d6b
        return 1
Ivan Mahonin ce0d6b
    fi
Ivan Mahonin ce0d6b
}