diff options
author | Maxime Hadjinlian <maxime.hadjinlian@gmail.com> | 2015-07-26 22:38:27 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-10-04 15:11:57 +0100 |
commit | 7e5ddbcb0645cbecd9838c3d4fe8aafe66fa04aa (patch) | |
tree | 54346e441161af2575e656e392fb657736df8e45 /package/zxing-cpp/zxing-cpp.mk | |
parent | 0611258aeae3b2e311b1c8fbebd337c9567830fb (diff) | |
download | buildroot-7e5ddbcb0645cbecd9838c3d4fe8aafe66fa04aa.tar.gz buildroot-7e5ddbcb0645cbecd9838c3d4fe8aafe66fa04aa.zip |
zxing-cpp: new package, replacing zxing
ZXing was hosted on Google Code, which is a closing. The current link
was already redirecting to the github repo.
But upstream is no longer supporting the cpp bindings, it's now a Java
library/application.
A fork has been created from the latest cpp source of the original
upstream. So this commit creates a new package, zxing-cpp, and adds
Config.in.legacy handling for the old zxing pakcage that is removed.
[Thomas:
- add a patch that improves the CMakeLists.txt file to add
installation rules. This allows to remove the manual installation
logic from zxing-cpp.mk.
- make libiconv a normal optional dependency. No need to involve
BR2_ENABLE_LOCALE in the condition, since libiconv can only be
enabled when !BR2_ENABLE_LOCALE.
- bump to the latest upstream version.
- add hash file.]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/zxing-cpp/zxing-cpp.mk')
-rw-r--r-- | package/zxing-cpp/zxing-cpp.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/zxing-cpp/zxing-cpp.mk b/package/zxing-cpp/zxing-cpp.mk new file mode 100644 index 0000000000..64c20f3cc8 --- /dev/null +++ b/package/zxing-cpp/zxing-cpp.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# zxing-cpp +# +################################################################################ + +ZXING_CPP_VERSION = 4abdbb62c9939014eca3e43ac7dfa30daa344536 +ZXING_CPP_SITE = $(call github,glassechidna,zxing-cpp,$(ZXING_CPP_VERSION)) +ZXING_CPP_LICENSE = Apache-2.0 +ZXING_CPP_LICENSE_FILES = COPYING +ZXING_CPP_INSTALL_STAGING = YES +ZXING_CPP_SUPPORTS_IN_SOURCE_BUILD = NO + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +ZXING_CPP_DEPENDENCIES += libiconv +endif + +$(eval $(cmake-package)) |