From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1CDE11382C5 for ; Wed, 2 May 2018 19:28:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 417D0E0AD0; Wed, 2 May 2018 19:28:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09424E0AD0 for ; Wed, 2 May 2018 19:28:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA35F335C87 for ; Wed, 2 May 2018 19:28:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED82B3B for ; Wed, 2 May 2018 19:28:31 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1525289294.33a77b0db02976317882fdde255474b81e0d4bb1.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/s25rttr/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/s25rttr/s25rttr-0.8.1-r2.ebuild X-VCS-Directories: games-strategy/s25rttr/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 33a77b0db02976317882fdde255474b81e0d4bb1 X-VCS-Branch: master Date: Wed, 2 May 2018 19:28:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9b9efd1d-d3d4-46da-8e52-c957dfe42d84 X-Archives-Hash: e3c00cf1123e1eb0e69f6408d1ca9b32 commit: 33a77b0db02976317882fdde255474b81e0d4bb1 Author: Pacho Ramos gentoo org> AuthorDate: Wed May 2 19:03:11 2018 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Wed May 2 19:28:14 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33a77b0d games-strategy/s25rttr: Drop old Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-strategy/s25rttr/s25rttr-0.8.1-r2.ebuild | 114 ------------------------- 1 file changed, 114 deletions(-) diff --git a/games-strategy/s25rttr/s25rttr-0.8.1-r2.ebuild b/games-strategy/s25rttr/s25rttr-0.8.1-r2.ebuild deleted file mode 100644 index 52de4ccf0b7..00000000000 --- a/games-strategy/s25rttr/s25rttr-0.8.1-r2.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils cmake-utils gnome2-utils games - -DESCRIPTION="Open Source remake of The Settlers II game (needs original game files)" -HOMEPAGE="http://www.siedler25.org/" -# no upstream source tarball yet -# https://bugs.launchpad.net/s25rttr/+bug/1069546 -SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -RDEPEND="app-arch/bzip2 - media-libs/libsamplerate - media-libs/libsdl[X,sound,opengl,video] - media-libs/libsndfile - media-libs/sdl-mixer[vorbis] - net-libs/miniupnpc - virtual/libiconv - virtual/opengl" -DEPEND="${RDEPEND} - sys-devel/gettext" - -PATCHES=( - "${FILESDIR}"/${P}-cmake.patch - "${FILESDIR}"/${P}-soundconverter.patch - "${FILESDIR}"/${P}-fpic.patch - "${FILESDIR}"/${P}-format.patch - "${FILESDIR}"/${P}-miniupnpc-api-14.patch - "${FILESDIR}"/${P}-cmake-3.patch - "${FILESDIR}"/${P}-gcc6.patch -) - -src_prepare() { - cmake-utils_src_prepare -} - -src_configure() { - local arch - case ${ARCH} in - amd64) - arch="x86_64" ;; - x86) - arch="i386" ;; - *) die "Architecture ${ARCH} not yet supported" ;; - esac - - local mycmakeargs=( - -DCOMPILEFOR="linux" - -DCOMPILEARCH="${arch}" - -DCMAKE_SKIP_RPATH=YES - -DPREFIX="${GAMES_PREFIX}" - -DBINDIR="${GAMES_BINDIR}" - -DDATADIR="${GAMES_DATADIR}" - -DLIBDIR="$(games_get_libdir)/${PN}" - -DDRIVERDIR="$(games_get_libdir)/${PN}" - -DGAMEDIR="~/.${PN}/S2" - -DBUILD_GLFW_DRIVER=OFF - ) - - cmake-utils_src_configure -} - -src_compile() { - # work around some relative paths (CMAKE_IN_SOURCE_BUILD not supported) - ln -s "${CMAKE_USE_DIR}"/RTTR "${CMAKE_BUILD_DIR}"/RTTR || die - - cmake-utils_src_compile - - mv "${CMAKE_USE_DIR}"/RTTR/{sound-convert,s-c_resample} "${T}"/ || die -} - -src_install() { - cd "${CMAKE_BUILD_DIR}" || die - - exeinto "$(games_get_libdir)"/${PN} - doexe "${T}"/{sound-convert,s-c_resample} - exeinto "$(games_get_libdir)"/${PN}/video - doexe driver/video/SDL/src/libvideoSDL.so - exeinto "$(games_get_libdir)"/${PN}/audio - doexe driver/audio/SDL/src/libaudioSDL.so - - insinto "${GAMES_DATADIR}" - doins -r "${CMAKE_USE_DIR}"/RTTR - dosym ./LSTS/splash.bmp "${GAMES_DATADIR}"/RTTR/splash.bmp - - doicon -s 64 "${CMAKE_USE_DIR}"/debian/${PN}.png - dogamesbin src/s25client - make_desktop_entry "s25client" "Settlers RTTR" "${PN}" - dodoc RTTR/texte/{keyboardlayout.txt,readme.txt} - - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - elog "Copy your Settlers2 game files into ~/.${PN}/S2" - - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -}