diff options
Diffstat (limited to 'games-arcade/lbreakout2')
-rw-r--r-- | games-arcade/lbreakout2/Manifest | 13 | ||||
-rw-r--r-- | games-arcade/lbreakout2/files/lbreakout2-2.6.4-gentoo.patch | 67 | ||||
-rw-r--r-- | games-arcade/lbreakout2/files/lbreakout2-2.6.5-gentoo.patch | 67 | ||||
-rw-r--r-- | games-arcade/lbreakout2/lbreakout2-2.6.4.ebuild | 92 | ||||
-rw-r--r-- | games-arcade/lbreakout2/lbreakout2-2.6.5.ebuild | 92 | ||||
-rw-r--r-- | games-arcade/lbreakout2/metadata.xml | 14 |
6 files changed, 345 insertions, 0 deletions
diff --git a/games-arcade/lbreakout2/Manifest b/games-arcade/lbreakout2/Manifest new file mode 100644 index 000000000000..541623520491 --- /dev/null +++ b/games-arcade/lbreakout2/Manifest @@ -0,0 +1,13 @@ +AUX lbreakout2-2.6.4-gentoo.patch 2112 SHA256 fbf74a259ef5184a55e3ba4973eb41c5fc329332f6a5f7727e78484d34418876 SHA512 e3f4ce13d67b9c84ef813aa09957ac2615724986821846544839b92f616b66bdf2da1d3239c4a48c8eaf071d0e98fcaf9f2c2cab6a314ea91f5671ef75367b58 WHIRLPOOL 9a7ffceaad7d451d3872845aac2d2655889f3adfdfbed649d3055fd2bc93b1d02c08fe69aeb07e39eb6fc04c886e5146e7f204229b21e46aed9f1051bfaa3732 +AUX lbreakout2-2.6.5-gentoo.patch 2112 SHA256 fbf74a259ef5184a55e3ba4973eb41c5fc329332f6a5f7727e78484d34418876 SHA512 e3f4ce13d67b9c84ef813aa09957ac2615724986821846544839b92f616b66bdf2da1d3239c4a48c8eaf071d0e98fcaf9f2c2cab6a314ea91f5671ef75367b58 WHIRLPOOL 9a7ffceaad7d451d3872845aac2d2655889f3adfdfbed649d3055fd2bc93b1d02c08fe69aeb07e39eb6fc04c886e5146e7f204229b21e46aed9f1051bfaa3732 +DIST lbreakout2-2.6.4.tar.gz 3470380 SHA256 0b90716d52e67c27ff41ab7aa5c09dad4f5f19a78076cc57dd4b4d7ed2c1dbd9 SHA512 fe1787900c4379bdb8330ac8ff31138cbdb180449e5addb1c511a9778ab69f0b09a85e91659bb83663868a399d2644e6e084365702c23eac93da579e80fd68bc WHIRLPOOL 6e39c2ad44e0eb970228fcc34726ba7845498a7f07500136974fd554540bdd84fd19b88edfbadbdf3e8986dc8fa2b9673d41feab9cb34bb3e6acbaaf61c1f52c +DIST lbreakout2-2.6.5.tar.gz 3491519 SHA256 9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f SHA512 45c54bc9401131c96eba5fdcc08ca1324904fb50d3967acf7f29034045cbcd4c1d0b65f38eb33d8aace4cfe35f2a2e7a6c2319e4a6d6a1b41274dbe293a1747b WHIRLPOOL 6e5f6f2ea51480cdaa1df7439c1efd09d38c2b88b114382effaa4c01e77b6460ad77510217fc5b66ceac32b7ee9c3c53ab6337fbab08caf66712dfdd6f270bd4 +DIST lbreakout2-levelsets-20120815.tar.gz 336355 SHA256 9245fb2b0c52364b88619f11b79f68878f1522ada8fcddb0d2da74ec2027cb34 SHA512 f9427c1716c6e9ab5d97c45849bb8d224da4c6f55c252b33d1bc3be8ff96470bc203c5a4dea5036138f6f2b07efe27f1f60763bf5460febebd0a4e0db8028bcc WHIRLPOOL 08a68780fb232309219fe1867af813b7299f270c81cc86a86887a6fcfa3194d137a34ff8ce6c083a43047a2467f08a86357e1fcaff2c8fc93981ddd90e057560 +DIST lbreakout2-levelsets-20141220.tar.gz 372221 SHA256 504d6581eba57cbe1272edf6ebf3f00d19ed2729ad0fd1e2ec49b7b504f14852 SHA512 482c1e95a37735f7bca510fa34d0f046e89b5aa9528b9af9dfff5bcb3fe656140285a95670caae2565cc9ebd30c3dc87a1fe77a6b75061ce9349ee7e36aa13d5 WHIRLPOOL d9a1523235a6672f5ce02f70cdb7bd0a353f34af500baba3739abf536c4d9cbec56596b254b34e64321d76a58d0eb34a775aa221f928219d3594d077a1c4722c +DIST lbreakout2-themes-20111026.tar.gz 27462927 SHA256 2da570b139b4eaaadb5e598328c90983a3da22fc41e45b8563fa732ab122028a SHA512 a38856665eb3e9c0eaa0ff29817f7283237841368daa977b632df51842812e662da4343b5aa00265ed0765d4e4de1b4f11b7bf6c2650a9b9b1a8e0b440b8cf63 WHIRLPOOL 9c01ad4efac109c273a31ed5501cdc105affa6cc37e89831999e47120899018100ce902390efee8e6e6f414dbb996e1ceb08db5ac4eef478a361802a37cfd414 +DIST lbreakout2-themes-20141220.tar.gz 34006503 SHA256 ab070460589b4dc414790f27baaa77ea4e5057fa966afd9094c7475653e9a002 SHA512 6088ff4bd9dfbbeb91c74e4adb500593af88ea6796bdec577afb43fc4ea9819c4f2dae76b6b7a8ad1ce2ec32ef575e41a6fa924463107a5dcd211f50bb94a906 WHIRLPOOL 5ac3e83fb2751574828097456997ce013d182fa3c78d31b5096f62395ebbef6fd621f1cabc8222b58f9751c0f056bb6f04efc074acaba5aeaa8c95c2efdb8c7f +EBUILD lbreakout2-2.6.4.ebuild 2024 SHA256 4de01ac92586504937ade760660e54e7fd7ca9427fadb9c8fba8835ab49f1066 SHA512 d88182758215d4b5b927e2c73c1f254d7fb7991c8c5b4191f8c44175d0a3fbaa23b75e02e7b63f13b02b05bba5f330d9c8d840f8079a55cac729522abe9eac4d WHIRLPOOL 4ede10119c0af9fedbaf57399a3fdeb806e9857af014a2fe23bd29830f63d5ee31d139532122013ca9bf94a427ebf9a115ae635670c30c704d8640ffb030ffcb +EBUILD lbreakout2-2.6.5.ebuild 2062 SHA256 5dea9cafe78c0ba6ce2a0aa82e6514ac6148c8dd6aab2988cfc8a052285699e9 SHA512 21c1c548e061e40a352298a35f0607fc31955f5cd565910e075a1a22711889ba18a65d2703b581adea6a631ee74b632364407bc4e5d6b86af036b59fc36de05c WHIRLPOOL 1e0ac2cc5f5f85eed2e86577f9e9cf429f00eccd75a6d63e3ab1087cc85c0d45a19d33ae489d8dba1c5e1df69659894a9615b6637347f91ebca064541dd73527 +MISC ChangeLog 3385 SHA256 0229620dda7176a5b9c18e0a7f35b13bc6513a3943cbe0a6920d1eb246627e55 SHA512 4941ef87f777017b43c09abdc7a6acaf91004fef958ebcd69b56f9f7a94eec2e03af1cd3261305ce47bfcb94cec640e50fb4b4faad0a33bd51bbb0c9c6167e58 WHIRLPOOL 26324c4d4b0678fda9191414b0cb2d07627009dcb2fe38fb5b39ed33a2956b834ac4b9bccb28a0cad9f3df232a76ada8bac2a5a28b03104ab425aef2d5132469 +MISC ChangeLog-2015 7575 SHA256 118711a75f81335f8dd4471af67d18770c0f02463bd3e50d7f49aefc0aa46544 SHA512 ace418da43fc0f95f4028a9c28b75dcc6f6bcab5648ca0500a9242bb51ba16ac5827fac631f2418fd5291fb7949e69be0e073a517490af677fdd7fb9b99d9e24 WHIRLPOOL ab76332430b6cc5ad80be723401df5b4826180733f5430c3a3ca07c033887079efe7d37583ade845ccd43208321a788305f9ed9bb6bf6321e0ff5b1900beb931 +MISC metadata.xml 413 SHA256 e48ec03324a55d51f5cbc2bb9a410df33a1ae3726cfc9a32d40edce9e67e733e SHA512 152c0d0d5ac6e3babb26c8eba16c31ed687e0a39ee7b6a86442a1a1efcb4f2d63ccd7f6062857df78047dca8466f548548d40c8baf8359cbaf1758ac03eb1661 WHIRLPOOL f342c41a075f666348fcce963a8242383be246f7ed70c69dd73f241ac1550fdc0df9bffb6f5d81c618fe4d5a747e69ec0e6626df364339827d990a389dfde9da diff --git a/games-arcade/lbreakout2/files/lbreakout2-2.6.4-gentoo.patch b/games-arcade/lbreakout2/files/lbreakout2-2.6.4-gentoo.patch new file mode 100644 index 000000000000..365274c581b9 --- /dev/null +++ b/games-arcade/lbreakout2/files/lbreakout2-2.6.4-gentoo.patch @@ -0,0 +1,67 @@ +--- lbreakout2-2.6.1.orig/Makefile.am ++++ lbreakout2-2.6.1/Makefile.am +@@ -1,13 +1,8 @@ + SUBDIRS = intl m4 po common gui game server client docs + + EXTRA_DIST = config.rpath AUTHORS COPYING ChangeLog INSTALL README \ +-README-SDL.txt TODO lbreakout2.spec touchall lbreakout32.gif \ +-lbreakout48.gif lbreakout2.desktop.in win32_mancomp win32_preparchive +- +-desktopdir = $(datadir)/applications +-desktop_DATA = lbreakout2.desktop +-icondir = $(datadir)/icons +-icon_DATA = lbreakout48.gif ++README-SDL.txt TODO lbreakout2.spec touchall \ ++win32_mancomp win32_preparchive + + WIN32_TEXT = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt \ + TODO lbreakout2.spec ABOUT-NLS +--- lbreakout2-2.6.1.orig/common/gettext.h ++++ lbreakout2-2.6.1/common/gettext.h +@@ -24,6 +24,7 @@ + + /* Get declarations of GNU message catalog functions. */ + # include <libintl.h> ++# include <locale.h> + + #else + +--- lbreakout2-2.6.1.orig/configure.in ++++ lbreakout2-2.6.1/configure.in +@@ -80,8 +80,6 @@ + [ --enable-netdebug Enable net packet debugging.], netdebug_flag="-DNET_DEBUG_MSG" ) + AC_SUBST(netdebug_flag) + +-dnl set localedir +-localedir=$datadir/locale + locdir_flag="-DLOCALEDIR=\\\"$localedir\\\"" + + dnl installation&highscore path +--- lbreakout2-2.6.1.orig/docs/Makefile.am ++++ lbreakout2-2.6.1/docs/Makefile.am +@@ -7,11 +7,11 @@ + warp.jpg screen.jpg + + install-data-local: +- $(mkinstalldirs) $(DESTDIR)$(doc_dir)/lbreakout2 ++ $(mkinstalldirs) $(DESTDIR)$(doc_dir) + @for file in *.jpg; do\ +- $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/lbreakout2/$$file;\ ++ $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/$$file;\ + done +- $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/lbreakout2/index.html ++ $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/index.html + + win32-install-script: + @for file in $(EXTRA_DIST); do \ +--- lbreakout2-2.6.1.orig/po/Makefile.in.in ++++ lbreakout2-2.6.1/po/Makefile.in.in +@@ -24,7 +24,7 @@ + exec_prefix = @exec_prefix@ + datadir = @datadir@ + datarootdir = @datarootdir@ +-localedir = $(datadir)/locale ++localedir = @localedir@ + gettextsrcdir = $(datadir)/gettext/po + + INSTALL = @INSTALL@ diff --git a/games-arcade/lbreakout2/files/lbreakout2-2.6.5-gentoo.patch b/games-arcade/lbreakout2/files/lbreakout2-2.6.5-gentoo.patch new file mode 100644 index 000000000000..365274c581b9 --- /dev/null +++ b/games-arcade/lbreakout2/files/lbreakout2-2.6.5-gentoo.patch @@ -0,0 +1,67 @@ +--- lbreakout2-2.6.1.orig/Makefile.am ++++ lbreakout2-2.6.1/Makefile.am +@@ -1,13 +1,8 @@ + SUBDIRS = intl m4 po common gui game server client docs + + EXTRA_DIST = config.rpath AUTHORS COPYING ChangeLog INSTALL README \ +-README-SDL.txt TODO lbreakout2.spec touchall lbreakout32.gif \ +-lbreakout48.gif lbreakout2.desktop.in win32_mancomp win32_preparchive +- +-desktopdir = $(datadir)/applications +-desktop_DATA = lbreakout2.desktop +-icondir = $(datadir)/icons +-icon_DATA = lbreakout48.gif ++README-SDL.txt TODO lbreakout2.spec touchall \ ++win32_mancomp win32_preparchive + + WIN32_TEXT = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt \ + TODO lbreakout2.spec ABOUT-NLS +--- lbreakout2-2.6.1.orig/common/gettext.h ++++ lbreakout2-2.6.1/common/gettext.h +@@ -24,6 +24,7 @@ + + /* Get declarations of GNU message catalog functions. */ + # include <libintl.h> ++# include <locale.h> + + #else + +--- lbreakout2-2.6.1.orig/configure.in ++++ lbreakout2-2.6.1/configure.in +@@ -80,8 +80,6 @@ + [ --enable-netdebug Enable net packet debugging.], netdebug_flag="-DNET_DEBUG_MSG" ) + AC_SUBST(netdebug_flag) + +-dnl set localedir +-localedir=$datadir/locale + locdir_flag="-DLOCALEDIR=\\\"$localedir\\\"" + + dnl installation&highscore path +--- lbreakout2-2.6.1.orig/docs/Makefile.am ++++ lbreakout2-2.6.1/docs/Makefile.am +@@ -7,11 +7,11 @@ + warp.jpg screen.jpg + + install-data-local: +- $(mkinstalldirs) $(DESTDIR)$(doc_dir)/lbreakout2 ++ $(mkinstalldirs) $(DESTDIR)$(doc_dir) + @for file in *.jpg; do\ +- $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/lbreakout2/$$file;\ ++ $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/$$file;\ + done +- $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/lbreakout2/index.html ++ $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/index.html + + win32-install-script: + @for file in $(EXTRA_DIST); do \ +--- lbreakout2-2.6.1.orig/po/Makefile.in.in ++++ lbreakout2-2.6.1/po/Makefile.in.in +@@ -24,7 +24,7 @@ + exec_prefix = @exec_prefix@ + datadir = @datadir@ + datarootdir = @datarootdir@ +-localedir = $(datadir)/locale ++localedir = @localedir@ + gettextsrcdir = $(datadir)/gettext/po + + INSTALL = @INSTALL@ diff --git a/games-arcade/lbreakout2/lbreakout2-2.6.4.ebuild b/games-arcade/lbreakout2/lbreakout2-2.6.4.ebuild new file mode 100644 index 000000000000..8d9ccf79a233 --- /dev/null +++ b/games-arcade/lbreakout2/lbreakout2-2.6.4.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils flag-o-matic gnome2-utils games + +levels_V=20120815 +themes_V=20111026 + +DESCRIPTION="Breakout clone written with the SDL library" +HOMEPAGE="http://lgames.sourceforge.net/LBreakout2/" +SRC_URI=" mirror://sourceforge/lgames/${P}.tar.gz + mirror://sourceforge/lgames/${PN}-levelsets-${levels_V}.tar.gz + themes? ( mirror://sourceforge/lgames/${PN}-themes-${themes_V}.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-fbsd" +IUSE="nls themes" + +RDEPEND="media-libs/libpng:0 + sys-libs/zlib + media-libs/libsdl[sound,joystick,video] + media-libs/sdl-net + media-libs/sdl-mixer + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${P}.tar.gz + + cd "${S}/client/levels" + unpack ${PN}-levelsets-${levels_V}.tar.gz + + if use themes ; then + mkdir "${WORKDIR}/themes" + cd "${WORKDIR}/themes" + unpack ${PN}-themes-${themes_V}.tar.gz + + # Delete a few duplicate themes (already shipped with lbreakout2 + # tarball). Some of them have different case than built-in themes, so it + # is harder to just compare if the filename is the same. + rm -f absoluteB.zip oz.zip moiree.zip + for f in *.zip; do + unzip -q "$f" && rm -f "$f" || die + done + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + eautoreconf +} + +src_configure() { + filter-flags -O? + egamesconf \ + --enable-sdl-net \ + --localedir=/usr/share/locale \ + --with-docdir="/usr/share/doc/${PF}/html" \ + $(use_enable nls) +} + +src_install() { + default + + if use themes ; then + insinto "${GAMES_DATADIR}/lbreakout2/gfx" + doins -r "${WORKDIR}/themes/"* + fi + + newicon client/gfx/win_icon.png ${PN}.png + newicon -s 32 client/gfx/win_icon.png ${PN}.png + make_desktop_entry lbreakout2 LBreakout2 + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-arcade/lbreakout2/lbreakout2-2.6.5.ebuild b/games-arcade/lbreakout2/lbreakout2-2.6.5.ebuild new file mode 100644 index 000000000000..5b6c7ae115e9 --- /dev/null +++ b/games-arcade/lbreakout2/lbreakout2-2.6.5.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils flag-o-matic gnome2-utils games + +levels_V=20141220 +themes_V=20141220 + +DESCRIPTION="Breakout clone written with the SDL library" +HOMEPAGE="http://lgames.sourceforge.net/LBreakout2/" +SRC_URI=" mirror://sourceforge/lgames/${P}.tar.gz + mirror://sourceforge/lgames/add-ons/lbreakout2/${PN}-levelsets-${levels_V}.tar.gz + themes? ( mirror://sourceforge/lgames/add-ons/lbreakout2/${PN}-themes-${levels_V}.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-fbsd" +IUSE="nls themes" + +RDEPEND="media-libs/libpng:0 + sys-libs/zlib + media-libs/libsdl[sound,joystick,video] + media-libs/sdl-net + media-libs/sdl-mixer + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${P}.tar.gz + + cd "${S}/client/levels" + unpack ${PN}-levelsets-${levels_V}.tar.gz + + if use themes ; then + mkdir "${WORKDIR}/themes" + cd "${WORKDIR}/themes" + unpack ${PN}-themes-${themes_V}.tar.gz + + # Delete a few duplicate themes (already shipped with lbreakout2 + # tarball). Some of them have different case than built-in themes, so it + # is harder to just compare if the filename is the same. + rm -f absoluteB.zip oz.zip moiree.zip + for f in *.zip; do + unzip -q "$f" && rm -f "$f" || die + done + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + eautoreconf +} + +src_configure() { + filter-flags -O? + egamesconf \ + --enable-sdl-net \ + --localedir=/usr/share/locale \ + --with-docdir="/usr/share/doc/${PF}/html" \ + $(use_enable nls) +} + +src_install() { + default + + if use themes ; then + insinto "${GAMES_DATADIR}/lbreakout2/gfx" + doins -r "${WORKDIR}/themes/"* + fi + + newicon client/gfx/win_icon.png ${PN}.png + newicon -s 32 client/gfx/win_icon.png ${PN}.png + make_desktop_entry lbreakout2 LBreakout2 + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-arcade/lbreakout2/metadata.xml b/games-arcade/lbreakout2/metadata.xml new file mode 100644 index 000000000000..4e3b6dfb6f34 --- /dev/null +++ b/games-arcade/lbreakout2/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <use> + <flag name="themes">Install additional themes</flag> + </use> + <upstream> + <remote-id type="sourceforge">lgames</remote-id> + </upstream> +</pkgmetadata> |