• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/imagemagick/imagemagick.mk
Gustavo ZacariasGustavo Zacarias committed 8257256c65006 Jan 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# imagemagick
4
#
5
################################################################################
6
​
7
IMAGEMAGICK_VERSION = 6.9.0-3
8
IMAGEMAGICK_SOURCE = ImageMagick-$(IMAGEMAGICK_VERSION).tar.xz
9
# The official ImageMagick site only keeps the latest versions
10
# available, which is annoying. Use an alternate site that keeps all
11
# older versions.
12
IMAGEMAGICK_SITE = ftp://ftp.nluug.nl/pub/ImageMagick
13
IMAGEMAGICK_LICENSE = Apache-2.0
14
IMAGEMAGICK_LICENSE_FILES = LICENSE
15
​
16
IMAGEMAGICK_INSTALL_STAGING = YES
17
IMAGEMAGICK_CONFIG_SCRIPTS = \
18
    $(addsuffix -config,Magick MagickCore MagickWand Wand)
19
​
20
ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_USE_WCHAR),yy)
21
IMAGEMAGICK_CONFIG_SCRIPTS += Magick++-config
22
endif
23
​
24
ifeq ($(BR2_LARGEFILE),y)
25
IMAGEMAGICK_CONF_ENV = ac_cv_sys_file_offset_bits=64
26
else
27
IMAGEMAGICK_CONF_ENV = ac_cv_sys_file_offset_bits=32
28
endif
29
​
30
IMAGEMAGICK_CONF_OPTS = \
31
    --program-transform-name='s,,,' \
32
    --disable-openmp \
33
    --without-perl \
34
    --without-wmf \
35
    --without-openexr \
36
    --without-jp2 \
37
    --without-jbig \
38
    --without-gvc \
39
    --without-djvu \
40
    --without-dps \
41
    --without-gslib \
42
    --without-fpx \
43
    --without-x
44
​
45
IMAGEMAGICK_DEPENDENCIES = host-pkgconf
46
​
47
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
48
IMAGEMAGICK_CONF_OPTS += --with-fontconfig
49
IMAGEMAGICK_DEPENDENCIES += fontconfig
50
else
51
IMAGEMAGICK_CONF_OPTS += --without-fontconfig
52
endif
53
​
54
ifeq ($(BR2_PACKAGE_FREETYPE),y)
55
IMAGEMAGICK_CONF_OPTS += --with-freetype
56
IMAGEMAGICK_CONF_ENV += \
57
    ac_cv_path_freetype_config=$(STAGING_DIR)/usr/bin/freetype-config
58
IMAGEMAGICK_DEPENDENCIES += freetype
59
else
60
IMAGEMAGICK_CONF_OPTS += --without-freetype
61
endif
62
​
63
ifeq ($(BR2_PACKAGE_JPEG),y)
64
IMAGEMAGICK_CONF_OPTS += --with-jpeg
65
IMAGEMAGICK_DEPENDENCIES += jpeg
66
else
67
IMAGEMAGICK_CONF_OPTS += --without-jpeg
68
endif
69
​
70
ifeq ($(BR2_PACKAGE_LIBPNG),y)
71
IMAGEMAGICK_CONF_OPTS += --with-png
72
IMAGEMAGICK_DEPENDENCIES += libpng
73
else
74
IMAGEMAGICK_CONF_OPTS += --without-png
75
endif
76
​
77
ifeq ($(BR2_PACKAGE_LIBRSVG),y)
78
IMAGEMAGICK_CONF_OPTS += --with-rsvg
79
IMAGEMAGICK_DEPENDENCIES += librsvg
80
else
81
IMAGEMAGICK_CONF_OPTS += --without-rsvg
82
endif
83
​
84
ifeq ($(BR2_PACKAGE_LIBXML2),y)
85
IMAGEMAGICK_CONF_OPTS += --with-xml
86
IMAGEMAGICK_CONF_ENV += ac_cv_path_xml2_config=$(STAGING_DIR)/usr/bin/xml2-config
87
IMAGEMAGICK_DEPENDENCIES += libxml2
88
else
89
IMAGEMAGICK_CONF_OPTS += --without-xml
90
endif
91
​
92
ifeq ($(BR2_PACKAGE_TIFF),y)
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.