games-action/lugaru: Remove old

Package-Manager: Portage-2.3.16, Repoman-2.3.6
This commit is contained in:
David Seifert
2017-12-20 22:30:09 +01:00
parent 442e156dd7
commit 08f1fa5eda
2 changed files with 0 additions and 120 deletions

View File

@@ -1,57 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils cmake-utils games
DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters"
HOMEPAGE="https://bitbucket.org/osslugaru/lugaru/wiki/Home"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2+ free-noncomm CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
virtual/glu
virtual/opengl
media-libs/libsdl[opengl,video]
media-libs/openal
media-libs/libvorbis
virtual/jpeg:0
media-libs/libpng:0
sys-libs/zlib"
DEPEND="${RDEPEND}
virtual/pkgconfig"
PATCHES=( "${FILESDIR}/${P}-dir.patch" )
src_prepare() {
cmake-utils_src_prepare
sed -i \
-e "s:@GENTOO_DIR@:${GAMES_DATADIR}/${PN}:" \
Source/OpenGL_Windows.cpp || die
}
src_configure() {
mycmakeargs=(
"-DCMAKE_VERBOSE_MAKEFILE=TRUE"
"-DLUGARU_FORCE_INTERNAL_OPENGL=False"
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
dogamesbin "${WORKDIR}/${P}_build/lugaru"
insinto "${GAMES_DATADIR}/${PN}"
doins -r Data/
newicon Source/win-res/Lugaru.png ${PN}.png
make_desktop_entry ${PN} Lugaru ${PN}
prepgamesdirs
}

View File

@@ -1,63 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils cmake-utils mercurial
EHG_REPO_URI="https://bitbucket.org/osslugaru/lugaru/"
DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters"
HOMEPAGE="https://bitbucket.org/osslugaru/lugaru/wiki/Home"
SRC_URI=""
LICENSE="GPL-2+ free-noncomm CC-BY-SA-3.0"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="
media-libs/libsdl[opengl,video]
media-libs/libpng:0
media-libs/libvorbis
media-libs/openal
sys-libs/zlib
virtual/glu
virtual/jpeg:0
virtual/opengl"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_unpack() {
mercurial_src_unpack
}
PATCHES=(
"${FILESDIR}/${P}-dir.patch"
)
src_prepare() {
cmake-utils_src_prepare
sed -i \
-e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
Source/OpenGL_Windows.cpp || die
}
src_configure() {
mycmakeargs=(
"-DCMAKE_VERBOSE_MAKEFILE=TRUE"
"-DLUGARU_FORCE_INTERNAL_OPENGL=False"
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
dobin "${WORKDIR}/${P}_build/lugaru"
insinto /usr/share/${PN}
doins -r Data/
newicon Source/win-res/Lugaru.png ${PN}.png
make_desktop_entry ${PN} Lugaru ${PN}
}