Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/picom/
Date: Wed, 16 Sep 2020 11:32:50
Message-Id: 1600255961.00e332391cfd9292b18267a77e5ca1746e16b096.voyageur@gentoo
1 commit: 00e332391cfd9292b18267a77e5ca1746e16b096
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 16 11:32:28 2020 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 16 11:32:41 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e33239
7
8 x11-misc/picom: 8.1 bump
9
10 Closes: https://bugs.gentoo.org/742386
11 Package-Manager: Portage-3.0.7, Repoman-3.0.1
12 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
13
14 x11-misc/picom/Manifest | 1 +
15 .../picom/{picom-9999.ebuild => picom-8.1.ebuild} | 22 ++++++++++++++++------
16 x11-misc/picom/picom-9999.ebuild | 1 -
17 3 files changed, 17 insertions(+), 7 deletions(-)
18
19 diff --git a/x11-misc/picom/Manifest b/x11-misc/picom/Manifest
20 index 4d1db30768f..8ef3f773a27 100644
21 --- a/x11-misc/picom/Manifest
22 +++ b/x11-misc/picom/Manifest
23 @@ -1,2 +1,3 @@
24 DIST picom-7.5.tar.gz 219456 BLAKE2B 54113547b575ad6aa1329e92ae331b7d49207fdcdc6b49d31d8ab125f7335730a7e53b260c6a6c33d5350bec1e9e6357fd34023dc7837de165289446f8f492b8 SHA512 6535e5eab1a243bbee62448bc48830b7ea3566f94b2c45d9ca76fd8b8056e1f00e55f0e4b58110364d2c4f56652cc005622d644c1db1db41d2811ecc19e6d44a
25 +DIST picom-8.1.tar.gz 242262 BLAKE2B 69583a7a188f62387f0784e33acfc3d84e6b7b1987f44f7634b1bd2244ae8e8763c2131a824f8ddd748558002a876cb359c656a93fcb55ad33a24cca2b7dc56e SHA512 d1d0428e5761db6820c775c07b966b5fec6a9e9d049ba9f555eb49721f855a018df7242ef61e29c0ea003644b20e1bb733ddf668053a8d4040240e98707fa4d3
26 DIST picom-8.tar.gz 242059 BLAKE2B cfeec7f40eaa43c115bd326abeaa547553f7bdd22a2e6b2a96f46d87c164b0e9403a876f069077e3b85d11af685aadb0cff2a4e7df2cf87646f2552f9c1a01df SHA512 154dd42dea16aca463e7d7f9913a8f10740df892bfdda2fee210a94b13c8eaf6201b35e505daf45075fdb1980bb9b85adf170b649702c1b1e2fcdc1d88406b4a
27
28 diff --git a/x11-misc/picom/picom-9999.ebuild b/x11-misc/picom/picom-8.1.ebuild
29 similarity index 61%
30 copy from x11-misc/picom/picom-9999.ebuild
31 copy to x11-misc/picom/picom-8.1.ebuild
32 index 34d4a6e2fb5..993b85a8ab0 100644
33 --- a/x11-misc/picom/picom-9999.ebuild
34 +++ b/x11-misc/picom/picom-8.1.ebuild
35 @@ -3,18 +3,23 @@
36
37 EAPI=7
38
39 -inherit git-r3 meson xdg
40 +PYTHON_COMPAT=( python3_{6,7,8,9} )
41 +inherit meson python-any-r1 virtualx xdg
42
43 DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)"
44 HOMEPAGE="https://github.com/yshui/picom"
45 -EGIT_REPO_URI="https://github.com/yshui/picom.git"
46 +SRC_URI="https://github.com/yshui/picom/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47
48 LICENSE="MPL-2.0 MIT"
49 SLOT="0"
50 -KEYWORDS=""
51 -IUSE="+config-file dbus +doc +drm opengl pcre"
52 +KEYWORDS="~amd64 ~ppc64 ~x86"
53 +IUSE="+config-file dbus +doc +drm opengl pcre test"
54
55 -RDEPEND="dev-libs/libev
56 +REQUIRED_USE="test? ( dbus )" # avoid "DBus support not compiled in!"
57 +RESTRICT="test" # but tests require dbus_next
58 +
59 +RDEPEND="
60 + dev-libs/libev
61 dev-libs/uthash
62 x11-libs/libX11
63 x11-libs/libxcb
64 @@ -34,7 +39,9 @@ RDEPEND="dev-libs/libev
65 DEPEND="${RDEPEND}
66 x11-base/xorg-proto"
67 BDEPEND="virtual/pkgconfig
68 - doc? ( app-text/asciidoc )"
69 + doc? ( app-text/asciidoc )
70 + test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') )
71 +"
72
73 src_configure() {
74 local emesonargs=(
75 @@ -46,5 +53,8 @@ src_configure() {
76 )
77
78 meson_src_configure
79 +}
80
81 +src_test() {
82 + virtx "${S}/tests/run_tests.sh" "${BUILD_DIR}/src/${PN}"
83 }
84
85 diff --git a/x11-misc/picom/picom-9999.ebuild b/x11-misc/picom/picom-9999.ebuild
86 index 34d4a6e2fb5..8d71941fd1a 100644
87 --- a/x11-misc/picom/picom-9999.ebuild
88 +++ b/x11-misc/picom/picom-9999.ebuild
89 @@ -46,5 +46,4 @@ src_configure() {
90 )
91
92 meson_src_configure
93 -
94 }