games-simulation/crrcsim: Drop old versions.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Michael Weber
2017-01-28 01:03:04 +01:00
parent 5a523ff90c
commit 0461da6f25
4 changed files with 0 additions and 149 deletions

View File

@@ -1,2 +1 @@
DIST crrcsim-0.9.12.tar.gz 7355827 SHA256 2d166aec9ff4394a0252368d4cfcac5ba4ab8a29f58f99cd1649721a8f65a3fb SHA512 53c4a530922d58ca0211a5a3171d927c9c9161139c63e73d8dbc602e0aa1c259ef0f3ba712b30a71dc357889bbf59fa76888315bdcd264e0d29307e66b70b00a WHIRLPOOL 3f177ae208e0f70b0ebdc9aa4e1e200ff73bdf656fecb67c6ffe7a8e303bae4ce8caab4c4e01e52371c42ae389574e9c821dcb5c4afb4dc32b94661add18b7ee
DIST crrcsim-0.9.13.tar.gz 8337392 SHA256 abe59b35ebb4322f3c48e6aca57dbf27074282d4928d66c0caa40d7a97391698 SHA512 b687837e07abc07606404d920288984abe7e304afb69158fd840d83bcfe1e9acc4afd8462c0c759df67d50a15ca3753eaf48c4526b201e64a2d641fa3aa8c1ab WHIRLPOOL 2af5b8aa79f8e1edead4ff982392314d659e6f5fbb31f0a4438ecc986898c6026e05d9dc417c6ff88a7a3bba9d10b122e3bf09b8bb274354fe4e531bd86f7b2f

View File

@@ -1,60 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
WANT_AUTOMAKE="1.10"
inherit autotools eutils gnome2-utils games
DESCRIPTION="model-airplane flight simulation program"
HOMEPAGE="https://sourceforge.net/projects/crrcsim/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="portaudio"
RDEPEND="sci-mathematics/cgal
media-libs/plib
media-libs/libsdl[X,sound,joystick,opengl,video]
portaudio? ( media-libs/portaudio )"
DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-buildsystem.patch
if has_version "sci-mathematics/cgal[gmp(+)]" ; then
epatch "${FILESDIR}"/${PN}-cgal_gmp.patch
fi
eautoreconf
}
src_configure() {
egamesconf \
--datarootdir="${EPREFIX%/}/usr/share" \
--datadir="${GAMES_DATADIR}" \
--docdir="${EPREFIX%/}/usr/share/doc/${PF}" \
$(use_with portaudio)
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS HISTORY NEWS README
doicon -s 32 packages/icons/${PN}.png
make_desktop_entry ${PN}
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,63 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
WANT_AUTOMAKE="1.10"
inherit autotools eutils gnome2-utils
DESCRIPTION="model-airplane flight simulation program"
HOMEPAGE="https://sourceforge.net/projects/crrcsim/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="portaudio"
RDEPEND="
media-libs/libsdl[X,sound,joystick,opengl,video]
media-libs/plib
sci-mathematics/cgal
portaudio? ( media-libs/portaudio )"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-buildsystem.patch
)
src_prepare() {
default
if has_version "sci-mathematics/cgal[gmp(+)]" ; then
eapply "${FILESDIR}"/${PN}-cgal_gmp.patch
fi
eautoreconf
}
src_configure() {
econf \
--datadir="/usr/share" \
--datarootdir="${EPREFIX%/}/usr/share" \
--docdir="${EPREFIX%/}/usr/share/doc/${PF}" \
$(use_with portaudio)
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS HISTORY NEWS README
doicon -s 32 packages/icons/${PN}.png
make_desktop_entry ${PN}
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View File

@@ -1,25 +0,0 @@
--- crrcsim-0.9.11/configure.ac
+++ crrcsim-0.9.11/configure.ac
@@ -79,8 +79,12 @@
dnl Default is: no portaudio present
portaudio=0
+AC_ARG_WITH([portaudio], AS_HELP_STRING([--without-portaudio], [Build without portaudio library (default: test)]))
+
+AS_IF([test "x$with_portaudio" != "xno"], [
dnl Check for the Portaudio header file
AC_CHECK_HEADER([portaudio.h])
+])
if (test "x$ac_cv_header_portaudio_h" = "xyes"); then
dnl Check for Portaudio 18
--- crrcsim-0.9.12/locale/Makefile.am
+++ crrcsim-0.9.12/locale/Makefile.am
@@ -1,7 +1,5 @@
# Makefile.am for "/locale"
-localedir = $(datadir)/locale
-
nobase_locale_DATA = fr/LC_MESSAGES/crrcsim.mo \
de/LC_MESSAGES/crrcsim.mo \
it/LC_MESSAGES/crrcsim.mo