diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-01-25 14:23:58 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-01-25 17:37:33 +0000 |
commit | d5fac5c76fe4663d68379f8cfa8e1cc98027ceab (patch) | |
tree | d94ced76a32841ae42497b40d6f1facf31e74970 /games-engines | |
parent | net-analyzer/suricata: remove old (diff) | |
download | gentoo-d5fac5c76fe4663d68379f8cfa8e1cc98027ceab.tar.gz gentoo-d5fac5c76fe4663d68379f8cfa8e1cc98027ceab.tar.bz2 gentoo-d5fac5c76fe4663d68379f8cfa8e1cc98027ceab.zip |
games-engines/love: remove old
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/love/love-0.7.2-r2.ebuild | 44 | ||||
-rw-r--r-- | games-engines/love/love-0.8.0-r2.ebuild | 42 | ||||
-rw-r--r-- | games-engines/love/love-11.3.ebuild | 73 |
3 files changed, 0 insertions, 159 deletions
diff --git a/games-engines/love/love-0.7.2-r2.ebuild b/games-engines/love/love-0.7.2-r2.ebuild deleted file mode 100644 index 0743c3dd9250..000000000000 --- a/games-engines/love/love-0.7.2-r2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="A framework for 2D games in Lua" -HOMEPAGE="https://love2d.org/" -SRC_URI="https://github.com/love2d/${PN}/releases/download/${PV}/${P}-linux-src.tar.gz" - -LICENSE="ZLIB" -SLOT="0.7" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=" - dev-games/physfs - dev-lang/lua:0[deprecated] - media-libs/devil[mng,png,tiff] - media-libs/freetype:2 - media-libs/libmodplug - media-libs/libsdl[joystick,opengl] - media-libs/libvorbis - media-libs/openal - media-sound/mpg123 - virtual/opengl -" -DEPEND="${RDEPEND} - media-libs/libmng:0 - media-libs/tiff:0 -" - -S="${WORKDIR}/${PN}-HEAD" - -PATCHES=( - "${FILESDIR}"/${PN}-0.7.2-opengl_glext_prototypes.patch - "${FILESDIR}"/${PN}-0.8.0-freetype2.patch -) - -src_install() { - DOCS="readme.txt changes.txt" \ - default - - mv "${ED}/usr/bin/${PN}" "${ED}/usr/bin/${PN}-${SLOT}" || die -} diff --git a/games-engines/love/love-0.8.0-r2.ebuild b/games-engines/love/love-0.8.0-r2.ebuild deleted file mode 100644 index 9297277d9f52..000000000000 --- a/games-engines/love/love-0.8.0-r2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="A framework for 2D games in Lua" -HOMEPAGE="https://love2d.org/" -SRC_URI="https://github.com/love2d/${PN}/releases/download/${PV}/${P}-linux-src.tar.gz" -KEYWORDS="~amd64 ~arm ~x86" - -LICENSE="ZLIB" -SLOT="0.8" -IUSE="" - -RDEPEND=" - dev-games/physfs - dev-lang/lua:0[deprecated] - media-libs/devil[mng,png,tiff] - media-libs/freetype:2 - media-libs/libmodplug - media-libs/libsdl[joystick,opengl,video] - media-libs/libvorbis - media-libs/openal - media-sound/mpg123 - virtual/opengl -" -DEPEND="${RDEPEND} - media-libs/libmng:0 - media-libs/tiff:0 -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.8.0-freetype2.patch - "${FILESDIR}"/${PN}-0.8.0-opengl_glext_prototypes.patch -) - -src_install() { - DOCS="readme.md changes.txt" \ - default - - mv "${ED}/usr/bin/${PN}" "${ED}/usr/bin/${PN}-${SLOT}" || die -} diff --git a/games-engines/love/love-11.3.ebuild b/games-engines/love/love-11.3.ebuild deleted file mode 100644 index df62bac35ad5..000000000000 --- a/games-engines/love/love-11.3.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit xdg-utils - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/love2d/${PN}.git" -else - SRC_URI="https://github.com/love2d/${PN}/releases/download/${PV}/${P}-linux-src.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" -fi - -DESCRIPTION="A framework for 2D games in Lua" -HOMEPAGE="https://love2d.org/" - -LICENSE="ZLIB" -SLOT="0" -IUSE="+luajit" - -RDEPEND="sys-libs/zlib - !luajit? ( dev-lang/lua:0 ) - luajit? ( dev-lang/luajit:2 ) - media-libs/freetype - media-libs/libmodplug - media-libs/libsdl2[joystick,opengl] - media-libs/libogg - media-libs/libtheora - media-libs/libvorbis - media-libs/openal - media-sound/mpg123 - virtual/opengl" -DEPEND="${RDEPEND}" - -DOCS=( "readme.md" "changes.txt" ) - -src_prepare() { - default - if [[ ${PV} == 9999* ]]; then - ./platform/unix/automagic || die - fi -} - -src_configure() { - econf --with-lua=$(usex luajit luajit lua) -} - -src_install() { - default - - find "${D}" -name '*.la' -delete || die - - if [[ ${SLOT} != 0 ]]; then - mv "${ED}/usr/bin/${PN}" "${ED}/usr/bin/${PN}-${SLOT}" || die - mv "${ED}"/usr/share/applications/love{,"-$SLOT"}.desktop || die - sed -i -e "/^Name=/s/$/ ($SLOT)/" -e "s|/usr/bin/love|/usr/bin/love-$SLOT|" "${ED}/usr/share/applications/love-$SLOT.desktop" || die - rm -r "${ED}"/usr/{lib64/liblove.so,share/{mime/,pixmaps/,icons/,man/}} || die - fi -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} |