diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-14 02:02:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-14 02:02:08 +0000 |
commit | 59d772d9463f8cf6a145a677bedbf377a0625aff (patch) | |
tree | 5a0e382968fd656a056c886e36cfb4491535b489 /x11-libs/libSM | |
parent | 2a3e0d61b3d88306b6fae46756f9ba7d230222ae (diff) |
gentoo auto-resync : 14:12:2024 - 02:02:07
Diffstat (limited to 'x11-libs/libSM')
-rw-r--r-- | x11-libs/libSM/Manifest | 2 | ||||
-rw-r--r-- | x11-libs/libSM/libSM-1.2.5.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/x11-libs/libSM/Manifest b/x11-libs/libSM/Manifest index 5bc1b26becec..3139e1a340bd 100644 --- a/x11-libs/libSM/Manifest +++ b/x11-libs/libSM/Manifest @@ -1,3 +1,5 @@ DIST libSM-1.2.4.tar.xz 306944 BLAKE2B c1944cd8e25389cffc18e9f6e46e3543381a2d74036cff2c24f063c1defca001c94055ef278dc468123b1f60f145df5daf34bcec39875ad918b664a3c279777a SHA512 7f1d41b7b6c5dd456c49ccad7740c3ba9791a2793fa50fd94814a4164ce2e20c4a0a0ad42a87708e494ed5c23f611be6d3ccd9ef1e9add6d46ac545e2b0f6f86 +DIST libSM-1.2.5.tar.xz 312708 BLAKE2B 9babbc5409037d1292c85c0b23ff21975f614e9cfe53c6878761e67489815862a98ef84a2249161279fd5d7af7ff886cfbafb63b82832ee142e513e3d359e6cd SHA512 f2e58503a7cd144a610621104b4727878dd5ba0cdf8220e72f27a3474c9b49c01dc514c60cbdfb35a9318f307b27a601580725cef0f6b5091d4c4ea57cef8c91 EBUILD libSM-1.2.4.ebuild 1673 BLAKE2B a1aa9b0eb9f2107080f7c4f4b10f7653e30154aa9cd77f968a2e45b93be432d5390fb2bdfbb41696d9c3708901c74d4eb150550c8e51dfcb5513be1192cb26b3 SHA512 7bf3eb26b78a44d37862b055c4381177bfa9b696ce25027bdc285e2182982f275511b30388054d9d0eb5264c298250295acc52ad8e012a048391515d4f9182d1 +EBUILD libSM-1.2.5.ebuild 1681 BLAKE2B 97bdab30a18e273f64517ddcd5dbf0088f2c66a373f394c7a548da7716fe965ea29910d7be6d1335174f9b33e97e3c3512dd87405e0e9d546de87cef3dca3620 SHA512 fa0bb43e558c94a36470ec469d1f41eb4705f02d29262907bfc8a3c8d402a2ea9a78db9d3dd20098cfe70eb1f3f2b45a19849e11f6a6da1d82d18f95f864aa13 MISC metadata.xml 457 BLAKE2B 895411214399309db731cd3f1c5c49ec5a505aa4a7a03e9fc39e7027b1956aeae7b0ffebe1d6f4500eaba907c0aa2ce7332f56de0b53ebc26dd000835a29c9ce SHA512 9e810808a715e91e939d710c5633675d4a7d74b2a18d8054d1932f6022bf186ae981b1ffffd81893bb1959923ddf541908a24656e7c308589994178dbab9ff60 diff --git a/x11-libs/libSM/libSM-1.2.5.ebuild b/x11-libs/libSM/libSM-1.2.5.ebuild new file mode 100644 index 000000000000..7d919fb6e3c2 --- /dev/null +++ b/x11-libs/libSM/libSM-1.2.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +XORG_DOC=doc +XORG_MULTILIB=yes +XORG_TARBALL_SUFFIX="xz" +inherit xorg-3 + +DESCRIPTION="X.Org Session Management library" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+uuid" + +RDEPEND=" + >=x11-libs/libICE-1.1.0[${MULTILIB_USEDEP}] + uuid? ( + elibc_Darwin? ( sys-libs/native-uuid ) + !elibc_SunOS? ( !elibc_Darwin? ( + >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}] + ) ) + )" +DEPEND="${RDEPEND} + x11-base/xorg-proto + x11-libs/xtrans" + +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=( + --enable-ipv6 + $(use_enable doc docs) + $(use_with doc xmlto) + ${withuuid} + --without-fop + ) + xorg-3_src_configure +} |