Сравнение crossfire-server-1.71.0-r2 с crossfire-server-1.75.0-r2
| /usr/portage/games-server/crossfire-server/crossfire-server-1.75.0-r2.ebuild 2026-10-23 20:01:05.295161524 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit libtool |
|
| 7 | ||
| 6 | 8 |
MY_P="${P/-server/}"
|
| 7 | 9 |
DESCRIPTION="Server for the crossfire clients" |
| 8 |
HOMEPAGE="http://crossfire.real-time.com/" |
|
| 9 |
SRC_URI="https://downloads.sourceforge.net/crossfire/${PN}/${PV}/${MY_P}.tar.bz2
|
|
| 10 |
https://downloads.sourceforge.net/crossfire/${PN}/${PV}/${MY_P}.maps.tar.bz2
|
|
| 11 |
https://downloads.sourceforge.net/crossfire/${PN}/${PV}/${MY_P}.arch.tar.bz2"
|
|
| 12 | ||
| 10 |
HOMEPAGE="https://crossfire.real-time.com/" |
|
| 11 |
SRC_URI="https://downloads.sourceforge.net/crossfire/crossfire-server/${PV}/crossfire-${PV}.tar.gz
|
|
| 12 |
https://downloads.sourceforge.net/crossfire/crossfire-maps/${PV}/crossfire-maps-${PV}.tar.gz"
|
|
| 13 |
DEPEND="${RDEPEND}"
|
|
| 14 |
S="${WORKDIR}/${MY_P}"
|
|
| 13 | 15 |
LICENSE="GPL-2" |
| 14 | 16 |
SLOT="0" |
| 15 | 17 |
KEYWORDS="~amd64 ~x86" |
| ... | ... | |
| 25 | 27 |
media-libs/libpng:0= |
| 26 | 28 |
) |
| 27 | 29 |
" |
| 28 |
DEPEND="${RDEPEND}"
|
|
| 30 | ||
| 31 |
PATCHES=( "${FILESDIR}/${P}-incompatible-func-pointers.patch" )
|
|
| 29 | 32 | |
| 30 | 33 |
src_prepare() {
|
| 31 | 34 |
default |
| 32 | 35 | |
| 36 |
elibtoolize |
|
| 37 | ||
| 38 |
# Automagically detects python2/python3. In the latter case, without |
|
| 39 |
# python_setup it goes nowhere anyway. For modern python it needs python3-embed. |
|
| 40 |
sed -i 's/python-2.7/notpython-do-not-find/' configure || die |
|
| 41 | ||
| 33 | 42 |
# bug #236205 |
| 34 | 43 |
rm -f "${WORKDIR}"/maps/Info/combine.pl || die
|
| 35 |
ln -s "${WORKDIR}"/arch "${S}"/lib || die
|
|
| 44 |
# ln -s "${WORKDIR}"/arch "${S}"/lib || die
|
|
| 36 | 45 | |
| 37 | 46 |
eapply "${FILESDIR}"/${P}-format.patch
|
| 38 | 47 |
} |
| 39 | 48 | |
| 40 |
src_configure() {
|
|
| 41 |
econf --disable-static |
|
| 42 |
} |
|
| 43 | ||
| 44 | 49 |
src_compile() {
|
| 45 | 50 |
# work around the collect.pl locking |
| 46 | 51 |
emake -j1 -C lib |