summaryrefslogtreecommitdiff
path: root/games-arcade
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-10-22 11:09:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-10-22 11:09:47 +0100
commit64e107b9b6058580ff0432107eb37cefb0b2a7d8 (patch)
tree9a44e603e2ae365e2b1fe35ac37f73e830cdee1d /games-arcade
parent957235cf19a691360c720f7913672adda4258ed0 (diff)
gentoo resync : 22.10.2018
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/Manifest.gzbin21374 -> 21375 bytes
-rw-r--r--games-arcade/performous/Manifest3
-rw-r--r--games-arcade/performous/files/performous-1.1-nomancompress.patch59
-rw-r--r--games-arcade/performous/performous-1.1-r1.ebuild58
4 files changed, 85 insertions, 35 deletions
diff --git a/games-arcade/Manifest.gz b/games-arcade/Manifest.gz
index 4f0b1273bcff..15bfd90dbf66 100644
--- a/games-arcade/Manifest.gz
+++ b/games-arcade/Manifest.gz
Binary files differ
diff --git a/games-arcade/performous/Manifest b/games-arcade/performous/Manifest
index 2cfae6c8b535..339897e42729 100644
--- a/games-arcade/performous/Manifest
+++ b/games-arcade/performous/Manifest
@@ -1,9 +1,10 @@
AUX performous-1.1-gentoo.patch 474 BLAKE2B ff4bdbc43a1129bb4b2d44ac5e818f3f6dccd35ca743345f0934b3cfce66c25c914daf93a4463fa0a30622410737a5983602d1d19fa172bd41e01f3a321ac77a SHA512 b00f13c16dd87645ae3baea80a7430bc0ce46d827ef72ecad21ddac8318f4356bffffd24bd03710a529ca215f20b924f27bc69dd2b3e4870ae19388c8b857338
AUX performous-1.1-linguas.patch 1033 BLAKE2B b7fd8f8560d9e9dd1fb6120f8d0e72c11529f226fecaf482dc3ae351d28977b196816e8c84db0c9ab1c724b78bc4a757d6b1f854dffbc9ebb3aaea1a05eaaf80 SHA512 d3ca1b7fb271618ea1866328aedb7a49a92ea08b4e3d1d4f3755e0868dc380b97462158cda19c8d1e2e2dd4afb59a6db533a12510699c2082f4e4ff31b069597
+AUX performous-1.1-nomancompress.patch 2368 BLAKE2B e75377ade59604f8dbf2bbe38493d511db8c3b2cae870883881c3108538accc42d42a91334a668b8ab0dd4aa21bf85b024799d4e2edb849cd13f3e21dc4cb460 SHA512 a116b25974426931b3099b502fc8713acac0a5a39f3c0ad12ce76e71d95062970bb05dbd1b01611cb16c3a912e857d668e96b709b4d61f95f38d364fc30d1ad9
DIST performous-1.1.tar.gz 3965473 BLAKE2B 021660aa785d0535396a75e8c4cc5cc368ba5745b67fae527e7901ef6601d95887206aae7f74b52bf6b3da3e827bfbd3094e8a393917b9936af266b54766b0b2 SHA512 6659aa03960e68d7af65b072e179e42b122d2a39d25229c6daf765146379a115a52e51c1dc2bc69081ea17fe7a22f1d7007b7cf9e09bc32d134c3ad8e3444dd1
DIST ultrastar-songs-jc-1.zip 242698201 BLAKE2B 39c37160c1ce305252c7b94910aae4ed930d6762716b985f35d64b502bcb8c0310ff830384a652bb1b8a72dea5dd08eebbfd89ae047861bd88e2fc983a863d84 SHA512 2f1b8416990c39617269cd6bb7271abdd4ebae65a9bac3dbb3f37cca26876bb7c79460a37597943a10a2d8bfcb5d2d9e2bf24084fe517a418e69f5c6111f6aea
DIST ultrastar-songs-libre-3.zip 5289866 BLAKE2B 2c3fc640ad808b12987e9b50510df644ab8dd1ae41a4b9e5056950c7aa1823678a4b568a60a260b93a4bdf06f199fac1b99bd22e4e39301bf34f337c08d68b69 SHA512 820e3637a7b778c92ed1a8b925802134fa2146879b3e03e88cd412de5414635c90fe256dfaf984cfa3e8b07b7da8531dc3061b7c4e1bb4422127b469b2345e66
DIST ultrastar-songs-restricted-3.zip 10242651 BLAKE2B de923f72bdd3081f2870457fd734ae2f8c11a84a74344af165aa5c6cf7b812c98fd53b3ab18ac9ac51f488fbf3fe274289205724c9f8547a31245536bea3c6b1 SHA512 70b987fec3705d6610625c1f30a7ff683a51bb6b7ee3174609c80dc31c1bccdb23dcb2c6ae8154e1b1d9ef115b914e27e73925878a3c5460b997fdde813456b8
DIST ultrastar-songs-shearer-1.zip 50411551 BLAKE2B b91896197b6750dce6998ad309a9aca42aaf11b48c92bd1c30a67befcaf4ac64b6c5207f492e0f8588b986033d297a37bc8c9e505baea809591aa3255034fed4 SHA512 add9df22b78967fd6f19699e8569f976423e931a32ea7a62cfec2f94470b9120f05832560215a000ecec8dd65508b057fac8ac90efd3a768ed74ddced186a73b
-EBUILD performous-1.1-r1.ebuild 2474 BLAKE2B eaecbe32cbf0d321090972037a54065d559063b57abe80e5570cbfd74deeffb603d0b25f539fc3b43b207913cae9bcb3a7fa4d1dd0cca61457264981740bbf03 SHA512 cc07a9970af2e12bb8eb4bb0f1279c5213c5937398f5108c89d89a4260ad75e1a608892ea45b418a3fdf20ef7ea1f56335615e3c6f677fa9aa7b4bdba34f82ad
+EBUILD performous-1.1-r1.ebuild 2362 BLAKE2B 0dcf60de7c873015402ea0b9cfd223bead8c8cf442b5825245cce5b1fefcdcad8165a3348b9711a9eee548c99616af7459725b82bc1663d9c4914aa30c2c36ef SHA512 01a3312700f84c7267738c5321044678951fda6c58f00c6cd78910c3a7dbca32a1e4c54a64d29c799d5663123cd111365a5a7dccf193f6f1a9aa25767e938543
MISC metadata.xml 856 BLAKE2B d467d86270f2f571d310ceac4934aea595a62fa9e234e8897ef0b22871df612cdb335e7e3298a0991db6c98b78ea68b04882de8696150d5acb65944d9ff80c3d SHA512 24da96b0da902a2d54d92e2f74d8c57fdd1e84f35b96d416cb15898485f0387c70f3430e21ba7eebd5bc289f76f02695d246746abe7eb041f9f7e2e0e8e1e4e0
diff --git a/games-arcade/performous/files/performous-1.1-nomancompress.patch b/games-arcade/performous/files/performous-1.1-nomancompress.patch
new file mode 100644
index 000000000000..fd21f9b70343
--- /dev/null
+++ b/games-arcade/performous/files/performous-1.1-nomancompress.patch
@@ -0,0 +1,59 @@
+--- a/docs/man/CMakeLists.txt 2018-10-14 19:57:14.924572577 +0200
++++ b/docs/man/CMakeLists.txt 2018-10-14 20:11:13.250717230 +0200
+@@ -1,14 +1,12 @@
+ find_program(HELP2MAN help2man DOC "Location of the help2man program")
+-find_program(GZIP gzip DOC "Location of the gzip program")
+ mark_as_advanced(HELP2MAN)
+-mark_as_advanced(GZIP)
+-if(HELP2MAN AND GZIP)
+- set(MANFILE ${CMAKE_CURRENT_BINARY_DIR}/performous.6.gz)
++if(HELP2MAN)
++ set(MANFILE ${CMAKE_CURRENT_BINARY_DIR}/performous.6)
+ set(H2MFILE ${CMAKE_CURRENT_SOURCE_DIR}/performous.h2m)
+ set(PERFORMOUS_EXEC ${CMAKE_BINARY_DIR}/performous)
+ add_custom_command(
+ OUTPUT ${MANFILE}
+- COMMAND ${HELP2MAN} ${PERFORMOUS_EXEC} -s 6 -i ${H2MFILE} -N | ${GZIP} > ${MANFILE}
++ COMMAND ${HELP2MAN} ${PERFORMOUS_EXEC} -s 6 -i ${H2MFILE} -N > ${MANFILE}
+ MAIN_DEPENDENCY ${H2MFILE}
+ DEPENDS ${PERFORMOUS_EXEC}
+ COMMENT "Building Performous man page"
+@@ -17,13 +15,13 @@
+ add_custom_target(manpage ALL DEPENDS ${MANFILE})
+ iF (APPLE)
+ install(FILES ${MANFILE} DESTINATION Resources/man/man6)
+- else(APPLE)
++ else()
+ install(FILES ${MANFILE} DESTINATION share/man/man6)
+ endif()
+-else(HELP2MAN AND GZIP)
+- message("WARNING: One of the following is missing: help2man, gzip; performous man page will not be generated")
+-endif(HELP2MAN AND GZIP)
+-if(ENABLE_TOOLS AND GZIP)
++else()
++ message("WARNING: help2man is missing; performous man page will not be generated")
++endif()
++if(ENABLE_TOOLS)
+ set(TOOLS
+ "ss_pak_extract" "ss_extract" "ss_cover_conv"
+ "ss_adpcm_decode" "ss_ipu_conv" "ss_chc_decode"
+@@ -31,15 +29,7 @@
+ set(MAN_SECTION "1")
+ foreach(TOOL ${TOOLS})
+ set(TOOL_MANFILE ${CMAKE_CURRENT_SOURCE_DIR}/${TOOL}.${MAN_SECTION})
+- set(TOOL_MANFILE_GZ ${CMAKE_CURRENT_BINARY_DIR}/${TOOL}.${MAN_SECTION}.gz)
+- add_custom_command(
+- OUTPUT ${TOOL_MANFILE_GZ}
+- COMMAND ${GZIP} -c ${TOOL_MANFILE} > ${TOOL_MANFILE_GZ}
+- MAIN_DEPENDENCY ${TOOL_MANFILE}
+- COMMENT "Building ${TOOL} man page"
+- VERBATIM
+- )
+- add_custom_target(${TOOL}.${MAN_SECTION} ALL DEPENDS ${TOOL_MANFILE_GZ})
+- install(FILES ${TOOL_MANFILE_GZ} DESTINATION share/man/man${MAN_SECTION})
+- endforeach(TOOL)
+-endif(ENABLE_TOOLS AND GZIP)
++ add_custom_target(${TOOL}.${MAN_SECTION} ALL DEPENDS ${TOOL_MANFILE})
++ install(FILES ${TOOL_MANFILE} DESTINATION share/man/man${MAN_SECTION})
++ endforeach()
++endif()
diff --git a/games-arcade/performous/performous-1.1-r1.ebuild b/games-arcade/performous/performous-1.1-r1.ebuild
index 6b8850506d52..774e839768c3 100644
--- a/games-arcade/performous/performous-1.1-r1.ebuild
+++ b/games-arcade/performous/performous-1.1-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
+
CMAKE_REMOVE_MODULES="yes"
CMAKE_REMOVE_MODULES_LIST="FindALSA FindBoost FindFreetype FindGettext FindJpeg FindPng FindTiff FindZ"
-
-inherit desktop cmake-utils epatch gnome2-utils
+inherit cmake-utils desktop gnome2-utils
MY_PN="Performous"
MY_P="${MY_PN}-${PV}"
@@ -13,8 +13,7 @@ SONGS_PN="ultrastar-songs"
DESCRIPTION="SingStar GPL clone"
HOMEPAGE="https://performous.org/"
-SRC_URI="
- https://github.com/performous/performous/archive/${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="https://github.com/performous/performous/archive/${PV}.tar.gz -> ${P}.tar.gz
songs? (
mirror://sourceforge/performous/${SONGS_PN}-restricted-3.zip
mirror://sourceforge/performous/${SONGS_PN}-jc-1.zip
@@ -23,12 +22,7 @@ SRC_URI="
)
"
-LICENSE="
- GPL-2
- songs? (
- CC-BY-NC-SA-2.5
- CC-BY-NC-ND-2.5
- )
+LICENSE="GPL-2 songs? ( CC-BY-NC-SA-2.5 CC-BY-NC-ND-2.5 )
"
SLOT="0"
KEYWORDS="~amd64 ~x86"
@@ -37,24 +31,24 @@ IUSE="midi songs tools webcam"
RDEPEND="
dev-cpp/glibmm:2
dev-cpp/libxmlpp:2.6
- media-libs/portaudio
dev-libs/boost[threads(+)]
dev-libs/glib:2
dev-libs/libxml2:2
gnome-base/librsvg:2
media-gfx/imagemagick:0=
- virtual/jpeg:0
+ media-libs/libepoxy
media-libs/libpng:0=
media-libs/libsdl2[joystick,video]
+ media-libs/portaudio
+ sys-libs/zlib
virtual/ffmpeg
- virtual/opengl
virtual/glu
- sys-libs/zlib
+ virtual/jpeg:0
virtual/libintl
+ virtual/opengl
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/pango
- media-libs/libepoxy
midi? ( media-libs/portmidi )
webcam? ( media-libs/opencv )
"
@@ -63,11 +57,17 @@ DEPEND="${RDEPEND}
sys-devel/gettext
"
+DOCS=( docs/{Authors,instruments}.txt )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-linguas.patch
+ "${FILESDIR}"/${P}-nomancompress.patch
+)
+
src_prepare() {
cmake-utils_src_prepare
- epatch \
- "${FILESDIR}"/${P}-gentoo.patch \
- "${FILESDIR}"/${P}-linguas.patch
+
sed -i \
-e "s:@GENTOO_BINDIR@:/usr/bin:" \
-e '/ Z /s/ Z/ ZLIB/g' \
@@ -76,37 +76,27 @@ src_prepare() {
-e 's/Jpeg/JPEG/' \
-e 's/Png/PNG/' \
{game,tools}/CMakeLists.txt || die
-
- strip-linguas -u lang
}
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_enable tools TOOLS)
- $(cmake-utils_use_enable webcam WEBCAM)
- $(cmake-utils_use_enable midi MIDI)
+ -DENABLE_TOOLS=$(usex tools)
+ -DENABLE_WEBCAM=$(usex webcam)
+ -DENABLE_MIDI=$(usex midi)
-DCMAKE_VERBOSE_MAKEFILE=TRUE
-DSHARE_INSTALL="/usr/share/${PN}"
)
cmake-utils_src_configure
}
-src_compile() {
- cmake-utils_src_compile
-}
-
src_install() {
cmake-utils_src_install
if use songs ; then
insinto "/usr/share/${PN}"
doins -r "${WORKDIR}/songs"
fi
- dodoc docs/{Authors,instruments}.txt
- newicon -s scalable data/themes/default/icon.svg ${PN}.svg
-}
-pkg_preinst() {
- gnome2_icon_savelist
+ newicon -s scalable data/themes/default/icon.svg ${PN}.svg
}
pkg_postinst() {