blob: 78f4287d63862122848a0a00343d51856f71df54 [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001SUMMARY = "PROJ.4 - Cartographic Projections library"
2HOMEPAGE = "http://trac.osgeo.org/proj/"
3SECTION = "libs"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=f27445198ba1500f508fce2b183ce0ff"
6DEPENDS = "sqlite3 sqlite3-native"
7
8SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.gz"
Patrick Williams73bd93f2024-02-20 08:07:48 -06009SRC_URI[sha256sum] = "b0f919cb9e1f42f803a3e616c2b63a78e4d81ecfaed80978d570d3a5e29d10bc"
Patrick Williamsac13d5f2023-11-24 18:59:46 -060010
11inherit cmake lib_package
12
13EXTRA_OECMAKE = "-DBUILD_TESTING=OFF -DSQLITE3_LIBRARY:STRING=sqlite3"
14
15FILES:${PN} += "${datadir}/proj"
16
17BBCLASSEXTEND = "native"
18
19PACKAGECONFIG ?= "curl shared"
20PACKAGECONFIG:append:class-native = " apps"
21
22PACKAGECONFIG[apps] = "-DBUILD_APPS=ON, -DBUILD_APPS=OFF"
23PACKAGECONFIG[curl] = "-DENABLE_CURL=ON,-DENABLE_CURL=OFF,curl"
24PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,,"
25PACKAGECONFIG[tiff] = "-DENABLE_TIFF=ON,-DENABLE_TIFF=OFF,tiff"
Patrick Williams73bd93f2024-02-20 08:07:48 -060026
27BBCLASSEXTEND = "native nativesdk"