Compare commits

..

2 Commits

Author SHA1 Message Date
Maciej Barć
31efc49414
games-puzzle/vvvvvv: new pkg; add 2.2 and 9999
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
2020-11-04 22:28:59 +01:00
Maciej Barć
70cf34edd8
licenses: add VVVVVV-1.0 2020-11-04 22:18:50 +01:00
5 changed files with 1223 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST vvvvvv-2.2.tar.gz 826987 BLAKE2B d478b3c395fbe6acc9551ec7cb3b7f88f5dded314c763270a6497270adc6631d6f5fcb5819dc72a3aa0e043fa570bb29b6def2e60cf7050ea66b18aaf6091951 SHA512 e5358b31067d939447826a7bdd491e025de52a5f5cf425ee753afdb769f5a69a0a5360f2d8beab909d4774aa347d23978f4323b31d2c4940f2412609eed49068
DIST vvvvvv-data.zip 61404595 BLAKE2B 35eb3a2463942af55122c07c1feadefd70b5e7ee5115027791affa3f4fde8ef2db2a49e471ecae269034788c63b9bdc239b85f0b1bef82b83b91332cdde4edbb SHA512 3cb08ede10ea8ed41056fef1837ef85b981f2cb8fc7627da4393984b9e8045b0a8343120520c32e24ff7e97399eabaa790d1d7b35c3e5dd30e052837b2c021da
DIST vvvvvv.jpg 26886 BLAKE2B 4cba887d95cdbfa51237d0851ce375b083c2b1e673eca47da56517b93e6dfeea39c2cea78f0bf724649cdfcbaccc56d4f7cbadb19a587de241631924a4d84807 SHA512 a647ef0c42e43b29b54a6f82e2f36014617be51301b3c26939b76848b58c97d73d53fc04666f7ebe9c5d2cea9857ad51254f9de9112ac1665c61efc3a5e338a6

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="gitlab">TerryCavanagh/VVVVVV</remote-id>
</upstream>
<longdescription>
VVVVVV is a puzzle platform game created by Terry Cavanagh.
The player controls Captain Viridian, who must rescue their spacecrew after a teleporter malfunction caused them to be separated.
</longdescription>
</pkgmetadata>

View File

@ -0,0 +1,81 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN^^}"
inherit cmake desktop wrapper xdg
DESCRIPTION="Retro-styled 2D puzzle platformer (source-available release)"
HOMEPAGE="https://thelettervsixtim.es/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/TerryCavanagh/${MY_PN}.git"
else
SRC_URI="https://github.com/TerryCavanagh/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}"/"${MY_PN}-${PV}"
fi
SRC_URI="
${SRC_URI}
https://thelettervsixtim.es/images/${PN}%20logo%20official.jpg -> ${PN}.jpg
https://thelettervsixtim.es/makeandplay/data.zip -> ${PN}-data.zip
"
RESTRICT="mirror bindist"
LICENSE="VVVVVV-1.0"
SLOT="0"
DEPEND="
media-libs/libsdl2
media-libs/sdl2-mixer
"
RDEPEND="
${DEPEND}
"
CMAKE_USE_DIR="${S}/desktop_version"
src_unpack() {
if [[ "${PV}" == *9999* ]]; then
git-r3_fetch && git-r3_checkout
else
unpack "${P}.tar.gz"
fi
}
src_prepare() {
default
cmake_src_prepare
xdg_src_prepare
}
src_install() {
dodoc README.md
exeinto /opt/"${MY_PN}"
pushd "${BUILD_DIR}"
if [ -x "${PN}.x86_64" ]
then
newexe "${PN}.x86_64" "${MY_PN}"
elif [ -x "${MY_PN}" ]
then
doexe "${MY_PN}"
else
die
fi
popd
insinto /opt/"${MY_PN}"
newins "${DISTDIR}"/"${PN}-data.zip" data.zip
doicon "${DISTDIR}"/"${PN}.jpg"
make_wrapper "${PN}" "./${MY_PN}" "/opt/${MY_PN}"
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "Game;"
}

View File

@ -0,0 +1,81 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN^^}"
inherit cmake desktop wrapper xdg
DESCRIPTION="Retro-styled 2D puzzle platformer (source-available release)"
HOMEPAGE="https://thelettervsixtim.es/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/TerryCavanagh/${MY_PN}.git"
else
SRC_URI="https://github.com/TerryCavanagh/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}"/"${MY_PN}-${PV}"
fi
SRC_URI="
${SRC_URI}
https://thelettervsixtim.es/images/${PN}%20logo%20official.jpg -> ${PN}.jpg
https://thelettervsixtim.es/makeandplay/data.zip -> ${PN}-data.zip
"
RESTRICT="mirror bindist"
LICENSE="VVVVVV-1.0"
SLOT="0"
DEPEND="
media-libs/libsdl2
media-libs/sdl2-mixer
"
RDEPEND="
${DEPEND}
"
CMAKE_USE_DIR="${S}/desktop_version"
src_unpack() {
if [[ "${PV}" == *9999* ]]; then
git-r3_fetch && git-r3_checkout
else
unpack "${P}.tar.gz"
fi
}
src_prepare() {
default
cmake_src_prepare
xdg_src_prepare
}
src_install() {
dodoc README.md
exeinto /opt/"${MY_PN}"
pushd "${BUILD_DIR}"
if [ -x "${PN}.x86_64" ]
then
newexe "${PN}.x86_64" "${MY_PN}"
elif [ -x "${MY_PN}" ]
then
doexe "${MY_PN}"
else
die
fi
popd
insinto /opt/"${MY_PN}"
newins "${DISTDIR}"/"${PN}-data.zip" data.zip
doicon "${DISTDIR}"/"${PN}.jpg"
make_wrapper "${PN}" "./${MY_PN}" "/opt/${MY_PN}"
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "Game;"
}

1043
licenses/VVVVVV-1.0 Normal file

File diff suppressed because it is too large Load Diff