correct openarena

This commit is contained in:
Dmitry Isaenko 2024-06-16 16:40:14 +03:00
parent fcbc906e1f
commit b41661eed3
2 changed files with 14 additions and 8 deletions

View file

@ -1,7 +1,7 @@
AUX openarena-0.8.8-makefile.patch 763 BLAKE2B 0e671cf5be41b48670954fa133d11806b1ad4becb98379e34bd7ea7127af467c15db9421f8590c3a73fbe0890e5e3f2a348437bef4cea7910400f488bedc3168 SHA512 2cc60cfd43536f55690dd90346f11d383f39d20be4509167604d0506bddd6375a73e933eeed2c7fbbd0e2c2c9c7ce126943549a9e0194d0f831d0a9b9e59c376 AUX openarena-0.8.8-makefile.patch 763 BLAKE2B 0e671cf5be41b48670954fa133d11806b1ad4becb98379e34bd7ea7127af467c15db9421f8590c3a73fbe0890e5e3f2a348437bef4cea7910400f488bedc3168 SHA512 2cc60cfd43536f55690dd90346f11d383f39d20be4509167604d0506bddd6375a73e933eeed2c7fbbd0e2c2c9c7ce126943549a9e0194d0f831d0a9b9e59c376
DIST openarena-0.8.8.zip 425189255 BLAKE2B f8a8d20cee344a615907e85b8487b8211246888b63d001b5f0fe1b676a699d9268cdf15d7c749837e5789ef254e959f289d9026a1ea3924f50b291a4c7224f28 SHA512 9fa4dabe8a3428dc3cbec97f3b4d20c04569c14cdd00b60e6391c6dd61e310f246ff5ec97e7549821b3d6f5f94b140eb5411a2ddd83dafcad66937b7f78ea8dd DIST openarena-0.8.8.zip 425189255 BLAKE2B f8a8d20cee344a615907e85b8487b8211246888b63d001b5f0fe1b676a699d9268cdf15d7c749837e5789ef254e959f289d9026a1ea3924f50b291a4c7224f28 SHA512 9fa4dabe8a3428dc3cbec97f3b4d20c04569c14cdd00b60e6391c6dd61e310f246ff5ec97e7549821b3d6f5f94b140eb5411a2ddd83dafcad66937b7f78ea8dd
DIST openarena-engine-source-0.8.8.tar.bz2 3777830 BLAKE2B c20e2ad37aeb3467e2ebd90eab599c4e25a2dc834df81286b01bde9c7081b1b954e3524e5c4110bddcbda5593a40e595aa0a1eae8f20b98a06b4410fcb93f4c8 SHA512 d4ba3655fae500cf5b7475c83d39c81b6abc759da15cfb4ea9e1dc0f47ffb11c1bbbc2b6f85d613ab1d729978eda93d4d7677c9a45a33853e363c820d8b81c43 DIST openarena-engine-source-0.8.8.tar.bz2 3777830 BLAKE2B c20e2ad37aeb3467e2ebd90eab599c4e25a2dc834df81286b01bde9c7081b1b954e3524e5c4110bddcbda5593a40e595aa0a1eae8f20b98a06b4410fcb93f4c8 SHA512 d4ba3655fae500cf5b7475c83d39c81b6abc759da15cfb4ea9e1dc0f47ffb11c1bbbc2b6f85d613ab1d729978eda93d4d7677c9a45a33853e363c820d8b81c43
EBUILD openarena-0.8.8-r1.ebuild 1730 BLAKE2B e05a88d293e59c299d900aa850936f9c0253f186de506ce4737611c041e06c6845fae2fc08ab54d42a3a83773397e686c94ced7fd763d4241a6de916e73b0503 SHA512 57bb9fb58e1d3b3454bc6cf74640e2390380f50f4066fd31aab267eefad58841842e6b10e3da566c8e668f8b81842b51e93268b556b05b26b0cc8cb4d4c476d8 EBUILD openarena-0.8.8-r1.ebuild 1776 BLAKE2B 35894a1452049bc23ff01975d61c5c3bbb0a5adb57aacfc919fcc614a74d0a13fb70f29d8e971598a94d99ffc0d911cd5c2b0138cd2c9d0e03790c7827083afd SHA512 9f92b17ba044ef6c23dd205179cb0af11488ca96af008141aa2389aae604c15dcd17b55ecceac6ba1b6c9fa0567446c8800ac560fd0001eaf9466633bad96f8f
MISC ChangeLog 2991 BLAKE2B f0a6352d5bbcf49442453de3cf211c6a55cfd6874c974dca1698c1af5310bb0da7e483257e6fb967891cf4381d2da407838796085f2fcb04bdd743cad5541cda SHA512 c84b74ef53d6610c6c6c0017b881a09a69421fb3419ac774dc9f95a779f73679354264b54ac0701002c9279840e778cf65a80c5fb1c455f89e0cf462ed605a80 MISC ChangeLog 2991 BLAKE2B f0a6352d5bbcf49442453de3cf211c6a55cfd6874c974dca1698c1af5310bb0da7e483257e6fb967891cf4381d2da407838796085f2fcb04bdd743cad5541cda SHA512 c84b74ef53d6610c6c6c0017b881a09a69421fb3419ac774dc9f95a779f73679354264b54ac0701002c9279840e778cf65a80c5fb1c455f89e0cf462ed605a80
MISC ChangeLog-2015 4717 BLAKE2B b9d4f62a8a57a7dbc1bfa178c321c5d42aae0a1315fd39336f842e94b198514ae5abadc1f715d6cb80b5bad70848a32d80bf0368b8a144ab4f00da57bb0a5e83 SHA512 e43c71ff2c0b2e7248cc6508992b40748f5486e65f65a7dce7cf20f10eb9cf23082d67e3c32b124f7ee46b37445ba36a5fb0f78dfe7703b0c466cafe8c2e084a MISC ChangeLog-2015 4717 BLAKE2B b9d4f62a8a57a7dbc1bfa178c321c5d42aae0a1315fd39336f842e94b198514ae5abadc1f715d6cb80b5bad70848a32d80bf0368b8a144ab4f00da57bb0a5e83 SHA512 e43c71ff2c0b2e7248cc6508992b40748f5486e65f65a7dce7cf20f10eb9cf23082d67e3c32b124f7ee46b37445ba36a5fb0f78dfe7703b0c466cafe8c2e084a
MISC metadata.xml 329 BLAKE2B e35a14a26bbcd2aa34d851acbc510d5e4ba3fa9ee9dc9ecc1c75995c6b8d3f0aea569f55c402295f1835e71d2d8609c226ccd20f9c4f5819c071c54e7d19e08b SHA512 40e88c8cec824e6c3d815516c018292ec64e5b968ede35a4c3c235331cfb32370ceffa954f01ceedffbf64e182f4e6c753a5fe45ce2ed627b6383dfc6b0d39f7 MISC metadata.xml 329 BLAKE2B e35a14a26bbcd2aa34d851acbc510d5e4ba3fa9ee9dc9ecc1c75995c6b8d3f0aea569f55c402295f1835e71d2d8609c226ccd20f9c4f5819c071c54e7d19e08b SHA512 40e88c8cec824e6c3d815516c018292ec64e5b968ede35a4c3c235331cfb32370ceffa954f01ceedffbf64e182f4e6c753a5fe45ce2ed627b6383dfc6b0d39f7

