Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libfakeXinerama/
Date: Tue, 31 Aug 2021 21:35:32
Message-Id: 1630445713.6f1459cb45e9d8ae5ae2ec5055ea8b0b193de8d5.chewi@gentoo
1 commit: 6f1459cb45e9d8ae5ae2ec5055ea8b0b193de8d5
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 31 21:35:13 2021 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 31 21:35:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f1459cb
7
8 x11-libs/libfakeXinerama: New package for xpra
9
10 Package-Manager: Portage-3.0.22, Repoman-3.0.3
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 x11-libs/libfakeXinerama/Manifest | 1 +
14 .../libfakeXinerama/libfakeXinerama-0.1.0.ebuild | 30 ++++++++++++++++++++++
15 x11-libs/libfakeXinerama/metadata.xml | 11 ++++++++
16 3 files changed, 42 insertions(+)
17
18 diff --git a/x11-libs/libfakeXinerama/Manifest b/x11-libs/libfakeXinerama/Manifest
19 new file mode 100644
20 index 00000000000..99c08a1f128
21 --- /dev/null
22 +++ b/x11-libs/libfakeXinerama/Manifest
23 @@ -0,0 +1 @@
24 +DIST libfakeXinerama-0.1.0.tar.bz2 3191 BLAKE2B 3f3572a64c6aafc71df9db7dc0c88125f4eb53dc7ae5dd22a704964664f3e21423241892b92be3591dffeca264660b1dd0880989e8088091d0731105ffec224b SHA512 6b2cd7a3ebd751d869b8afd1c129412f7bc8e8098d7f27a1781078c33f5fa644374524d3e7f5a7b9cf0297edb848d6ff7ec8f29d312e2af0c88d248c751ef907
25
26 diff --git a/x11-libs/libfakeXinerama/libfakeXinerama-0.1.0.ebuild b/x11-libs/libfakeXinerama/libfakeXinerama-0.1.0.ebuild
27 new file mode 100644
28 index 00000000000..d1a8f77f32e
29 --- /dev/null
30 +++ b/x11-libs/libfakeXinerama/libfakeXinerama-0.1.0.ebuild
31 @@ -0,0 +1,30 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit multilib toolchain-funcs
38 +
39 +DESCRIPTION="Fake library to override default libXinerama and expose custom screen dimensions"
40 +HOMEPAGE="https://github.com/Xpra-org/libfakeXinerama"
41 +SRC_URI="https://xpra.org/src/${P}.tar.bz2"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +DEPEND="
48 + x11-libs/libX11
49 + x11-libs/libXinerama
50 +"
51 +
52 +src_compile() {
53 + libtool --tag=CC --mode=compile $(tc-getCC) -shared ${CFLAGS} -c ${PN#lib}.c || die
54 + libtool --tag=CC --mode=link $(tc-getCC) -shared ${LDFLAGS} -Wl,-z,defs ${PN#lib}.lo \
55 + -o ${PN}.la -rpath "${EPREFIX}/usr/$(get_libdir)" -version-number 1:0:0 || die
56 +}
57 +
58 +src_install() {
59 + dolib.so .libs/${PN}$(get_libname)*
60 + dodoc README.TXT
61 +}
62
63 diff --git a/x11-libs/libfakeXinerama/metadata.xml b/x11-libs/libfakeXinerama/metadata.xml
64 new file mode 100644
65 index 00000000000..d1e8c601f84
66 --- /dev/null
67 +++ b/x11-libs/libfakeXinerama/metadata.xml
68 @@ -0,0 +1,11 @@
69 +<?xml version="1.0" encoding="UTF-8"?>
70 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
71 +<pkgmetadata>
72 + <maintainer type="person">
73 + <email>chewi@g.o</email>
74 + <name>James Le Cuirot</name>
75 + </maintainer>
76 + <upstream>
77 + <remote-id type="github">Xpra-org/libfakeXinerama</remote-id>
78 + </upstream>
79 +</pkgmetadata>