• 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/lensfun/lensfun.mk
Rahul BedarkarRahul Bedarkar committed 89fbba72fa230 Mar 2017
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# lensfun
4
#
5
################################################################################
6
​
7
LENSFUN_VERSION = 0.3.2
8
LENSFUN_SITE = https://sourceforge.net/projects/lensfun/files/$(LENSFUN_VERSION)
9
LENSFUN_LICENSE = LGPL-3.0+ (libraries), GPL-3.0+ (programs)
10
LENSFUN_LICENSE_FILES = docs/gpl-3.0.txt docs/lgpl-3.0.txt
11
LENSFUN_INSTALL_STAGING = YES
12
LENSFUN_DEPENDENCIES = libglib2
13
​
14
# lensfun doesn't support in source build, it fail to build lensfun tools.
15
LENSFUN_SUPPORTS_IN_SOURCE_BUILD = NO
16
​
17
ifeq ($(BR2_X86_CPU_HAS_SSE),y)
18
LENSFUN_CONF_OPTS += -DBUILD_FOR_SSE=ON
19
else
20
LENSFUN_CONF_OPTS += -DBUILD_FOR_SSE=OFF
21
endif
22
​
23
ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
24
LENSFUN_CONF_OPTS += -DBUILD_FOR_SSE2=ON
25
else
26
LENSFUN_CONF_OPTS += -DBUILD_FOR_SSE2=OFF
27
endif
28
​
29
ifeq ($(BR2_PACKAGE_LENSFUN_TOOLS),y)
30
LENSFUN_DEPENDENCIES += libpng
31
LENSFUN_CONF_OPTS += -DBUILD_LENSTOOL=ON
32
# broken
33
else
34
LENSFUN_CONF_OPTS += -DBUILD_LENSTOOL=OFF
35
endif
36
​
37
ifeq ($(BR2_STATIC_LIBS),y)
38
LENSFUN_CONF_OPTS += -DBUILD_STATIC=ON
39
else
40
LENSFUN_CONF_OPTS += -DBUILD_STATIC=OFF
41
endif
42
​
43
# Don't install helper scripts (which require python3 and gksudo).
44
# Don't run setup.py on the host.
45
LENSFUN_CONF_OPTS += -DINSTALL_HELPER_SCRIPTS=OFF -DPYTHON=OFF
46
​
47
$(eval $(cmake-package))
  • 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.