Gentoo Archives: gentoo-commits

From: Nickolas Raymond Kaczynski <nrk@×××××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/sxcs/
Date: Wed, 02 Nov 2022 15:38:47
Message-Id: 1667403464.4e4d04ea45fc81021f604f0e12f87e8a6f22edc1.nrk@gentoo
1 commit: 4e4d04ea45fc81021f604f0e12f87e8a6f22edc1
2 Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
3 AuthorDate: Wed Nov 2 15:36:44 2022 +0000
4 Commit: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
5 CommitDate: Wed Nov 2 15:37:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e4d04ea
7
8 x11-misc/sxcs: new package
9
10 Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
11
12 x11-misc/sxcs/Manifest | 1 +
13 x11-misc/sxcs/metadata.xml | 10 ++++++++++
14 x11-misc/sxcs/sxcs-0.7.ebuild | 37 +++++++++++++++++++++++++++++++++++++
15 3 files changed, 48 insertions(+)
16
17 diff --git a/x11-misc/sxcs/Manifest b/x11-misc/sxcs/Manifest
18 new file mode 100644
19 index 000000000..34d8acea1
20 --- /dev/null
21 +++ b/x11-misc/sxcs/Manifest
22 @@ -0,0 +1 @@
23 +DIST sxcs-0.7.tar.gz 22442 BLAKE2B ebc11e55cf0676fd86353c915678aa52265b13572bcad61302fbb42b3490d6651af5872b58e44158c06d933ea731808fd025bfcd02bde31be834808601ffe980 SHA512 58bf998ba3ab82ced546ee44f3d2159ceb6d4bd4c524eabe7f80c6e762c2c6dc3e4727da0c6a45fa204ed158dd57ae8f2973f66948b35beb399682e4c8bf4666
24
25 diff --git a/x11-misc/sxcs/metadata.xml b/x11-misc/sxcs/metadata.xml
26 new file mode 100644
27 index 000000000..129190c39
28 --- /dev/null
29 +++ b/x11-misc/sxcs/metadata.xml
30 @@ -0,0 +1,10 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>nrk@×××××××.org</email>
36 + </maintainer>
37 + <!-- <upstream> -->
38 + <!-- <remote-id type="codeberg">NRK/sxcs</remote-id> -->
39 + <!-- </upstream> -->
40 +</pkgmetadata>
41
42 diff --git a/x11-misc/sxcs/sxcs-0.7.ebuild b/x11-misc/sxcs/sxcs-0.7.ebuild
43 new file mode 100644
44 index 000000000..4d235209c
45 --- /dev/null
46 +++ b/x11-misc/sxcs/sxcs-0.7.ebuild
47 @@ -0,0 +1,37 @@
48 +# Copyright 2021-2022 Gentoo Authors
49 +# Distributed under the terms of the GNU General Public License v2
50 +
51 +EAPI=8
52 +
53 +inherit toolchain-funcs
54 +
55 +DESCRIPTION="Color picker and magnifier for X11."
56 +HOMEPAGE="https://codeberg.org/NRK/sxcs"
57 +
58 +SRC_URI="https://codeberg.org/NRK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
59 +S="${WORKDIR}/${PN}"
60 +
61 +KEYWORDS="~amd64"
62 +LICENSE="GPL-3+"
63 +SLOT="0"
64 +IUSE=""
65 +
66 +RDEPEND="
67 + x11-libs/libX11
68 + x11-libs/libXcursor
69 +"
70 +DEPEND="${RDEPEND}"
71 +
72 +src_compile() {
73 + emake \
74 + CC=$(tc-getCC) \
75 + CFLAGS="${CFLAGS}" \
76 + LDFLAGS="${LDFLAGS}"
77 +}
78 +
79 +src_install() {
80 + emake install \
81 + DESTDIR="${D}" \
82 + PREFIX="${EPREFIX}/usr"
83 + dodoc README.md
84 +}