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

ce0d6b
#   jasper       - from gdkpixbuf | jpeg, freeglut
ce0d6b
#   atspi2       - from atspi2atk | glib
ce0d6b
#   gobjectintrospection - from gdkpixbuf | glib
ce0d6b
ce0d6b
# 	atk          - from gtk       | glib
ce0d6b
#   atspi2atk    - from gtk       | atk, atspi2
ce0d6b
# 	gdkpixbuf    - from gtk       | jpeg, png, tiff, jasper, glib, gobjectintrospection
c5973d
#   rsvg         - from gtk,adwa..| xml, gdkpixbuf, cairo, pango
ce0d6b
ce0d6b
# 	gtk          - from gtkmm     | epoxy, rsvg, atk, atspi2atk, gdkpixbuf, cairo, pango
ce0d6b
#   atkmm        - from gtkmm     | atk, glibmm
ce0d6b
#   cairomm      - from gtkmm     | cairo, sigcpp
ce0d6b
#   pangomm      - from gtkmm     | pango, glibmm, cairomm
ce0d6b
ce0d6b
#   synfigcore                    | -
ce0d6b
#   gtkmm                         | gtk, atkmm, cairomm, pangomm
54782b
#   adwaitaicons                  | gtk, rsvg
54782b
#   gnomethemes                   | gtk, rsvg
ce0d6b
3b09af
DEPS="synfigcore-master gtkmm-3.22.0 adwaitaicontheme-3.22.0 gnomethemesstandard-3.22.2"
3b09af
DEPS_NATIVE="synfigcore-master"
ce0d6b
ce0d6b
PK_DIRNAME="synfig"
ce0d6b
PK_URL="https://github.com/synfig/$PK_DIRNAME.git"
980907
PK_GIT_OPTIONS="--branch testing"
ce0d6b
PK_CPPFLAGS="-std=c++11"
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-studio" || return 1
ce0d6b
	if ! check_packet_function $NAME build.configure; then
ce0d6b
		./bootstrap.sh || return 1
1d4d1c
		./configure \
3b09af
		 --host=$HOST \
1d4d1c
		 --prefix=$INSTALL_PACKET_DIR \
1d4d1c
		 --sysconfdir=$INSTALL_PACKET_DIR/etc \
1d4d1c
		 || 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-studio"
ce0d6b
    if ! make install; then
ce0d6b
        return 1
ce0d6b
    fi
ce0d6b
}