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