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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8C07B1382C5 for ; Wed, 17 Jun 2020 09:18:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79D39E0A97; Wed, 17 Jun 2020 09:18:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5AF94E0A97 for ; Wed, 17 Jun 2020 09:18:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D853A34F24E for ; Wed, 17 Jun 2020 09:18:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 700B128F for ; Wed, 17 Jun 2020 09:18:48 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1592384282.2c8546f4f9ea0a3cf7fab3daf73534e2db117592.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/compton/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/compton/compton-0.1_beta2-r1.ebuild X-VCS-Directories: x11-misc/compton/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 2c8546f4f9ea0a3cf7fab3daf73534e2db117592 X-VCS-Branch: master Date: Wed, 17 Jun 2020 09:18:48 +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: c46a55d4-e548-4e73-a35e-cae42d96bd6f X-Archives-Hash: abfac7cdff3b3c3adb48e217f39c63b2 commit: 2c8546f4f9ea0a3cf7fab3daf73534e2db117592 Author: Kent Fredric gentoo org> AuthorDate: Wed Apr 22 14:38:20 2020 +0000 Commit: Kent Fredric gentoo org> CommitDate: Wed Jun 17 08:58:02 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c8546f4 x11-misc/compton: Add python 3.7, 3.8 & 3.9 support re bug #718546 Bug: https://bugs.gentoo.org/718546 Package-Manager: Portage-2.3.97, Repoman-2.3.22 Signed-off-by: Kent Fredric gentoo.org> x11-misc/compton/compton-0.1_beta2-r1.ebuild | 69 ++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/x11-misc/compton/compton-0.1_beta2-r1.ebuild b/x11-misc/compton/compton-0.1_beta2-r1.ebuild new file mode 100644 index 00000000000..1b4cdd3e845 --- /dev/null +++ b/x11-misc/compton/compton-0.1_beta2-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +inherit toolchain-funcs python-r1 + +DESCRIPTION="A compositor for X, and a fork of xcompmgr-dana" +HOMEPAGE="https://github.com/chjj/compton" +SRC_URI="https://github.com/chjj/compton/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="dbus +drm opengl +pcre xinerama" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND="${PYTHON_DEPS} + dev-libs/libconfig:= + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXrender + dbus? ( sys-apps/dbus ) + opengl? ( virtual/opengl ) + pcre? ( dev-libs/libpcre:3 ) + xinerama? ( x11-libs/libXinerama )" +RDEPEND="${COMMON_DEPEND} + x11-apps/xprop + x11-apps/xwininfo" +DEPEND="${COMMON_DEPEND} + app-text/asciidoc + virtual/pkgconfig + x11-base/xorg-proto + drm? ( x11-libs/libdrm )" + +nobuildit() { use $1 || echo yes ; } + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + tc-export CC + fi +} + +src_compile() { + emake docs + + NO_DBUS=$(nobuildit dbus) \ + NO_XINERAMA=$(nobuildit xinerama) \ + NO_VSYNC_DRM=$(nobuildit drm) \ + NO_VSYNC_OPENGL=$(nobuildit opengl) \ + NO_REGEX_PCRE=$(nobuildit pcre) \ + emake compton +} + +src_install() { + NO_DBUS=$(nobuildit dbus) \ + NO_VSYNC_DRM=$(nobuildit drm) \ + NO_VSYNC_OPENGL=$(nobuildit opengl) \ + NO_REGEX_PCRE=$(nobuildit pcre) \ + default + docinto examples + dodoc compton.sample.conf dbus-examples/* + python_foreach_impl python_newscript bin/compton-convgen.py compton-convgen +}