package/cups-pk-helper: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
James Hilliard 2021-11-24 19:59:52 -07:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 7377feafaf
commit e13c9ccf43
4 changed files with 35 additions and 0 deletions

View File

@ -2150,6 +2150,7 @@ menu "Networking applications"
source "package/ctorrent/Config.in"
source "package/cups/Config.in"
source "package/cups-filters/Config.in"
source "package/cups-pk-helper/Config.in"
source "package/dante/Config.in"
source "package/darkhttpd/Config.in"
source "package/dehydrated/Config.in"

View File

@ -0,0 +1,17 @@
config BR2_PACKAGE_CUPS_PK_HELPER
bool "cups-pk-helper"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # polkit -> c++17
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, polkit
depends on BR2_USE_WCHAR # libglib2
depends on BR2_PACKAGE_CUPS
select BR2_PACKAGE_POLKIT
help
cups-pk-helper is a PolicyKit helper to configure cups with
fine-grained privileges.
https://wiki.freedesktop.org/www/Software/cups-pk-helper/
comment "cups-pk-helper support needs a toolchain with threads, wchar, gcc >= 7"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_TOOLCHAIN_HAS_THREADS

View File

@ -0,0 +1,3 @@
# Locally computed:
sha256 959af8f2f5a2761e7e498b61c9caf25ae963335031eae9972d999e9a0d97a228 cups-pk-helper-0.2.6.tar.xz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING

View File

@ -0,0 +1,14 @@
################################################################################
#
# cups-pk-helper
#
################################################################################
CUPS_PK_HELPER_VERSION = 0.2.6
CUPS_PK_HELPER_SITE = https://www.freedesktop.org/software/cups-pk-helper/releases
CUPS_PK_HELPER_SOURCE = cups-pk-helper-$(CUPS_PK_HELPER_VERSION).tar.xz
CUPS_PK_HELPER_LICENSE = GPL-2.0+
CUPS_PK_HELPER_LICENSE_FILES = COPYING
CUPS_PK_HELPER_DEPENDENCIES = cups libglib2 polkit
$(eval $(autotools-package))