From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libSM/
Date: Tue, 8 Sep 2020 19:25:08 +0000 (UTC) [thread overview]
Message-ID: <1599593098.f512e6cf33c5858b9b5891871c1be566232e784b.mattst88@gentoo> (raw)
commit: f512e6cf33c5858b9b5891871c1be566232e784b
Author: David Michael <fedora.dm0 <AT> gmail <DOT> com>
AuthorDate: Fri Sep 4 23:08:57 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Sep 8 19:24:58 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f512e6cf
x11-libs/libSM: EAPI 7
Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17420
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
x11-libs/libSM/libSM-1.2.3-r1.ebuild | 58 ++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/x11-libs/libSM/libSM-1.2.3-r1.ebuild b/x11-libs/libSM/libSM-1.2.3-r1.ebuild
new file mode 100644
index 00000000000..557451f174c
--- /dev/null
+++ b/x11-libs/libSM/libSM-1.2.3-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+XORG_DOC=doc
+XORG_MULTILIB=yes
+inherit xorg-3
+
+DESCRIPTION="X.Org Session Management library"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="ipv6 +uuid"
+
+RDEPEND="x11-base/xorg-proto
+ >=x11-libs/libICE-1.0.8-r1[${MULTILIB_USEDEP}]
+ x11-libs/xtrans
+ !elibc_FreeBSD? ( !elibc_SunOS? ( !elibc_Darwin? (
+ uuid? ( >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}] )
+ ) ) )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local withuuid=$(use_with uuid libuuid)
+
+ # do not use uuid even if available in libc (like on FreeBSD)
+ use uuid || export ac_cv_func_uuid_create=no
+
+ if use uuid ; then
+ case ${CHOST} in
+ *-solaris*|*-darwin*)
+ if [[ ! -d ${EROOT}/usr/include/uuid ]] &&
+ [[ -d ${ROOT}/usr/include/uuid ]]
+ then
+ # Solaris and Darwin have uuid provided by the host
+ # system. Since util-linux's version is based on this
+ # version, and on Darwin actually breaks host headers when
+ # installed, we can "pretend" for libSM we have libuuid
+ # installed, while in fact we don't
+ withuuid="--without-libuuid"
+ export HAVE_LIBUUID=yes
+ export LIBUUID_CFLAGS="-I${ROOT}/usr/include/uuid"
+ # Darwin has uuid in libSystem
+ [[ ${CHOST} == *-solaris* ]] && export LIBUUID_LIBS="-luuid"
+ fi
+ ;;
+ esac
+ fi
+
+ local XORG_CONFIGURE_OPTIONS=(
+ $(use_enable ipv6)
+ $(use_enable doc docs)
+ $(use_with doc xmlto)
+ ${withuuid}
+ --without-fop
+ )
+ xorg-3_src_configure
+}
next reply other threads:[~2020-09-08 19:25 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-08 19:25 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-01-26 17:47 [gentoo-commits] repo/gentoo:master commit in: x11-libs/libSM/ Matt Turner
2023-01-25 19:21 Arthur Zamarin
2023-01-24 18:29 Arthur Zamarin
2023-01-24 18:27 Arthur Zamarin
2023-01-24 1:00 Sam James
2022-12-20 4:11 Matt Turner
2022-05-08 3:10 WANG Xuerui
2022-01-02 17:49 David Seifert
2022-01-01 15:53 James Le Cuirot
2021-09-23 20:13 Sam James
2021-04-05 20:44 Sam James
2020-12-27 18:28 Fabian Groffen
2020-11-05 17:01 Matt Turner
2020-11-05 17:01 Matt Turner
2019-06-12 17:08 Michael Haubenwallner
2018-12-08 17:48 Mikle Kolyada
2018-11-29 5:17 Matt Turner
2018-11-27 20:30 Matt Turner
2018-11-27 12:03 Mart Raudsepp
2018-11-17 14:57 Mikle Kolyada
2018-11-10 17:23 Matt Turner
2018-11-09 17:50 Sergei Trofimovich
2018-11-04 4:35 Matt Turner
2018-11-03 14:36 Mikle Kolyada
2018-10-10 17:01 Matt Turner
2018-06-28 13:55 Mikle Kolyada
2017-01-29 21:11 Fabian Groffen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1599593098.f512e6cf33c5858b9b5891871c1be566232e784b.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox