Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/slop/
Date: Mon, 29 Nov 2021 07:13:01
Message-Id: 1638169972.5b4784f1cf002fdf57a513856656fb47651ff044.juippis@gentoo
1 commit: 5b4784f1cf002fdf57a513856656fb47651ff044
2 Author: Marco Scardovi <marco <AT> scardovi <DOT> com>
3 AuthorDate: Thu Nov 25 12:53:43 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 07:12:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b4784f1
7
8 x11-misc/slop: bump to 7.6
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>
12 Closes: https://github.com/gentoo/gentoo/pull/23077
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 x11-misc/slop/Manifest | 1 +
16 .../slop/{slop-9999.ebuild => slop-7.6.ebuild} | 27 +++++++++++-----------
17 2 files changed, 14 insertions(+), 14 deletions(-)
18
19 diff --git a/x11-misc/slop/Manifest b/x11-misc/slop/Manifest
20 index 58b030f80488..4dace195982a 100644
21 --- a/x11-misc/slop/Manifest
22 +++ b/x11-misc/slop/Manifest
23 @@ -1 +1,2 @@
24 DIST slop-7.5.tar.gz 51060 BLAKE2B 8d0fcf932181dfc482be7c54cf5a08605a32c85bcd8b27223a4cd8a08323382e802a7f20faa6c51fe67583b1d320cf783c7b5cc8b871e534ea11a32b827e1f45 SHA512 c02e40c5b924841996617fcc9629a6a739a04b6128c18e1eb06dc285d2f8026d847e67077fb59a111fc45c112f871a6e5faef20108c3d777271e1d4aca7f4737
25 +DIST slop-7.6.tar.gz 198605 BLAKE2B fcf8b0e1212f50044aa3e3a15d208ee3fda9e1883b9601beba6b29ad574555db83f382547bbe064570765e1ed1e7c0c92bf891edadf89f006bfdf10a5b469c66 SHA512 d1abc50cad124cfb11e9b57c38c824efb2ece3dffce8e54e451ce4adc4a7ad441c6171b7df5d1c8dfa66c875a12cf07b206ba3b87229c0e5f2ddf744d7922fc3
26
27 diff --git a/x11-misc/slop/slop-9999.ebuild b/x11-misc/slop/slop-7.6.ebuild
28 similarity index 58%
29 rename from x11-misc/slop/slop-9999.ebuild
30 rename to x11-misc/slop/slop-7.6.ebuild
31 index a9c376b256ec..849d37f0f0aa 100644
32 --- a/x11-misc/slop/slop-9999.ebuild
33 +++ b/x11-misc/slop/slop-7.6.ebuild
34 @@ -1,20 +1,14 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 +# Copyright 1999-2021 Gentoo Authors
37 # Distributed under the terms of the GNU General Public License v2
38
39 -EAPI=7
40 +EAPI=8
41
42 inherit cmake
43
44 DESCRIPTION="Application that queries the user for a selection for printing"
45 HOMEPAGE="https://github.com/naelstrof/slop"
46 -
47 -if [[ ${PV} == *9999 ]]; then
48 - inherit git-r3
49 - EGIT_REPO_URI="https://github.com/naelstrof/slop.git"
50 -else
51 - SRC_URI="https://github.com/naelstrof/slop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
52 - KEYWORDS="~amd64 ~x86"
53 -fi
54 +SRC_URI="https://github.com/naelstrof/slop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
55 +KEYWORDS="~amd64 ~x86"
56
57 LICENSE="GPL-3"
58 SLOT="0/${PV}"
59 @@ -31,13 +25,18 @@ RDEPEND="
60 x11-libs/libXrender:=
61 )
62 "
63 -DEPEND="${RDEPEND}
64 +BDEPEND="
65 + ${RDEPEND}
66 + x11-base/xorg-proto
67 +"
68 +DEPEND="
69 + ${RDEPEND}
70 media-libs/glm
71 "
72
73 +PATCHES=( "${FILESDIR}/${PN}"-7.5-missing-header.patch )
74 +
75 src_configure() {
76 - local mycmakeargs=(
77 - -DSLOP_OPENGL=$(usex opengl)
78 - )
79 + local mycmakeargs=( -DSLOP_OPENGL=$(usex opengl) )
80 cmake_src_configure
81 }