games-action/abuse: Drop old 0.8 ebuilds

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2019-02-17 09:52:02 +00:00
parent 520ab86b4e
commit a4f6bc355e
4 changed files with 0 additions and 119 deletions

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools desktop
DESCRIPTION="Port of Abuse by Crack Dot Com"
HOMEPAGE="http://abuse.zoy.org/"
SRC_URI="http://abuse.zoy.org/raw-attachment/wiki/download/${P}.tar.gz"
LICENSE="GPL-2 WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=media-libs/libsdl-1.1.6[sound,opengl,video]
media-libs/sdl-mixer
virtual/opengl"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
)
src_prepare() {
default
eautoreconf
}
src_install() {
# Source-based install
default
doicon doc/${PN}.png
make_desktop_entry abuse Abuse
}
pkg_postinst() {
elog "NOTE: If you had previous version of abuse installed"
elog "you may need to remove ~/.abuse for the game to work correctly."
}

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools desktop
DESCRIPTION="Port of Abuse by Crack Dot Com"
HOMEPAGE="http://abuse.zoy.org/"
SRC_URI="http://abuse.zoy.org/raw-attachment/wiki/download/${P}.tar.gz"
LICENSE="GPL-2 WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=media-libs/libsdl-1.1.6[sound,opengl,video]
media-libs/sdl-mixer
virtual/opengl"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-gentoo-r1.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
# Prevent segfault at start: https://bugs.archlinux.org/task/52915
econf --enable-debug
}
src_install() {
# Source-based install
default
doicon doc/${PN}.png
make_desktop_entry abuse Abuse
}

View File

@@ -1,12 +0,0 @@
diff -ru abuse-0.8.orig/Makefile.am abuse-0.8/Makefile.am
--- abuse-0.8.orig/Makefile.am 2011-05-09 03:58:04.000000000 -0400
+++ abuse-0.8/Makefile.am 2011-05-16 22:22:51.642655295 -0400
@@ -2,8 +2,6 @@
SUBDIRS = src data doc
-EXTRA_DIST = COPYING.GPL COPYING.WTFPL PACKAGERS bootstrap
-
dist-hook:
@echo ""
@echo " ===================================================="

View File

@@ -1,24 +0,0 @@
diff -ru abuse-0.8.orig/Makefile.am abuse-0.8/Makefile.am
--- abuse-0.8.orig/Makefile.am 2011-05-09 03:58:04.000000000 -0400
+++ abuse-0.8/Makefile.am 2011-05-16 22:22:51.642655295 -0400
@@ -2,8 +2,6 @@
SUBDIRS = src data doc
-EXTRA_DIST = COPYING.GPL COPYING.WTFPL PACKAGERS bootstrap
-
dist-hook:
@echo ""
@echo " ===================================================="
diff -ru abuse-0.8.orig/configure.ac abuse-0.8/configure.ac
--- abuse-0.8.orig/configure.ac 2011-05-09 03:58:04.000000000 -0400
+++ abuse-0.8/configure.ac 2011-05-16 22:22:35.771824632 -0400
@@ -90,8 +90,6 @@
fi
AM_CONDITIONAL(HAVE_NONFREE, test "${ac_cv_have_nonfree}" = "yes")
-# Optimizations
-CXXFLAGS="${CXXFLAGS} ${OPT} ${REL}"
# Code qui fait des warnings == code de porc == deux baffes dans ta gueule
CXXFLAGS="${CXXFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wsign-compare"