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 B52F615838C for ; Tue, 30 Jan 2024 08:40:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA78DE29F5; Tue, 30 Jan 2024 08:40:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 BB1D9E29F5 for ; Tue, 30 Jan 2024 08:40:10 +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 E941D34301C for ; Tue, 30 Jan 2024 08:40:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FAF5EC0 for ; Tue, 30 Jan 2024 08:40:08 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1706604005.9719fa0bd3bfe8ed5bab2f68385b29e75a65053d.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/picom/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/picom/Manifest x11-misc/picom/picom-11.1.ebuild X-VCS-Directories: x11-misc/picom/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 9719fa0bd3bfe8ed5bab2f68385b29e75a65053d X-VCS-Branch: master Date: Tue, 30 Jan 2024 08:40:08 +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: 9d236f71-26ed-4ef5-8564-68739b2a408f X-Archives-Hash: 13cce7902a5aee3c5764502c52030f1b commit: 9719fa0bd3bfe8ed5bab2f68385b29e75a65053d Author: Bernard Cafarelli gentoo org> AuthorDate: Tue Jan 30 08:39:58 2024 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Tue Jan 30 08:40:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9719fa0b x11-misc/picom: add 11.1 Signed-off-by: Bernard Cafarelli gentoo.org> x11-misc/picom/Manifest | 1 + x11-misc/picom/picom-11.1.ebuild | 68 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/x11-misc/picom/Manifest b/x11-misc/picom/Manifest index 57dca69ae115..7430a939e524 100644 --- a/x11-misc/picom/Manifest +++ b/x11-misc/picom/Manifest @@ -1,2 +1,3 @@ DIST picom-10.2.tar.gz 287166 BLAKE2B feaa07fc5f0a53396675dfd4d8f2507caf6ce355b2db242b25b3559b287845b0505c48194e51c9c7fc6809dd10b871be6adf3e9fc87d91a41f01ccfeb87803ab SHA512 9c0351fbe8a9e76533243c8e76f8e7d10c1e49292f1c8e6c06f31fb0b512542a67970abe803d061c953546ff8d3e704488c263002a5a831f68deb010caee481d +DIST picom-11.1.tar.gz 308617 BLAKE2B cb100ec8d7ae9a9b43d59fb6d8eaf7079f1a1ea8da6eddea4bfc67f0180d2d43da30bb63049d685da71d424cb9bc091216331d3f54678da6c6379ed4de2e6347 SHA512 94c3a17a51f4749453d7d6334f8041bd1ee9f676f94f93c9368f02783ac86650031421c3d2fdd05d177c4c8535a76a6aff2c8e3cae4ae99bff7c458bd921b536 DIST picom-11.tar.gz 309373 BLAKE2B 1b7a01654fdfde9e3885e54feb36740397e86edb7de490bbc767374928d1581ed2270bdbbf5d5904594ed071bca63e623088483f14e87a9efbd23e8e41a10ef0 SHA512 a0037e838e8a1f02fa4ee6e1b0aac0c9b571ee580d11d44bb49f8591dfea2a1039843da7711b95bf747daac119651736e98cf8e1281297ca1c1f5002a750b7f8 diff --git a/x11-misc/picom/picom-11.1.ebuild b/x11-misc/picom/picom-11.1.ebuild new file mode 100644 index 000000000000..e122ab5870bb --- /dev/null +++ b/x11-misc/picom/picom-11.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) +inherit meson python-any-r1 virtualx xdg + +DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)" +HOMEPAGE="https://github.com/yshui/picom" +SRC_URI="https://github.com/yshui/picom/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+config-file dbus +doc +drm opengl pcre test" + +REQUIRED_USE="test? ( dbus )" # avoid "DBus support not compiled in!" +RESTRICT="test" # but tests require dbus_next + +RDEPEND="dev-libs/libev + dev-libs/uthash + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + x11-libs/pixman + x11-libs/xcb-util + x11-libs/xcb-util-image + x11-libs/xcb-util-renderutil + config-file? ( + dev-libs/libconfig:= + ) + dbus? ( sys-apps/dbus ) + drm? ( x11-libs/libdrm ) + opengl? ( virtual/opengl ) + pcre? ( dev-libs/libpcre2:= )" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig + doc? ( app-text/asciidoc ) + test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') ) +" + +DOCS=( README.md picom.sample.conf ) + +python_check_deps() { + python_has_version "dev-python/xcffib[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + local emesonargs=( + $(meson_use config-file config_file) + $(meson_use dbus) + $(meson_use doc with_docs) + $(meson_use opengl) + $(meson_use pcre regex) + ) + + meson_src_configure +} + +src_test() { + virtx "${S}/tests/run_tests.sh" "${BUILD_DIR}/src/${PN}" +}