View file

@ -1,14 +1,17 @@
# Copyright 1999-2015 Gentoo Foundation # Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Id$ # $Id$
EAPI=5 EAPI=8
inherit eutils flag-o-matic versionator
inherit flag-o-matic desktop
DESCRIPTION="Open-source replacement for Quake 3 Arena" DESCRIPTION="Open-source replacement for Quake 3 Arena"
HOMEPAGE="http://openarena.ws/" HOMEPAGE="http://openarena.ws/"
SRC_URI="mirror://sourceforge/oarena/${P}.zip SRC_URI="
mirror://sourceforge/oarena/src/${PN}-engine-source-${PV}.tar.bz2" https://downloads.sourceforge.net/oarena/openarena-0.8.8.zip
https://downloads.sourceforge.net/oarena/files/src/${PN}-engine-source-${PV}.tar.bz2
"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
@ -31,13 +34,16 @@ DEPEND="${RDEPEND}
MY_S=${WORKDIR}/${PN}-engine-source-${PV} MY_S=${WORKDIR}/${PN}-engine-source-${PV}
BUILD_DIR=${PN}-build BUILD_DIR=${PN}-build
DIR=${GAMES_DATADIR}/${PN} DIR="/usr/share/${PN}"
src_prepare() { src_prepare() {
cd "${WORKDIR}" cd "${WORKDIR}"
epatch "${FILESDIR}"/${P}-makefile.patch PATCHES=(
"${FILESDIR}"/${P}-makefile.patch
)
cd "${MY_S}" cd "${MY_S}"
touch jpegint.h touch jpegint.h
default
} }
src_compile() { src_compile() {