From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8769E15808B for ; Fri, 25 Mar 2022 21:56:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 390DAE08A8; Fri, 25 Mar 2022 21:56:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0B63E0894 for ; Fri, 25 Mar 2022 21:56:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8EB3C342F5E for ; Fri, 25 Mar 2022 21:56:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 03DC433A for ; Fri, 25 Mar 2022 21:56:24 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1648245255.53eca982c1d2a3866593ed5a174ca48ec2f4d6e3.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/simple-scan/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/simple-scan/Manifest media-gfx/simple-scan/simple-scan-42.0.ebuild X-VCS-Directories: media-gfx/simple-scan/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 53eca982c1d2a3866593ed5a174ca48ec2f4d6e3 X-VCS-Branch: master Date: Fri, 25 Mar 2022 21:56:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 10836e93-3383-4fa0-90a4-791b8ba964d3 X-Archives-Hash: aac0d8385bcbe4b40f76188f7704e7b1 commit: 53eca982c1d2a3866593ed5a174ca48ec2f4d6e3 Author: Matt Turner gentoo org> AuthorDate: Fri Mar 25 21:54:15 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri Mar 25 21:54:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53eca982 media-gfx/simple-scan: Version bump to 42.0 Signed-off-by: Matt Turner gentoo.org> media-gfx/simple-scan/Manifest | 1 + media-gfx/simple-scan/simple-scan-42.0.ebuild | 75 +++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/media-gfx/simple-scan/Manifest b/media-gfx/simple-scan/Manifest index 9c22da42fd1f..324d8274f3f3 100644 --- a/media-gfx/simple-scan/Manifest +++ b/media-gfx/simple-scan/Manifest @@ -1 +1,2 @@ DIST simple-scan-40.7.tar.xz 1480288 BLAKE2B 8068105db77196157495cbb2eb4c3e6a82531ed4bb727c05884154a661a9669426047c6cbbcffdd696c8e4d27721f2ca6249be14b6b4cc62be96bdbfe1b67a4c SHA512 36dc321e83bdf02fb9267d299abeee7f56bb6ee786e09811ba1244a2cee2c3baa0c5bbf3a4d6a6eadfc093d0e792b3511855c7e32caa2f6864face620fa4e7f6 +DIST simple-scan-42.0.tar.xz 1097464 BLAKE2B e2ca253d6fcff9a320312bbf32e50242b64c22a1f89cf99aa705214c5a393f1e76fb14693f508d0bc7231b97d47a5b7fa3fe767527206615df361c9edf5315c6 SHA512 0ccbe82a85fa802f53899df6109be93d58adc5028e6d904da7fc91e25cfd225fff757a7b65380abd7d3e7dfd35feab586bcf5b7504cc46d42822d3b2179bdec0 diff --git a/media-gfx/simple-scan/simple-scan-42.0.ebuild b/media-gfx/simple-scan/simple-scan-42.0.ebuild new file mode 100644 index 000000000000..0b16fcd3aa71 --- /dev/null +++ b/media-gfx/simple-scan/simple-scan-42.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) +VALA_MIN_API_VERSION="0.34" +inherit gnome.org gnome2-utils meson python-any-r1 vala xdg + +DESCRIPTION="Simple document scanning utility" +HOMEPAGE="https://gitlab.gnome.org/GNOME/simple-scan" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="colord webp" + +DEPEND=" + >=dev-libs/glib-2.38:2 + >=x11-libs/gtk+-3.24:3 + >=gui-libs/libhandy-1.5.0:1= + >=sys-libs/zlib-1.2.3.1:= + x11-libs/cairo:= + x11-libs/gdk-pixbuf:2 + >=dev-libs/libgusb-0.2.7 + colord? ( >=x11-misc/colord-0.1.24:=[udev(+)] ) + webp? ( media-libs/libwebp ) + >=media-gfx/sane-backends-1.0.20:= + + virtual/jpeg:0= +" +# packagekit? ( >=app-admin/packagekit-base-1.1.5 ) +RDEPEND="${DEPEND} + x11-misc/xdg-utils +" +BDEPEND=" + ${PYTHON_DEPS} + $(vala_depend) + dev-libs/libxml2:2 + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + gui-libs/libhandy:1[vala] + dev-libs/libgusb[vala] + colord? ( x11-misc/colord[vala] ) +" + +PATCHES=( + # Add control for optional dependencies + "${FILESDIR}"/40.0-add-control-optional-deps.patch +) + +src_prepare() { + default + vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + $(meson_use colord) + -Dpackagekit=false + $(meson_use webp) + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}