diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-18 00:10:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-18 00:10:02 +0100 |
commit | ccaccfe4f1da8c11d9fa110f6e4eb847358769d7 (patch) | |
tree | ff02c95ae3d9a1e73e2a182e268161743d81a88b /games-puzzle/wizznic | |
parent | 74e526c590f52d24a213e25f77858ae0b34ec2c8 (diff) |
gentoo auto-resync : 18:06:2024 - 00:10:02
Diffstat (limited to 'games-puzzle/wizznic')
-rw-r--r-- | games-puzzle/wizznic/Manifest | 4 | ||||
-rw-r--r-- | games-puzzle/wizznic/wizznic-369-r1.ebuild | 49 | ||||
-rw-r--r-- | games-puzzle/wizznic/wizznic-400.ebuild | 48 |
3 files changed, 50 insertions, 51 deletions
diff --git a/games-puzzle/wizznic/Manifest b/games-puzzle/wizznic/Manifest index bdcc4c472bc5..0c589cef158b 100644 --- a/games-puzzle/wizznic/Manifest +++ b/games-puzzle/wizznic/Manifest @@ -1,3 +1,3 @@ -DIST Wizznic_src_build_369.tar.bz2 38118227 BLAKE2B 2d48a53ab715a25b7f1b2c4e8c01935084cd44a99e1a6ded6c421f507f55961e8ebe5df6ea2b912c1be8ee8a82285376673114f3af0c1df9ec0ae1042e2f6145 SHA512 61c6ced873403bbd14e8c376321ae0c92a7333bb59409615de1e1305da3e4b3cb023af36e002d732877fd1371a322796df3e4050e5afe699e03f01039d7f7ead -EBUILD wizznic-369-r1.ebuild 1038 BLAKE2B 86d7af3d7eeca6327276da05e4eaee8510601c4561c849274993496df7cfa3400798696c5338145ecfa90b86c7ec44a332b39dbf0a4a29a035dc0ae88068614e SHA512 79aed3706239ff120e5031666d8875912e78a7dc145ed1a553e5b8f67ade2bc15fa8c6bc4eb1630d69aa89608fae964c8ffc9676ba587d595a3237ae41857b7a +DIST Wizznic_src_build_400.tar.bz2 38064791 BLAKE2B b80f1c3b49618b05a274ed8c29306d7e2ecaac599c5bcef881f10fcb5844e542b0125380fd359e25def195cca29b24aa4550fb48999b797171bcc65038a7ef43 SHA512 bdbfabebf9aedcb81b5e01e9580c27e644a652351de1384839e5013598202e7c74c7a72e571a99193184a0689e89a1170dc18ca70e1e4107a83a5572992ca73a +EBUILD wizznic-400.ebuild 1081 BLAKE2B f773b6862b92632fa76034292d3ad9d8df9ead6d2746e3d78eef9b6b174432f9a5df1fb47700c3df856895129578ea7404192cd95d99a7f3731eb081a3534177 SHA512 ac6f6302d56e24bfc5d3d0a4769215230f0dc23d7d2e7b84281412cd102a453b04b0633bcb5914e686397826a0b369a98fd6c251a331dbe01fbfee57e75a67cf MISC metadata.xml 331 BLAKE2B 3209331853c901fb5adef2d3cc667b7bed0e22c4f8963e8e9961038e5566cb9126a06d60c4ae54c4396a284ab333e8d6f5156b75089fd7540aee5409c80f2274 SHA512 ef00f84e659ee51d028292846b5f66d68a72ad96d380517ef1f895269e15fbd2e962f30bed53bfd4b30482055d4785225d79a621b9d31c06ad8683a4f6f50bc2 diff --git a/games-puzzle/wizznic/wizznic-369-r1.ebuild b/games-puzzle/wizznic/wizznic-369-r1.ebuild deleted file mode 100644 index e1446c75a01f..000000000000 --- a/games-puzzle/wizznic/wizznic-369-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit desktop - -DESCRIPTION="Block-clearing puzzle game" -HOMEPAGE="http://wizznic.org/" -SRC_URI="https://downloads.sourceforge.net/wizznic/Wizznic_src_build_${PV}.tar.bz2" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="media-libs/libsdl[sound,joystick,opengl,video] - media-libs/sdl-image[png] - media-libs/sdl-mixer[vorbis] - virtual/opengl" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/Wizznic_src_build_${PV}" - -src_prepare() { - default - sed \ - -e '/^\(CC\|LD\|STRIP\)/d' \ - -e 's/(LD)/(CC)/g' \ - -e '/CFLAGS.*=/d' \ - Makefile.linux > Makefile || die -} - -src_compile() { - emake \ - DATADIR="/usr/share/${PN}/" \ - BINDIR="/usr/bin" \ - STRIP=true -} - -src_install() { - emake \ - DESTDIR="${D}" \ - DATADIR="/usr/share/${PN}/" \ - BINDIR="/usr/bin" \ - install - dodoc doc/{changelog.txt,credits.txt,media-licenses.txt,ports.txt,readme.txt} - newicon data/wmicon.png ${PN}.png - make_desktop_entry wizznic "Wizznic!" -} diff --git a/games-puzzle/wizznic/wizznic-400.ebuild b/games-puzzle/wizznic/wizznic-400.ebuild new file mode 100644 index 000000000000..9e5e1d49a3c8 --- /dev/null +++ b/games-puzzle/wizznic/wizznic-400.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop toolchain-funcs xdg + +DESCRIPTION="Block-clearing puzzle game" +HOMEPAGE="http://wizznic.org/" +SRC_URI="https://downloads.sourceforge.net/wizznic/Wizznic_src_build_${PV}.tar.bz2" +S="${WORKDIR}/Wizznic_src_build_${PV}" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="opengl" + +DEPEND=" + media-libs/libsdl[sound,joystick,opengl?,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + opengl? ( media-libs/libglvnd[X] ) +" + +RDEPEND=" + ${DEPEND} +" + +src_compile() { + emake -f Makefile.linux \ + DATADIR="${EPREFIX}/usr/share/${PN}/" \ + WITH_OPENGL=$(usex opengl true false) \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} -Wall -std=c99" \ + LDFLAGS="${LDFLAGS}" \ + STRIP=true +} + +src_install() { + emake -f Makefile.linux \ + DESTDIR="${ED}" \ + DATADIR="/usr/share/${PN}/" \ + BINDIR="/usr/bin" \ + install + + dodoc doc/{changelog,credits,media-licenses,ports,readme}.txt + newicon -s 32 data/wmicon.png ${PN}.png + make_desktop_entry ${PN} ${PN^} +} |