Initial Commit
- initial default booting image
This commit is contained in:
22
package/qpdf/Config.in
Normal file
22
package/qpdf/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_QPDF
|
||||
bool "qpdf"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_JPEG
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL
|
||||
help
|
||||
QPDF is a command-line program that does structural,
|
||||
content- preserving transformations on PDF files. It could
|
||||
have been called something like pdf-to-pdf. It also provides
|
||||
many useful capabilities to developers of PDF-producing
|
||||
software or for people who just want to look at the innards
|
||||
of a PDF file to learn more about how they work.
|
||||
|
||||
http://qpdf.sourceforge.net/
|
||||
|
||||
comment "qpdf needs a toolchain w/ C++, gcc >= 10"
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_10
|
||||
5
package/qpdf/qpdf.hash
Normal file
5
package/qpdf/qpdf.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://github.com/qpdf/qpdf/releases/download/v12.3.2/qpdf-12.3.2.sha256
|
||||
sha256 6cba2f9f2cd887d905faeb99e0e51a307b217920d1bbf3e9cfbb2e8178a2deda qpdf-12.3.2.tar.gz
|
||||
# Locally computed:
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt
|
||||
sha256 fb929ac30decb4dc3a2eea2bec6c43296a797c5d2d602deb3784ee39430583d5 Artistic-2.0
|
||||
34
package/qpdf/qpdf.mk
Normal file
34
package/qpdf/qpdf.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# qpdf
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QPDF_VERSION = 12.3.2
|
||||
QPDF_SITE = https://github.com/qpdf/qpdf/releases/download/v$(QPDF_VERSION)
|
||||
QPDF_INSTALL_STAGING = YES
|
||||
QPDF_LICENSE = Apache-2.0 or Artistic-2.0
|
||||
QPDF_LICENSE_FILES = LICENSE.txt Artistic-2.0
|
||||
QPDF_CPE_ID_VALID = YES
|
||||
QPDF_DEPENDENCIES = host-pkgconf zlib jpeg
|
||||
QPDF_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
|
||||
QPDF_CONF_OPTS = \
|
||||
-DUSE_IMPLICIT_CRYPTO=OFF \
|
||||
-DREQUIRE_CRYPTO_NATIVE=ON
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||
QPDF_CONF_OPTS += -DREQUIRE_CRYPTO_GNUTLS=ON
|
||||
QPDF_DEPENDENCIES += gnutls
|
||||
else
|
||||
QPDF_CONF_OPTS += -DREQUIRE_CRYPTO_GNUTLS=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
QPDF_CONF_OPTS += -DREQUIRE_CRYPTO_OPENSSL=ON
|
||||
QPDF_DEPENDENCIES += openssl
|
||||
else
|
||||
QPDF_CONF_OPTS += -DREQUIRE_CRYPTO_OPENSSL=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user