mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 07:18:58 -04:00
games-fps/source-engine: new package, add 9999
add Source-SDK license, remove executable flag on Proton license
This commit is contained in:
parent
a91c0570c4
commit
7b19e56311
13
games-fps/source-engine/metadata.xml
Normal file
13
games-fps/source-engine/metadata.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>diceea@foxmail.com</email>
|
||||||
|
<name>Goldsrc233</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<changelog>https://github.com/nillerusr/source-engine/releases</changelog>
|
||||||
|
<bugs-to>https://github.com/nillerusr/source-engine/issues</bugs-to>
|
||||||
|
<remote-id type="github">nillerusr/source-engine</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
45
games-fps/source-engine/source-engine-9999.ebuild
Normal file
45
games-fps/source-engine/source-engine-9999.ebuild
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_11 python3_12 )
|
||||||
|
PYTHON_REQ_USE='threads(+)'
|
||||||
|
|
||||||
|
inherit waf-utils git-r3 python-any-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A 3D game engine developed by Valve"
|
||||||
|
HOMEPAGE="https://github.com/nillerusr/source-engine"
|
||||||
|
EGIT_REPO_URI="https://github.com/nillerusr/source-engine.git"
|
||||||
|
|
||||||
|
LICENSE="Source-SDK"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="debug"
|
||||||
|
BDEPEND="${PYTHON_DEPS}
|
||||||
|
media-libs/libsdl2
|
||||||
|
media-libs/freetype
|
||||||
|
media-libs/fontconfig
|
||||||
|
sys-libs/zlib
|
||||||
|
media-libs/libjpeg-turbo
|
||||||
|
media-libs/libpng
|
||||||
|
net-misc/curl
|
||||||
|
media-libs/openal"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local conf=(
|
||||||
|
'-8'
|
||||||
|
$(usex debug '-T debug' '-T release')
|
||||||
|
)
|
||||||
|
waf-utils_src_configure "${conf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
waf-utils_src_install --destdir="${ED}/opt/source-engine"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo "To play Half-Life 2,"
|
||||||
|
einfo "you must legally own a Half-Life 2 copy,"
|
||||||
|
einfo "then copy the 'hl2' folder into"
|
||||||
|
einfo "/opt/source-engine/usr"
|
||||||
|
}
|
0
licenses/Proton
Executable file → Normal file
0
licenses/Proton
Executable file → Normal file
43
licenses/Source-SDK
Normal file
43
licenses/Source-SDK
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
SOURCE 1 SDK LICENSE
|
||||||
|
|
||||||
|
Source SDK Copyright(c) Valve Corp.
|
||||||
|
|
||||||
|
THIS DOCUMENT DESCRIBES A CONTRACT BETWEEN YOU AND VALVE
|
||||||
|
CORPORATION ("Valve"). PLEASE READ IT BEFORE DOWNLOADING OR USING
|
||||||
|
THE SOURCE ENGINE SDK ("SDK"). BY DOWNLOADING AND/OR USING THE
|
||||||
|
SOURCE ENGINE SDK YOU ACCEPT THIS LICENSE. IF YOU DO NOT AGREE TO
|
||||||
|
THE TERMS OF THIS LICENSE PLEASE DON'T DOWNLOAD OR USE THE SDK.
|
||||||
|
|
||||||
|
You may, free of charge, download and use the SDK to develop a modified Valve game
|
||||||
|
running on the Source engine. You may distribute your modified Valve game in source and
|
||||||
|
object code form, but only for free. Terms of use for Valve games are found in the Steam
|
||||||
|
Subscriber Agreement located here: http://store.steampowered.com/subscriber_agreement/
|
||||||
|
|
||||||
|
You may copy, modify, and distribute the SDK and any modifications you make to the
|
||||||
|
SDK in source and object code form, but only for free. Any distribution of this SDK must
|
||||||
|
include this LICENSE file and thirdpartylegalnotices.txt.
|
||||||
|
|
||||||
|
Any distribution of the SDK or a substantial portion of the SDK must include the above
|
||||||
|
copyright notice and the following:
|
||||||
|
|
||||||
|
DISCLAIMER OF WARRANTIES. THE SOURCE SDK AND ANY
|
||||||
|
OTHER MATERIAL DOWNLOADED BY LICENSEE IS PROVIDED
|
||||||
|
"AS IS". VALVE AND ITS SUPPLIERS DISCLAIM ALL
|
||||||
|
WARRANTIES WITH RESPECT TO THE SDK, EITHER EXPRESS
|
||||||
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT,
|
||||||
|
TITLE AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
LIMITATION OF LIABILITY. IN NO EVENT SHALL VALVE OR
|
||||||
|
ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
|
||||||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER
|
||||||
|
(INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF
|
||||||
|
BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF
|
||||||
|
BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS)
|
||||||
|
ARISING OUT OF THE USE OF OR INABILITY TO USE THE
|
||||||
|
ENGINE AND/OR THE SDK, EVEN IF VALVE HAS BEEN
|
||||||
|
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
|
||||||
|
If you would like to use the SDK for a commercial purpose, please contact Valve at
|
||||||
|
sourceengine@valvesoftware.com.
|
Loading…
x
Reference in New Issue
Block a user