Package-Manager: portage-2.2.24
This commit is contained in:
Michael Sterrett
2015-12-28 23:00:22 -05:00
parent 365bf45d2b
commit 261db4ce67
4 changed files with 0 additions and 176 deletions

View File

@@ -1,2 +1 @@
DIST crossfire-client-1.70.0.tar.gz 801043 SHA256 afa3981785689baa22813ebc3893250c2f73374dda64bfc1dc41e64f4adc60b2 SHA512 ce5b07cd6de03bd2dd28bbb85798ff26ad6764ee5490ba3920b160f6aa109bf5ae409d98855081b4498c3e8fee2e04f2f64a03553366d5f283bca516880e3bd7 WHIRLPOOL b407206deefc5aad6dadabfd37895938587209d3af395cd2a630062fa4102056dd66c01d3e2924d4ae633851b85807735b1d6225eba35194c1c4654181df206e
DIST crossfire-client-1.71.0.tar.bz2 761156 SHA256 5427655e756ffb48e75c1d9dc3200afab81efa7f2f00ffdf5dfee51918d5819d SHA512 86710d684fd7908ea9aaf5ba20bff0f1ba01ff0ba90c3e2847afff9d0db6f60c7b671413c8888b513c992fbf27474e744b79df185d5e2c04afc9d2dce3d8665e WHIRLPOOL 7a51aac98d4df3f057e201f900faa2fc5f46c180cc57e11db063307fce4510823cc8ef4da62c72bff9dc9a66756de71b93b2dd2e7e759b02c376c7d973d10f9e

View File

@@ -1,80 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit toolchain-funcs gnome2-utils games
DESCRIPTION="Client for the nethack-style but more in the line of UO"
HOMEPAGE="http://crossfire.real-time.com/"
SRC_URI="mirror://sourceforge/crossfire/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="alsa lua oss sdl"
RDEPEND="alsa? ( media-libs/alsa-lib )
virtual/opengl
x11-libs/gtk+:2
gnome-base/libglade
sdl? ( media-libs/libsdl[video]
media-libs/sdl-image )
lua? ( dev-lang/lua )
net-misc/curl
media-libs/freeglut
media-libs/libpng:0
sys-libs/zlib"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
sed -ri -e '/^.TH/s:$: 6:' $(find . -name "*man") || die
}
src_configure() {
# bugs in configure script so we cant use $(use_enable ...)
local myconf
use sdl || myconf="${myconf} --disable-sdl"
use alsa || myconf="${myconf} --disable-alsa9 --disable-alsa"
if ! use alsa && ! use oss ; then
myconf="${myconf} --disable-sound"
fi
egamesconf ${myconf}
}
src_compile() {
# bug 139785
if use alsa || use oss ; then
emake -j1 -C sound-src AR="$(tc-getAR)"
fi
emake AR="$(tc-getAR)"
}
src_install() {
local s
emake DESTDIR="${D}" install
dodoc AUTHORS ChangeLog README TODO
domenu gtk-v2/crossfire-client.desktop
for s in 16 32 48
do
newicon -s ${s} pixmaps/${s}x${s}.png ${PN}.png
done
prepgamesdirs
}
pkg_preinst() {
games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
games_pkg_postinst
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View File

@@ -1,79 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit toolchain-funcs gnome2-utils games
DESCRIPTION="Client for the nethack-style but more in the line of UO"
HOMEPAGE="http://crossfire.real-time.com/"
SRC_URI="mirror://sourceforge/crossfire/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="alsa lua opengl oss sdl"
RDEPEND="alsa? ( media-libs/alsa-lib )
opengl? ( virtual/opengl
media-libs/freeglut )
x11-libs/gtk+:2
gnome-base/libglade
sdl? ( media-libs/libsdl[video]
media-libs/sdl-image[png] )
lua? ( dev-lang/lua )
net-misc/curl
media-libs/libpng:0
sys-libs/zlib"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
sed -ri -e '/^.TH/s:$: 6:' $(find . -name "*man") || die
}
src_configure() {
# bugs in configure script so we cant use $(use_enable ...)
local myconf
use sdl || myconf="${myconf} --disable-sdl"
use alsa || myconf="${myconf} --disable-alsa9 --disable-alsa"
if ! use alsa && ! use oss ; then
myconf="${myconf} --disable-sound"
fi
egamesconf ${myconf}
}
src_compile() {
# bug 139785
if use alsa || use oss ; then
emake -C sound-src AR="$(tc-getAR)"
fi
emake AR="$(tc-getAR)"
}
src_install() {
local s
default
domenu gtk-v2/crossfire-client.desktop
for s in 16 32 48
do
newicon -s ${s} pixmaps/${s}x${s}.png ${PN}.png
done
prepgamesdirs
}
pkg_preinst() {
games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
games_pkg_postinst
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View File

@@ -1,16 +0,0 @@
From: Julian Ospald <hasufell@gentoo.org>
Date: Mon Jan 28 08:14:23 UTC 2013
Subject: fix underlinking
--- crossfire-client-1.70.0/configure.ac
+++ crossfire-client-1.70.0/configure.ac
@@ -242,6 +242,9 @@
AC_PROG_CPP
AC_PROG_RANLIB
+# Check for X11
+PKG_CHECK_MODULES([X], [x11])
+
AC_SUBST(X_LIBS)
AC_SUBST(X_CFLAGS)