summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/games-envd/Manifest26
-rw-r--r--games-misc/games-envd/games-envd-0.ebuild56
-rw-r--r--games-misc/games-envd/metadata.xml5
3 files changed, 85 insertions, 2 deletions
diff --git a/games-misc/games-envd/Manifest b/games-misc/games-envd/Manifest
index d0d439efd367..337f75f22b73 100644
--- a/games-misc/games-envd/Manifest
+++ b/games-misc/games-envd/Manifest
@@ -1,3 +1,25 @@
-EBUILD games-envd-0.ebuild 1443 SHA256 27d241c0e731c6dbc2c959f04a340af750812b443e0cdea2ca61363b98735294 SHA512 3175f98a02c456f40dad6c788161684bf9ef49e66c7ce8577d784e11b4f92fbaa9e250417bdaa54d9921aeecc3729a48a1f7bd7d3ab2f68dbf726a5e61b98a90 WHIRLPOOL 75418b394ae60545c652e49fe5b67aa91a0b44730e7583e373a69017bc7ef788d5d2a85ded5faf98ee176fd5ac04a7ffd27fba7615c265ae5bc7daa809955997
-MISC ChangeLog 271 SHA256 da9703e22188e401f7c0b1948fd88fc039e3323a70e0201970e3b25fdfb60bbf SHA512 f6507890b114ebe75b3b131d30eb6bac95697c11a4bc5988696a10260759999f2dca78473cdc41d45a9189c0190e0633d174ab0dd334bd7b0e20c4a6dc357a36 WHIRLPOOL e11d15ce9ed336e1606c515024eb88c63ba512add19fb52acab2b409df213ddf1e36c5c02c80e059557b191929da1d022016a257a8016979b036a703299b8d00
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+EBUILD games-envd-0.ebuild 1548 SHA256 56d149eac40e70f1d76364c576450a196a0e24879a42744eae4c7456e6ae396d SHA512 b9fb8726cc63cde763bc547c9909ad6d05ef07f176fb1c71aa5c2d6c15c0a43aea5d9c0fdeedda0971d64e8b6054ac429ed06b40abe285584c023753504abede WHIRLPOOL f02abf44b29d283d724eff1b4d7bb9b2859dbe33840fd0cce0b6a88bd80405018035413718462ba5d07dd157426ba6fce41242e37f92b05d1337351ace986c62
+MISC ChangeLog 366 SHA256 a8479436ffd3476355bfd519c118c3cdd5bbc816589424e65dfcc87e6156f65c SHA512 eaa2f15751ad659b5f55d463e97f00a41529e766b6deda43843c9f8ca81d3a09387c880099f870183cc81c2a6a6deeac569f63ab1e3ce2f3d523b0d894fc4127 WHIRLPOOL 48b549f712b337f20d5ab23163cc9e965d2a8e2a7c14ca687ac4ad50e4cf7e5d73d737f9427f2b32dc1afe146665be1512c919cc66a8ce7ea085ce3cae58d9ad
MISC metadata.xml 159 SHA256 a222ada7640e6dfb21d27151813829e91a72a6878d809dfddaa41581455f6b69 SHA512 6352e00c52c5aea882fb49482fa13058b44892b9f0d348747a104a92bac4317beebdab189dada073ab9c87fbd9a4d276e725884741fc86bcb6f5b1857c031974 WHIRLPOOL abfa1ff25d21dc915422368c253795602590b470ca5cf3f099bf8675e2684baccac5e3d145391adac1fc5313f2e1d54bf9d8f21704e1b99fe22dec46f3f5acf5
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQJ8BAEBCABmBQJTIKusXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMDlCNDQ4NjEyNDI4NjA5REVEMDI3MzIy
+MjBDRDFDNUJERUVEMDIwAAoJECIM0cW97tAgboQQAI5utwvpW106yqhZ5yIALhPi
+8qyvsKkYd+mg5R/XWlZq6G/5NU1OsIL8ayaVSTHiAEOkzduJ45uMsOgfBjvXq3tM
+JttXLz8hmYv9a4eWQMDjEfkcJkBlphRV7+/4hxdq3jw9da+CvvQ1+3vvgDRR/Ycm
+S++BWyMxHrJz3F5YGmxx0sLiEroi4WCpU00SsajzmB5uTl/tC/9XhPGbTvxy/HLa
+EfivW0yW00wQC35M4pd76w7SgVL6X1o5FGSlhnaRSVjOXzBYXtR+XRftajffi200
+CXFTzJ/a/FxD1TIjVMEv59HDGnvTAppNjowgvPJpfWXPkGwGkag0ek3D0wy/KiaF
+HsogBrTDWn1FTpSEqfADRcGx61wgUO4LtvDqsTVOMBlUoo2ZSPVZ1NQIMpS5j3RS
+UXc4QG+/dcND9ItQEXH4nFBjtc2HSvjyu78oSsNHmTLtTlxbe/XNWJObpSDQ4JlX
+XJS0PxwKzGCBYbhB6NB/wUaawokVv0bL8pBGLMfj6cbSJx+N8hxDdvWB3xNWQm+H
+INle27j6TwpBdDpswk5Hnru+WlvAPEGClMvUKQSpQua0TZEAn1EDTbved+O43r+q
+6DN1Au0v2ytVt/3vZhf7SausoOqldZTBhTKXSw7SFgUyfIQ9ZJkaEtxA6GhiCUiW
+kWx3V/bWTBpHdEbNrarK
+=QxXm
+-----END PGP SIGNATURE-----
diff --git a/games-misc/games-envd/games-envd-0.ebuild b/games-misc/games-envd/games-envd-0.ebuild
new file mode 100644
index 000000000000..06b3d1db2ab3
--- /dev/null
+++ b/games-misc/games-envd/games-envd-0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/games-envd/games-envd-0.ebuild,v 1.1 2014/03/12 18:47:03 hasufell Exp $
+
+EAPI=5
+
+inherit multilib games
+
+DESCRIPTION="Environment file for gentoo games"
+HOMEPAGE="http://www.gentoo.org/proj/en/desktop/games/index.xml"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ games_pkg_setup
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ if [[ -e "${EROOT%/}/etc/env.d/${GAMES_ENVD}" ]] ; then
+ einfo "removing ${EROOT%/}/etc/env.d/${GAMES_ENVD}"
+ rm "${EROOT%/}/etc/env.d/${GAMES_ENVD}" || die
+ fi
+ fi
+}
+
+src_prepare() {
+ local d libdirs
+
+ for d in $(get_all_libdirs) ; do
+ libdirs="${libdirs}:${GAMES_PREFIX}/${d}"
+ done
+
+ cat <<-EOF > ${GAMES_ENVD} || die
+ # if you don't want these added for non-games users
+ # see https://bugs.gentoo.org/show_bug.cgi?id=408615
+ LDPATH="${libdirs:1}"
+ PATH="${GAMES_BINDIR}"
+ EOF
+}
+
+src_configure() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ doenvd ${GAMES_ENVD}
+ gamesowners "${ED%/}"/etc/env.d/${GAMES_ENVD}
+ gamesperms "${ED%/}"/etc/env.d/${GAMES_ENVD}
+}
+
+pkg_preinst() { :; }
+
+pkg_postinst() { :; }
diff --git a/games-misc/games-envd/metadata.xml b/games-misc/games-envd/metadata.xml
new file mode 100644
index 000000000000..cad5a2aa1773
--- /dev/null
+++ b/games-misc/games-envd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+</pkgmetadata>