forked from gperciva/gub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inkscape.make
50 lines (36 loc) · 1.57 KB
/
inkscape.make
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.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)"