view inkscape.make @ 6512:ccc20ae889ca default tip guix

mingw::guile-2.0.7 builds.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 24 Mar 2016 08:03:39 +0100
parents 77d82c6007bc
children
line wrap: on
line source

.PHONY: all gub3-packages gub3-installers
.PHONY: inkscape inkscape-installer inkscape-installers print-success

all: inkscape inkscape-installer print-success

include gub.make


INKSCAPE_BRANCH=trunk?revision=20605
INKSCAPE_REPO_URL=svn:https://inkscape.svn.sourceforge.net/svnroot/inkscape?module=inkscape
#source = 'svn:https://inkscape.svn.sourceforge.net/svnroot/inkscape&module=inkscape&branch=trunk&revision=20605'

PLATFORMS=linux-x86
# Cocoa/Carbon?
# PLATFORMS+=darwin-ppc darwin-x86
PLATFORMS+=mingw
PLATFORMS+=linux-64
PLATFORMS+=linux-ppc
PLATFORMS+=freebsd-x86 freebsd-64
#PLATFORMS+=cygwin

#derived info
INKSCAPE_SOURCE_URL=$(INKSCAPE_REPO_URL)?branch=$(INKSCAPE_BRANCH)
INKSCAPE_DIRRED_BRANCH=$(shell $(PYTHON) gub/repository.py --branch-dir '$(INKSCAPE_SOURCE_URL)')
INKSCAPE_FLATTENED_BRANCH=$(shell $(PYTHON) gub/repository.py --full-branch-name '$(INKSCAPE_SOURCE_URL)')

BUILD_PACKAGE='$(INKSCAPE_SOURCE_URL)'
INSTALL_PACKAGE = inkscape

INSTALLER_BUILDER_OPTIONS =\
 --version-db=versiondb/inkscape.versions\
 $(if $(INKSCAPE_BRANCH), --branch=blinkscape=$(INKSCAPE_FLATTENED_BRANCH),)\
 $(if $(INKSCAPE_BRANCH), --branch=inkscape=trunk,)\
#

MAKE += -f inkscape.make

inkscape: packages

inkscape-installer: installers
inkscape-installers: installers

update-versions:
	python gub/versiondb.py --no-sources --version-db=versiondb/inkscape.versions --download --platforms="mingw" --url=http://lilypond.org/blog/janneke/software/inkscape

print-success:
	@echo installer: uploads/inkscape*$(BUILD_PLATFORM).sh

print-branches:
	@echo "--branch=inkscape=$(INKSCAPE_FLATTENED_BRANCH)"