From 71dd9d29cdaf7cc0ecdb9ea37d128726a941c630 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 23 Nov 2024 03:02:57 +0000 Subject: gentoo auto-resync : 23:11:2024 - 03:02:56 --- games-arcade/kobodeluxe/Manifest | 2 +- games-arcade/kobodeluxe/kobodeluxe-0.5.1-r4.ebuild | 70 -------------------- games-arcade/kobodeluxe/kobodeluxe-0.5.1-r5.ebuild | 75 ++++++++++++++++++++++ 3 files changed, 76 insertions(+), 71 deletions(-) delete mode 100644 games-arcade/kobodeluxe/kobodeluxe-0.5.1-r4.ebuild create mode 100644 games-arcade/kobodeluxe/kobodeluxe-0.5.1-r5.ebuild (limited to 'games-arcade/kobodeluxe') diff --git a/games-arcade/kobodeluxe/Manifest b/games-arcade/kobodeluxe/Manifest index 41c3382b0b28..1ab6d0ed5f50 100644 --- a/games-arcade/kobodeluxe/Manifest +++ b/games-arcade/kobodeluxe/Manifest @@ -3,5 +3,5 @@ AUX kobodeluxe-0.5.1-glibc2.10.patch 219 BLAKE2B 78c45966711049c7715ae0efd18289b AUX kobodeluxe-0.5.1-glibc29.patch 2408 BLAKE2B c3abfe3594b2c43428d4e49a34285680a1ae2ac40106aac255aa2da846a67ecbcfcf8f5d8af48ca0adbf627d188f6a8941d6b4f75df3bdad39fff4d869b324e1 SHA512 de2014b9a0607ddb5853c63eb4c14daf4f14d2158697348d952305db09b4a8f84a3a918cd730085f01120b7cbcfae076afd73c559c1ddd46f5a9777c89e76897 AUX kobodeluxe-0.5.1-midi-crash-fix.patch 482 BLAKE2B d58a2fb2e6fbf54d81b9493121b483dd03b88ebebb972665206f546f299fe767bd50e135780f593f3d3dd4db9c375f440db7fac83ed5fd1c5851f94e8e28ed09 SHA512 13802a7cbb0e6588e054ccc44581b25bd21e4d7461749e218416e80e5c010ad817bf47a73ca27a6b0ff6cf7a7b2909e0467d3460e64cf0c32fce448012538340 DIST KoboDeluxe-0.5.1.tar.bz2 1781752 BLAKE2B d7f08ab9603b861f8992629bac9a65051a3c5fee6822f1951d57cbc5c31055a6cefeed098637dda84c0a1538645f47816848d767a4fa7916726b5784dfbc0414 SHA512 fc107e4367fd300574823aa40c68311d95de3a403d7c930963b8754aac14293f0624996fd77c4de0677921d11883047b68dd95df81eeb03078c37426ebd58afd -EBUILD kobodeluxe-0.5.1-r4.ebuild 1566 BLAKE2B a64da710f168c6328d7e385616af9fddc72c27a317b438fd9fd4345abc1860828bc8ff83e267ae2b9c481b6c66d9b7baeb893522b531293d99fad26839ef9125 SHA512 035335eb4f55f5659fb87dac394657fab0442105254a8776e7cea24232d1e0848150dcf65d56f15f18994ab6cc1ddb5fb2768631077b4236f326bcecefe87e0f +EBUILD kobodeluxe-0.5.1-r5.ebuild 1638 BLAKE2B 07d8ccb3eeb4248eaaac20a13d3a78c2e83372a223ab6789137c627582b88fbb0bee2d4634954ffcf509203b3728543d744909d431d92b6b695fff020dd7bde2 SHA512 cda7beea33cf529babe2b51a1b2c97c03ab70fd0c393fe570affd40ec4da8661afbba9f0f386947e6c96d27ffda0eeeafc4a75a487f5ae19b03880bb0e1043a1 MISC metadata.xml 250 BLAKE2B 8d44bd4c6e7d6491273e2015e36ddac74af7b94a124fd240ff030e16430f5c85e53ab812f0e3e94bb2e6d138f39b512bbe01ff98b0081cacc21a02d648ec7643 SHA512 80ac07a3cac10ad2e72e9989a130b7d2073934fe92914a9db2af4d0e769d4bf537770f8faba0654bbd64a7e85ee38cf1f9d03b4b9cd322864b1b2bb35087d610 diff --git a/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r4.ebuild b/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r4.ebuild deleted file mode 100644 index b010d805782e..000000000000 --- a/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r4.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit desktop xdg - -MY_P="KoboDeluxe-${PV/_/}" -DESCRIPTION="An SDL port of xkobo, a addictive space shoot-em-up" -HOMEPAGE="http://www.olofson.net/kobodl/" -SRC_URI="http://www.olofson.net/kobodl/download/${MY_P}.tar.bz2" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="opengl" - -DEPEND="media-libs/libsdl[joystick] - media-libs/sdl-image[png] - opengl? ( virtual/opengl ) -" -RDEPEND="${DEPEND} - acct-group/gamestat -" - -PATCHES=( - "${FILESDIR}"/${P}-glibc29.patch - "${FILESDIR}"/${P}-glibc2.10.patch - "${FILESDIR}"/${P}-clang.patch - "${FILESDIR}"/${P}-midi-crash-fix.patch -) - -src_unpack() { - unpack ${A} - cd "${S}" || die - unpack ./icons.tar.gz -} - -src_prepare() { - default - - # Fix paths - sed -i \ - -e 's:\$(datadir)/kobo-deluxe:$(datadir)/kobodeluxe:' \ - -e "s:\$(sharedstatedir)/kobo-deluxe/scores:${EPREFIX}/var/games/kobodeluxe:" \ - configure || die "sed configure failed" - - sed -i \ - -e 's:kobo-deluxe:kobodeluxe:' \ - data/gfx/Makefile.in \ - data/sfx/Makefile.in || die "sed data/Makefile.in failed" -} - -src_configure() { - econf $(use_enable opengl) -} - -src_install() { - default - - for size in 16 22 32 48 64 128; do - newicon -s "${size}" icons/KDE/icons/${size}x${size}/kobodl.png KoboDeluxe.png - done - make_desktop_entry kobodl "Kobo Deluxe" KoboDeluxe - - keepdir /var/games/kobodeluxe - fowners -R :gamestat /var/games/kobodeluxe/ /usr/bin/kobodl - fperms g+s /usr/bin/kobodl - fperms -R g+w /var/games/kobodeluxe -} diff --git a/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r5.ebuild b/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r5.ebuild new file mode 100644 index 000000000000..0ec2a391fc60 --- /dev/null +++ b/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r5.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg toolchain-funcs + +MY_P="KoboDeluxe-${PV/_/}" +DESCRIPTION="An SDL port of xkobo, a addictive space shoot-em-up" +HOMEPAGE="http://www.olofson.net/kobodl/" +SRC_URI="http://www.olofson.net/kobodl/download/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="opengl" + +DEPEND="media-libs/libsdl[joystick] + media-libs/sdl-image[png] + opengl? ( virtual/opengl ) +" +RDEPEND="${DEPEND} + acct-group/gamestat +" + +PATCHES=( + "${FILESDIR}"/${P}-glibc29.patch + "${FILESDIR}"/${P}-glibc2.10.patch + "${FILESDIR}"/${P}-clang.patch + "${FILESDIR}"/${P}-midi-crash-fix.patch +) + +src_unpack() { + unpack ${A} + cd "${S}" || die + unpack ./icons.tar.gz +} + +src_prepare() { + default + + # Fix paths + sed -i \ + -e 's:\$(datadir)/kobo-deluxe:$(datadir)/kobodeluxe:' \ + -e "s:\$(sharedstatedir)/kobo-deluxe/scores:${EPREFIX}/var/games/kobodeluxe:" \ + configure || die "sed configure failed" + + sed -i \ + -e 's:kobo-deluxe:kobodeluxe:' \ + data/gfx/Makefile.in \ + data/sfx/Makefile.in || die "sed data/Makefile.in failed" +} + +src_configure() { + econf $(use_enable opengl) +} + +src_compile() { + emake AR="$(tc-getAR)" #bug 761694 +} + +src_install() { + default + + for size in 16 22 32 48 64 128; do + newicon -s "${size}" icons/KDE/icons/${size}x${size}/kobodl.png KoboDeluxe.png + done + make_desktop_entry kobodl "Kobo Deluxe" KoboDeluxe + + keepdir /var/games/kobodeluxe + fowners -R :gamestat /var/games/kobodeluxe/ /usr/bin/kobodl + fperms g+s /usr/bin/kobodl + fperms -R g+w /var/games/kobodeluxe +} -- cgit v1.2.3