diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-libs/libSM |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-libs/libSM')
-rw-r--r-- | x11-libs/libSM/Manifest | 5 | ||||
-rw-r--r-- | x11-libs/libSM/libSM-1.2.2-r1.ebuild | 57 | ||||
-rw-r--r-- | x11-libs/libSM/metadata.xml | 13 |
3 files changed, 75 insertions, 0 deletions
diff --git a/x11-libs/libSM/Manifest b/x11-libs/libSM/Manifest new file mode 100644 index 000000000000..2863f852c773 --- /dev/null +++ b/x11-libs/libSM/Manifest @@ -0,0 +1,5 @@ +DIST libSM-1.2.2.tar.bz2 348908 SHA256 0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd SHA512 dfb91dcc7200fce8d0a62953ae4b81fcb00d525674bbcc6dfcaa23ecb35e1213ceb07cc51f590072dce2107909903160d9f3636a0434fe2a605b1e9a9bd0a6ca WHIRLPOOL d9b45a64ccc85b6ed2eb181bc01e8b9c8b839dfb2b41067665688ee27c7d35cb6f3661f96966bb7c8256b1d9391f613cd11b1ccfc9d3a4c362167fa7b77b135b +EBUILD libSM-1.2.2-r1.ebuild 1754 SHA256 bab083de33c83161d4fbf888226437bba50678f8d634cefc01a76d5423c9c21f SHA512 a12611c82b7724b7ebfedf74b595a4362b34d874af8a389750240edb87fbfdb2a75ff87d00ca6b7bb8c032fee8c8bf737529e2eff73a764057d5a75f7ec7b15b WHIRLPOOL 1ab97d3b1ad8f928b82b2282f7ff5192fccd1d229383e91cc48bb197e3cb6db3fe1ba89ba1e3a63b49cf59ff59e417ecd8d9987349593b12aba1a6f26ac4a0f2 +MISC ChangeLog 2427 SHA256 c51f2cc5545a72e13e0c288754c52f675cd0a1e4bf8e19c1b6f4cbfc215b3c5f SHA512 7745766567e91287e74559724f8022cf5867144ebe52f44354835007e091427efa44a29ea82bf889a2cfc395679e1f72e6fce8dc6cd8d1911e00c7fcd0b38436 WHIRLPOOL 1d6892db0e9966757b186e3a77c0332bb0e946b5b243df8b718f55d0332b000757f22b4fd31f496193df15eb8d46e25757fb3b805696e3b4361c89937046af6f +MISC ChangeLog-2015 13909 SHA256 804c0355b77851785f8b7dc1d1cf5af3bbd3757744f9c3ff1efb01a15409f7a3 SHA512 131605a5bafc123b15bcf8573cd485a72d9f4a9becc39e9777454adcde87ae49faa56734f4b82ae26778974a9f161ae6c0ccb7c95db13753b7a79444f528dc3c WHIRLPOOL 775b778c3b67cc978d8cff74c9a7445b96d72e1207bea4cfa86e526bcbe4e5bb9e2765001d6d4c110cbbb5ea6eae14e4f62bf824d85ad98990dd0ccdebfa73f5 +MISC metadata.xml 348 SHA256 a3c7d4cb6ac9ca0a5a83a4c8053af751349139e5699169ee0167683cbed523db SHA512 4fa0439dc05b56a6fc0280c020ccbc52438ba0d22a4a9b8c0e4830844fa50bc6af8096498336b0d9752687b6e30dce581a24b4b67a812d2e7a62783e37af86d5 WHIRLPOOL a34b6880c07a229b6e4766038297e1bfcbbcbaa20f4cb7ca483118bddca6e1204213d805dc5ce6c3f0b67cbb7f9b1eee17d6bc1a48577067f75eb103da299abd diff --git a/x11-libs/libSM/libSM-1.2.2-r1.ebuild b/x11-libs/libSM/libSM-1.2.2-r1.ebuild new file mode 100644 index 000000000000..303ae7650ca2 --- /dev/null +++ b/x11-libs/libSM/libSM-1.2.2-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +XORG_DOC=doc +XORG_MULTILIB=yes +inherit xorg-2 + +DESCRIPTION="X.Org Session Management library" + +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="doc ipv6 +uuid" + +RDEPEND=">=x11-libs/libICE-1.0.8-r1[${MULTILIB_USEDEP}] + x11-libs/xtrans + >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] + !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 + XORG_CONFIGURE_OPTIONS=( + $(use_enable ipv6) + $(use_enable doc docs) + $(use_with doc xmlto) + ${withuuid} + --without-fop + ) + xorg-2_src_configure +} diff --git a/x11-libs/libSM/metadata.xml b/x11-libs/libSM/metadata.xml new file mode 100644 index 000000000000..73384252f25d --- /dev/null +++ b/x11-libs/libSM/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>x11@gentoo.org</email> + <name>X11</name> +</maintainer> +<use> + <flag name="uuid">Use UUID for session identification instead of IP address + and system time. + </flag> +</use> +</pkgmetadata> |