meta-openembedded/meta-oe/recipes-navigation/proj/proj_9.7.0.bb
Peter Kjellerstedt fc0152e434
Revert "proj: Fix do_package QA issue for unshipped bash-completion files"
This reverts commit 1175d5c8c1.

Since this recipe inherits bash-completion, adding
${datadir}/bash-completion to FILES:${PN} should not be needed (in
addition to being the wrong thing to do as the files are expected to be
packaged in the ${PN}-bash-completion package). The reason the problem
addressed in commit 1175d5c8c1 turned up
is due to the recent change to the bash-completion bbclass, where it
started to use PACKAGE_BEFORE_PN. This clashed with the lib_package
bbclass, which used to set rather than add to PACKAGE_BEFORE_PN, and
since it is inherited after bash-completion, it overrid what
bash-completion does.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-11 09:32:46 -08:00

28 lines
914 B
BlitzBasic

SUMMARY = "PROJ.4 - Cartographic Projections library"
HOMEPAGE = "https://proj.org/en/stable/"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=f27445198ba1500f508fce2b183ce0ff"
DEPENDS = "sqlite3 sqlite3-native"
SRC_URI = "https://download.osgeo.org/${BPN}/${BP}.tar.gz"
SRC_URI[sha256sum] = "65705ecd987b50bf63e15820ce6bd17c042feaabda981249831bd230f6689709"
inherit bash-completion cmake lib_package pkgconfig
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
FILES:${PN} += "${datadir}/proj"
BBCLASSEXTEND = "native"
PACKAGECONFIG ?= "curl shared"
PACKAGECONFIG:class-native = "curl shared apps"
PACKAGECONFIG[apps] = "-DBUILD_APPS=ON, -DBUILD_APPS=OFF"
PACKAGECONFIG[curl] = "-DENABLE_CURL=ON,-DENABLE_CURL=OFF,curl"
PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,,"
PACKAGECONFIG[tiff] = "-DENABLE_TIFF=ON,-DENABLE_TIFF=OFF,tiff"
BBCLASSEXTEND = "native nativesdk"