diff options
author | David Seifert <soap@gentoo.org> | 2022-07-03 00:19:09 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-07-03 00:19:09 +0200 |
commit | 6e89d63bd2a508c5a5dfac70c5a7b36641450828 (patch) | |
tree | c91ed6465dda20eb8201af2850a69601a4fe6db2 /games-arcade/frozen-bubble | |
parent | media-gfx/llgal: update EAPI 6 -> 8 (diff) | |
download | gentoo-6e89d63bd2a508c5a5dfac70c5a7b36641450828.tar.gz gentoo-6e89d63bd2a508c5a5dfac70c5a7b36641450828.tar.bz2 gentoo-6e89d63bd2a508c5a5dfac70c5a7b36641450828.zip |
games-arcade/frozen-bubble: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-arcade/frozen-bubble')
-rw-r--r-- | games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r2.ebuild (renamed from games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r1.ebuild) | 47 |
1 files changed, 16 insertions, 31 deletions
diff --git a/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r1.ebuild b/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r2.ebuild index dfa261124fcc..3a75e5deb783 100644 --- a/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r1.ebuild +++ b/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r2.ebuild @@ -1,22 +1,23 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -MY_P="${P/_/-}" +EAPI=8 + +inherit desktop perl-module toolchain-funcs xdg -inherit desktop gnome2-utils perl-module toolchain-funcs +MY_P="${P/_/-}" DESCRIPTION="A Puzzle Bubble clone written in perl (now with network support)" HOMEPAGE="http://www.frozen-bubble.org/" SRC_URI="http://www.frozen-bubble.org/data/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RDEPEND=" - >=dev-lang/perl-5.12 + dev-lang/perl dev-libs/glib:2 >=dev-perl/Alien-SDL-1.413 dev-perl/Compress-Bzip2 @@ -31,23 +32,19 @@ RDEPEND=" media-libs/sdl-ttf virtual/libiconv virtual/perl-Getopt-Long - virtual/perl-IO -" -DEPEND="${RDEPEND} - virtual/pkgconfig + virtual/perl-IO" +DEPEND="${RDEPEND}" +BDEPEND=" dev-perl/Locale-Maketext-Lexicon + dev-perl/Module-Build virtual/perl-ExtUtils-CBuilder virtual/perl-ExtUtils-ParseXS - dev-perl/Module-Build -" + virtual/pkgconfig" -S="${WORKDIR}/${MY_P}" - -src_prepare() { - perl-module_src_prepare - eapply "${FILESDIR}"/${P}-Werror.patch - eapply "${FILESDIR}"/${P}-fix-buffer-size.patch -} +PATCHES=( + "${FILESDIR}"/${P}-Werror.patch + "${FILESDIR}"/${P}-fix-buffer-size.patch +) src_configure() { LD="$(tc-getCC)" perl-module_src_configure @@ -64,20 +61,8 @@ src_install() { local res for res in 16 32 48 64; do - newicon -s ${res} share/icons/frozen-bubble-icon-${res}x${res}.png ${PN}.png + newicon -s ${res} share/icons/frozen-bubble-icon-${res}x${res}.png ${PN}.png done make_desktop_entry ${PN} Frozen-Bubble } - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} |