Skip to content

Commit

Permalink
ZBar: add package (#5530)
Browse files Browse the repository at this point in the history
* zbar: add package

* Update dependencies and build configurations

* Update gettext package to handle binary installation

* Revert "Update gettext package to handle binary installation"

This reverts commit 7854133.

* Update deps

* Use system libiconv on MacOS

* Update gettext package to handle binary installation

* Add ldflag of pthread

* Add autoconf-archive dep for MacOS

* Update deps

* Revert "Update gettext package to handle binary installation"

This reverts commit d51bbee.

* Use host gettext

* Depend on private `gettext`

* Disable pthread on Android

* Add dep: pkg-config

* Get aclocal path by running command

* Use up-to-date libtool

* Include `autoconf` m4 dir for  `autoreconf`

* Disable Android build on Windows, as for no autotools

* Fix incorrect config

* Build with xmake port instead of autotools

* Add configure options `--without-x` and `--without-jpeg`

* Export all symbols for Windows shared library

* Fix file pattern for pdf417 decoder in xmake.lua

* Fix install headers path

* Add extsources

* "Null" implementation for window module and video module

* Add github git url

* Fix multiple definition caused by duplicate implementation

* libiconv: add iPhoneOS target platform

* Disable processor

* libiconv: use xmake port on `iphoneos`

* zbar: Drop `iphoneos` support

* Requires system libiconv on MacOS

* Disable sys/time.h header inclusion

* Remove zbar/window.c

* Revert "Remove zbar/window.c"

This reverts commit 94b839d.

* Revert "Disable sys/time.h header inclusion"

This reverts commit 331dcff.

* Drop `windows` support

* Fix invalid target platform limit

* Process `config.h.in` instread of using preconfigured file

* Fix missing def: LIB_VERSION

* Remove `config.h`

* Remove invalid `set_configvar` in `option("enable_codebar")`

* Format

* Simplify dep `libiconv` requirement

* Refactor options to mimic original config `--enable-codes=SYMS`

* Add package configs to better control symbologies support

* Remove "export all symbols" for Windows

* More concise configs

* Fix invalid config

* Format

* Use built-in `${VERSION_*}` variables

* Update config.h.in

* Update xmake.lua

* Update xmake.lua

---------

Co-authored-by: ruki <[email protected]>
  • Loading branch information
Doekin and waruqi authored Oct 21, 2024
1 parent 1f27215 commit 39d41c8
Show file tree
Hide file tree
Showing 3 changed files with 634 additions and 0 deletions.
Loading

0 comments on commit 39d41c8

Please sign in to comment.