qrencode: use outsourced package
* qrspec.h isn't yet part of the package for some reason. * removed qrencode from the bootstrap package. * only include qrencode when the qrencode package is found. * didn't check qrencode itself, tests welcome.
This commit is contained in:
@@ -351,6 +351,24 @@ if [ IsPackageAvailable libsolv_devel ] {
|
||||
}
|
||||
|
||||
|
||||
# qrencode
|
||||
if [ IsPackageAvailable qrencode_devel ] {
|
||||
ExtractBuildFeatureArchives libqrencode :
|
||||
file: base qrencode
|
||||
runtime: lib
|
||||
file: devel qrencode_devel
|
||||
depends: base
|
||||
library: $(developLibDir)/libqrencode.a
|
||||
headers: $(developHeadersDir)
|
||||
;
|
||||
|
||||
EnableBuildFeatures libqrencode ;
|
||||
} else {
|
||||
Echo "qrencode support not available on $(TARGET_PACKAGING_ARCH)" ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
# GPL add-ons
|
||||
if $(HAIKU_INCLUDE_GPL_ADDONS) = 1 {
|
||||
EnableBuildFeatures gpl ;
|
||||
|
||||
Reference in New Issue
Block a user