diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-11-26 21:22:56 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-11-26 21:22:56 +0000 |
commit | 503dc7230b50cf18bbd93808b1ddf8839116145c (patch) | |
tree | 0fdc24388123f798f1487686017df737d2754b0f /games-action | |
parent | media-plugins/vdr-vdrrip removal (pending 15 Sep 2013), see #414235 #414177 f... (diff) | |
download | historical-503dc7230b50cf18bbd93808b1ddf8839116145c.tar.gz historical-503dc7230b50cf18bbd93808b1ddf8839116145c.tar.bz2 historical-503dc7230b50cf18bbd93808b1ddf8839116145c.zip |
version bump wrt #492596
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-action')
8 files changed, 285 insertions, 18 deletions
diff --git a/games-action/supertuxkart/ChangeLog b/games-action/supertuxkart/ChangeLog index f31c31079d41..6b4116b13cd8 100644 --- a/games-action/supertuxkart/ChangeLog +++ b/games-action/supertuxkart/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for games-action/supertuxkart # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/ChangeLog,v 1.37 2013/02/07 21:59:52 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/ChangeLog,v 1.38 2013/11/26 21:22:50 hasufell Exp $ + +*supertuxkart-0.8.1 (26 Nov 2013) + + 26 Nov 2013; Julian Ospald <hasufell@gentoo.org> +supertuxkart-0.8.1.ebuild, + +files/supertuxkart-0.8.1-desktopfile.patch, + +files/supertuxkart-0.8.1-gentoo.patch, + +files/supertuxkart-0.8.1-icon-dest.patch, + +files/supertuxkart-0.8.1-irrlicht.patch, metadata.xml: + version bump wrt #492596 07 Feb 2013; Ulrich Müller <ulm@gentoo.org> supertuxkart-0.8.ebuild: Move Creative Commons licenses to shorter names. diff --git a/games-action/supertuxkart/Manifest b/games-action/supertuxkart/Manifest index b398675d0af9..ed94ca88024c 100644 --- a/games-action/supertuxkart/Manifest +++ b/games-action/supertuxkart/Manifest @@ -5,25 +5,25 @@ AUX supertuxkart-0.8-desktopfile.patch 804 SHA256 b3a08696d2aa64988b434873a80a3a AUX supertuxkart-0.8-fribidi.patch 1766 SHA256 ef11ccc0e759778184f686d9e3637f863ceda9defe4355da0128ecd20963fe51 SHA512 0998db03662402781b00f0792e365046dbc1157cf0278eaeb8da38a8f8992274320ba887eb4f9365d3c98272199020116ea3ac867f0841a8817e7f5096618a93 WHIRLPOOL 8369f96bf8f6c389d9582a3fd617653b23f4fe50a7c9cb5ff19933a594a06aa979b5839f66b507b7a5a3edd46a3eab4622a6970d67d360f38ccd2b676c6c2fbd AUX supertuxkart-0.8-gentoo.patch 377 SHA256 a574c514490744cb98dc97460d33acfd26336d41d6fbc84145be7ea052b7c3f8 SHA512 07a49a03f943fb14543a01c705f69dbf7fc5238510d6ad615243c51cb142e856af3e3bb4cc2134b28652acf2944fdf9075311947c2afdb9d6dd62033222a016e WHIRLPOOL 2e0086cdbc34a278707254cde7239ac38549212baecea608b56f014aed9431910e28b6504e532ac8992b4ecac01001a8878557fdf9703167e8ddc767c2e5a555 AUX supertuxkart-0.8-irrlicht.patch 4824 SHA256 0388d3e5f5519039208069e0ff88edb7936ccf8038e3082c4ed432ab46deb09d SHA512 1ac949874baf83ae501bbf01b0678fe91a9d019b9939f7f1383c182a0ff0ace0b9154c23d14fc2bca8b4e7d8708d81b4f3a58e0019032c2a8738f887ad7990ce WHIRLPOOL 06b719b6136841baff4c9d81f386f4d56bda04ab224c21522c54369af1259f01a1e85e372a675aa5d78b6c1e8221fc45012d869dfe5c034bb4de25df1acc7add +AUX supertuxkart-0.8.1-desktopfile.patch 816 SHA256 db24b15856c36c8f3cd505ad9ea5b5c823cbf562307d9db3996fca4fed3dec90 SHA512 58b3006d4b41599426d9dfa1ab56e94088addfec20681566d66aa8e57f05d82d25655247b7f69ec89fbf60b1679c7a89072f8591e8a3c9ba16f85d7632000bfb WHIRLPOOL 190ae2d0d615ec289e9ede6a12e4a752e457221d8ad08b01ab5ab6b1bb4c88c5a2e842364aae94b1ff7d271a4d557f458ddf57451a6cfb9b8822846816105e02 +AUX supertuxkart-0.8.1-gentoo.patch 1292 SHA256 36c2ad9f7faaf1bf910e68d00a53c358a56de88326991d6953dc8d05ee891969 SHA512 65786e8dc3e21545788f61e783bb274bfbf6aecd26ef53dd8d6c53d6e64d60adf82f774f52531855d6b60c2928b1213fa3419111b7e377fe99b1829c419be357 WHIRLPOOL 4c021e758ac5ca7805c13124b4cd32d08c8514228919cee959dd2ab1e840f7fe5c8cea5675f1147130e203336e4ae6a9d24b767e136bf55449b62dd600174e0a +AUX supertuxkart-0.8.1-icon-dest.patch 1008 SHA256 32cb1d16af8071e0efcc68fbae356cfde135f75e3ec1981cc4f3a19445f2a611 SHA512 3e0f5f4f08661570fb04e178d8b18d9b5557fcf40e806f93431ab9f0ff9ac4277c6ad6b6d1353ec3d1600bcda4e2b18e7e7c5eb684f24ff95ef8007b6c8f0155 WHIRLPOOL a1f2a0f508bfb925e72dd6504b1dfb46297f37a9e5e171ab4bc62ff288d3af57ecfc370013cc19e41f9d4218d7206336d4f98fc2d4b681ec50d2493f7e0d1f63 +AUX supertuxkart-0.8.1-irrlicht.patch 4824 SHA256 0388d3e5f5519039208069e0ff88edb7936ccf8038e3082c4ed432ab46deb09d SHA512 1ac949874baf83ae501bbf01b0678fe91a9d019b9939f7f1383c182a0ff0ace0b9154c23d14fc2bca8b4e7d8708d81b4f3a58e0019032c2a8738f887ad7990ce WHIRLPOOL 06b719b6136841baff4c9d81f386f4d56bda04ab224c21522c54369af1259f01a1e85e372a675aa5d78b6c1e8221fc45012d869dfe5c034bb4de25df1acc7add DIST supertuxkart-0.8-src.tar.bz2 171184279 SHA256 b99f3d2311457a34db3c42ba2195662f2993a48eae4f6b1f175dbcce09ad4b8b SHA512 1936ff85ab896ad46633e53423a55c74aebe7a49d55024ed9bd76baf735e2e3c1ada0e83e3cc29dc7b9ff257484f2a9edb0bf5cf61b0b78fa5757f2e702a6f72 WHIRLPOOL f196b1faa13e6e7282df3ca88597a8dcaf1a0ef122274faef8b9ec123eb249ff93cf1b902b31376083cf02c1a267ed80a5b3e2c7a59b6526effefff260d742bf +DIST supertuxkart-0.8.1-src.tar.bz2 229944480 SHA256 335301ae61b0c177be68d5593c65e5b197dc807421f08a8a35740a254cacf8d6 SHA512 1d72230a2cfa6196c6ea6c5464f01d1a0064994c9dafbf5d47c04b5db87e82590fde57a88d5316f2cf6094dcebae5e115b81e5ecc964a29bd669bc83d527d13a WHIRLPOOL 5cf87e57cd5b5d12e4549bf49efb0596e4a1fafa7cba58e366c843e2ebf61c02e5c3471d1591f1231194021cbcb6082829e026616403680fc7ad05bd235b155e DIST supertuxkart.png 4435 SHA256 99bc1801cb0514946cb0171d6d5a84484b6dc881edfa7f096b6eb5fea2f28828 SHA512 a180332f79220431922fa8b351cb476ebc5d9d1df09f20707eb3bdd7002fd264cb027b8190c73c5221050e6e8601beb6758a5809d05aedfb18f0bdb426f47eda WHIRLPOOL eef651802a927b451226fc06a682d7dea68b65b05195130ccfc7544165f26f65bda4fc9565e09d6487d02be3cf57880b0c6c257f26587c6bc6d30afc6aa5d3c2 +EBUILD supertuxkart-0.8.1.ebuild 2212 SHA256 2581487b75180b5e90bf3d7f2618a0b595367f7ab012cb2b2941feddd769eb01 SHA512 83936231598228c3d99c54e07dd85cdb42cd4f25198ac8076e4a31ba5f6e478195e8c8b4be481955439bb674fce8e58e2d8e2cd09c9f7b8dff02fc7d3ae936a0 WHIRLPOOL 101d7da8301db5149b19f80be1338509f72440252bda2af8e43e4e883f7ff8cb92a9fbf3626151215abcd7de942c1242657bdd34298badc3981874f161b25483 EBUILD supertuxkart-0.8.ebuild 1897 SHA256 1e6d2f60bbe8f4002898e253b0101b56a7c396aa2e592d023152d5d77bcd943d SHA512 afe4cc9faa2bcd477466ef6804e852d40a7c5e8dd1c935b19af9c153e8f144b7871f15f908aef550bc8856317de740ece69b3a55a00acbcf96c9607d84f3fabf WHIRLPOOL c393294681c7e36a2bab5059fb1a428dde1fd9cdda16be9c4eb5c543dd5a450c2dde15d6e9d5e4612bc65e046ab8e34d2ce64a7897d39786601e97db5ba87785 -MISC ChangeLog 5167 SHA256 cfdbaa882428c1476fda157a0c242070e412adaea733ad72bbb4ed4cdc4b0ddf SHA512 1afb904a9cf63f98eadc9ac7502e9322bfb3826a97aac9636c0579b70bc8154c7a6bb452b6dd069208c37f1bba7e285f39417f5a03b4bf7d6b7d828652a59ddf WHIRLPOOL c2283def3eec377f5e5152c586de61a46fc2b1d894e9182a0a0b274027c5e765a85ac37983be9dbfeae553060fb57b1e5618acf23a695ca860dea9b9a8ab09d9 -MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada +MISC ChangeLog 5506 SHA256 1bdac87cbc2d1904a03bb0a8d6fb8b9be615267ae48a2c13517a7e74478487b6 SHA512 6f6b6ce361b377a678c26f214e64ec2b960798fac811b4d0dabaa5d0b22defa07f0546ee341c1728fd7cf08d25e1e3f8b1eae02a026e74b8b59cac1044a59395 WHIRLPOOL 9f49965cbb9828e57e345e5b5f56535307c19db7967e9e38518733fa09a03a05eb6ed4494d0707559dfb5e341970a4b8fa03bb8d0911f6637e9e59ce27588c6a +MISC metadata.xml 304 SHA256 c2f56f7331dacff1457f169ffa337644ef213137f773c3a928f994a02f30addf SHA512 67508dfacc718dce4cb1b79a521be15b40ad4a892390a7f23972b09e1761ff76bd7e334d6054e685d70cb9fd8f759b4d8ed3a9fb46f0f4a6b1f96ffdfb0c25bb WHIRLPOOL 85448baf9c5513bdd24f200b1eed9aac64de4837cc93ce948485265261aa2bed4d3215e4ee4561519fcdf141fd1d127b0ad1ddc3a110428a1a97c7627490561b -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJRFCTFAAoJEDxpGckxwJCBfW4P/0lnOLxEsb0JMfBEDr23mreG -PQaFuxm/bcwe6LZjkmfJfReyHOIiWLuGrmy+Czje8f50ajlizYlMo0vtJfJZAFGV -mOxpDJwS6KKap8i5Jn/VHoozkILX7zRPURRHpaVpmYtJq0VKIuQRWMUbab82uzqW -+W1p72pwDcpRAjAxNTQPYrNL6TAoDwQ4VlM2JHT5ZtiGPyRf3yD0bkFiYYGCaC06 -7wOh1vN6yC9l5mvn0k1WhSnAtPKGkUPi64jep8Dt1DkMeIihM8m6Bt/fmzwsv7T8 -qRoG70/ADawX1R2FxkoIoiPLGA0XwTAK7HXd2qp/8hUuq2SVHT1SxuQDS8JHUanv -q28iv/SbPUTSkanc/esxeyrHrLXozOkrn9av43VhYNzpgIr80q/P+eyc5FxrLWfJ -IoAfMmZZPkekwsm4tREhz4JdzoxkH9NYi1yr/x32wZuwD0FH0C5EBQPHeSphg5VU -iY4Wiab4Eqh5XNwhaeK20ZAoWJYg+6s8fWf4QNe1O4/wuBSnhKTEaD7wizudXjjW -YrEKX3xeNpDR3Nlaw9NC3OxzABrRZxU9fdkOqUf/3lGhih0t7qj3PiILT1iiKUqY -7W5P8sdmP3UFxhgD8qZWQoOQ7CKVB8MLpWpLlBrOqpd6IKY4HDb8TN4EwR95lfNC -pfzYFryR4RzcHSwQAweI -=JB2p +iQEcBAEBCAAGBQJSlREwAAoJEFpvPKfnPDWziDQIAIsmzmznKmX3gNKY55zbvvle +Io2ud698JJC2CLOffEWeNLKN+YGpDrbbxFO9bfCvM2r/IQz9Z2baM3MzCSzbB99W +2t00RC6rhGNQ3ePptx+dONSE1VnACMNIWc96B1pjs8/yRVZcrZZSOjRpvsOUPy1S +pQCpTqYjLE1mQoVNKojqSsCgiEP+Cf4PMrV+Ljz/da3sWh4/0fBxSh2iZfSY05ox +d8NecZQeyQEPdEmnVopLt1XrLtZvG4Gb4NS86fCJM6Dc3drvg7wlqOWUp410GUBT +wscWm+0O7El6MNywFpizoILh3AZi4nKkfvdqd5tTvDxANmwE9hgMA+IF5VOxMew= +=moLI -----END PGP SIGNATURE----- diff --git a/games-action/supertuxkart/files/supertuxkart-0.8.1-desktopfile.patch b/games-action/supertuxkart/files/supertuxkart-0.8.1-desktopfile.patch new file mode 100644 index 000000000000..076645692bcd --- /dev/null +++ b/games-action/supertuxkart/files/supertuxkart-0.8.1-desktopfile.patch @@ -0,0 +1,24 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Thu Dec 13 18:45:18 UTC 2012 +Subject: fix desktop file + +--- data/supertuxkart_desktop.template ++++ data/supertuxkart_desktop.template +@@ -1,14 +1,14 @@ + [Desktop Entry] + Name=SuperTuxKart +-Icon=@PREFIX@/share/pixmaps/supertuxkart_128.png ++Icon=supertuxkart + GenericName=A kart racing game + GenericName[de_DE]=Ein Kart-Rennspiel + GenericName[fr_FR]=Un jeu de karting + GenericName[gl]=Xogo de carreiras con karts + GenericName[ro_RO]=Un joc de curse cu carturi +-Exec=@PREFIX@/@STK_INSTALL_BINARY_DIR@/supertuxkart --no-console ++Exec=@STK_INSTALL_BINARY_DIR@/supertuxkart --no-console + Terminal=false + StartupNotify=false + Type=Application +-TryExec=@PREFIX@/@STK_INSTALL_BINARY_DIR@/supertuxkart ++TryExec=@STK_INSTALL_BINARY_DIR@/supertuxkart + Categories=Game;ArcadeGame; diff --git a/games-action/supertuxkart/files/supertuxkart-0.8.1-gentoo.patch b/games-action/supertuxkart/files/supertuxkart-0.8.1-gentoo.patch new file mode 100644 index 000000000000..071c1b053f7a --- /dev/null +++ b/games-action/supertuxkart/files/supertuxkart-0.8.1-gentoo.patch @@ -0,0 +1,49 @@ +gentoo specific hacks because we unbundle the +deps of irrlicht + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 09edd58..1f51a30 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -45,7 +45,6 @@ add_subdirectory("${PROJECT_SOURCE_DIR}/lib/enet") + include_directories("${PROJECT_SOURCE_DIR}/lib/enet/include") + + # Build the irrlicht library +-add_subdirectory("${PROJECT_SOURCE_DIR}/lib/irrlicht") + include_directories("${PROJECT_SOURCE_DIR}/lib/irrlicht/include") + + # Build the Wiiuse library +@@ -137,6 +136,13 @@ else() + endif() + + ++# Irrlicht ++if (APPLE) ++ set(IRRLICHT_LIBRARY "/Library/Frameworks/IrrFramework.framework") ++else() ++ set(IRRLICHT_LIBRARY ${PROJECT_SOURCE_DIR}/lib/irrlicht/lib/Linux/libIrrlicht.a) ++endif() ++ + + # Set some compiler options + if(UNIX) +@@ -226,12 +232,17 @@ target_link_libraries(supertuxkart + bulletcollision + bulletmath + enet +- stkirrlicht + ${CURL_LIBRARIES} ++ ${IRRLICHT_LIBRARIES} + ${OGGVORBIS_LIBRARIES} ++ ${IRRLICHT_LIBRARY} + ${IRRLICHT_XF86VM_LIBRARY} + ${OPENAL_LIBRARY} +- ${OPENGL_LIBRARIES}) ++ ${OPENGL_LIBRARIES} ++ png ++ jpeg ++ bz2 ++ z) + + if(APPLE) + # In theory it would be cleaner to let CMake detect the right dependencies. In practice, this means that if a OSX user has diff --git a/games-action/supertuxkart/files/supertuxkart-0.8.1-icon-dest.patch b/games-action/supertuxkart/files/supertuxkart-0.8.1-icon-dest.patch new file mode 100644 index 000000000000..f9a5a04d676a --- /dev/null +++ b/games-action/supertuxkart/files/supertuxkart-0.8.1-icon-dest.patch @@ -0,0 +1,21 @@ +commit f46a26640382ffc76e71f58eaaf1e5223a11c9a0 +Author: hasufell <hasufell@gentoo.org> +Date: Tue Nov 26 22:13:21 2013 +0100 + + fix icon install dest + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1f51a30..9c07659 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -304,7 +304,9 @@ endif() + install(TARGETS supertuxkart RUNTIME DESTINATION ${STK_INSTALL_BINARY_DIR} BUNDLE DESTINATION .) + install(DIRECTORY ${STK_DATA_DIR} DESTINATION ${STK_INSTALL_DATA_DIR} PATTERN ".svn" EXCLUDE) + install(FILES ${PROJECT_BINARY_DIR}/supertuxkart.desktop DESTINATION share/applications) +-install(FILES data/supertuxkart_32.png data/supertuxkart_128.png DESTINATION share/pixmaps) ++install(FILES data/supertuxkart_128.png DESTINATION share/icons/hicolor/128x128/apps RENAME supertuxkart.png) ++install(FILES data/supertuxkart_32.png DESTINATION share/icons/hicolor/32x32/apps RENAME supertuxkart.png) ++ + + set(PREFIX ${CMAKE_INSTALL_PREFIX}) + configure_file(data/supertuxkart_desktop.template supertuxkart.desktop) diff --git a/games-action/supertuxkart/files/supertuxkart-0.8.1-irrlicht.patch b/games-action/supertuxkart/files/supertuxkart-0.8.1-irrlicht.patch new file mode 100644 index 000000000000..43130d14a09a --- /dev/null +++ b/games-action/supertuxkart/files/supertuxkart-0.8.1-irrlicht.patch @@ -0,0 +1,69 @@ +unbundle Irrlicht dependencies +and respect CFLAGS + +--- lib/irrlicht/include/IrrCompileConfig.h ++++ lib/irrlicht/include/IrrCompileConfig.h +@@ -245,7 +245,7 @@ + //! Define _IRR_USE_NON_SYSTEM_JPEG_LIB_ to let irrlicht use the jpeglib which comes with irrlicht.
+ /** If this is commented out, Irrlicht will try to compile using the jpeg lib installed in the system.
+ This is only used when _IRR_COMPILE_WITH_LIBJPEG_ is defined. */
+-#define _IRR_USE_NON_SYSTEM_JPEG_LIB_
++//#define _IRR_USE_NON_SYSTEM_JPEG_LIB_
+ #ifdef NO_IRR_USE_NON_SYSTEM_JPEG_LIB_
+ #undef _IRR_USE_NON_SYSTEM_JPEG_LIB_
+ #endif
+@@ -261,7 +261,7 @@ + //! Define _IRR_USE_NON_SYSTEM_LIBPNG_ to let irrlicht use the libpng which comes with irrlicht.
+ /** If this is commented out, Irrlicht will try to compile using the libpng installed in the system.
+ This is only used when _IRR_COMPILE_WITH_LIBPNG_ is defined. */
+-#define _IRR_USE_NON_SYSTEM_LIB_PNG_
++//#define _IRR_USE_NON_SYSTEM_LIB_PNG_
+ #ifdef NO_IRR_USE_NON_SYSTEM_LIB_PNG_
+ #undef _IRR_USE_NON_SYSTEM_LIB_PNG_
+ #endif
+@@ -598,7 +598,7 @@ + /** If this is commented out, Irrlicht will try to compile using the zlib
+ installed on the system. This is only used when _IRR_COMPILE_WITH_ZLIB_ is
+ defined. */
+-#define _IRR_USE_NON_SYSTEM_ZLIB_
++//#define _IRR_USE_NON_SYSTEM_ZLIB_
+ #ifdef NO_IRR_USE_NON_SYSTEM_ZLIB_
+ #undef _IRR_USE_NON_SYSTEM_ZLIB_
+ #endif
+--- lib/irrlicht/source/Irrlicht/Makefile ++++ lib/irrlicht/source/Irrlicht/Makefile +@@ -46,11 +46,7 @@ + IRRIOOBJ = CFileList.o CFileSystem.o CLimitReadFile.o CMemoryFile.o CReadFile.o CWriteFile.o CXMLReader.o CXMLWriter.o CWADReader.o CZipReader.o CPakReader.o CNPKReader.o CTarReader.o CMountPointReader.o irrXML.o CAttributes.o lzma/LzmaDec.o
+ IRROTHEROBJ = CIrrDeviceSDL.o CIrrDeviceLinux.o CIrrDeviceConsole.o CIrrDeviceStub.o CIrrDeviceWin32.o CIrrDeviceFB.o CLogger.o COSOperator.o Irrlicht.o os.o
+ IRRGUIOBJ = CGUIButton.o CGUICheckBox.o CGUIComboBox.o CGUIContextMenu.o CGUIEditBox.o CGUIEnvironment.o CGUIFileOpenDialog.o CGUIFont.o CGUIImage.o CGUIInOutFader.o CGUIListBox.o CGUIMenu.o CGUIMeshViewer.o CGUIMessageBox.o CGUIModalScreen.o CGUIScrollBar.o CGUISpinBox.o CGUISkin.o CGUIStaticText.o CGUITabControl.o CGUITable.o CGUIToolBar.o CGUIWindow.o CGUIColorSelectDialog.o CDefaultGUIElementFactory.o CGUISpriteBank.o CGUIImageList.o CGUITreeView.o
+-ZLIBOBJ = zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/trees.o zlib/uncompr.o zlib/zutil.o
+-JPEGLIBOBJ = jpeglib/jcapimin.o jpeglib/jcapistd.o jpeglib/jccoefct.o jpeglib/jccolor.o jpeglib/jcdctmgr.o jpeglib/jchuff.o jpeglib/jcinit.o jpeglib/jcmainct.o jpeglib/jcmarker.o jpeglib/jcmaster.o jpeglib/jcomapi.o jpeglib/jcparam.o jpeglib/jcprepct.o jpeglib/jcsample.o jpeglib/jctrans.o jpeglib/jdapimin.o jpeglib/jdapistd.o jpeglib/jdatadst.o jpeglib/jdatasrc.o jpeglib/jdcoefct.o jpeglib/jdcolor.o jpeglib/jddctmgr.o jpeglib/jdhuff.o jpeglib/jdinput.o jpeglib/jdmainct.o jpeglib/jdmarker.o jpeglib/jdmaster.o jpeglib/jdmerge.o jpeglib/jdpostct.o jpeglib/jdsample.o jpeglib/jdtrans.o jpeglib/jerror.o jpeglib/jfdctflt.o jpeglib/jfdctfst.o jpeglib/jfdctint.o jpeglib/jidctflt.o jpeglib/jidctfst.o jpeglib/jidctint.o jpeglib/jmemmgr.o jpeglib/jmemnobs.o jpeglib/jquant1.o jpeglib/jquant2.o jpeglib/jutils.o jpeglib/jcarith.o jpeglib/jdarith.o jpeglib/jaricom.o
+-LIBPNGOBJ = libpng/png.o libpng/pngerror.o libpng/pngget.o libpng/pngmem.o libpng/pngpread.o libpng/pngread.o libpng/pngrio.o libpng/pngrtran.o libpng/pngrutil.o libpng/pngset.o libpng/pngtrans.o libpng/pngwio.o libpng/pngwrite.o libpng/pngwtran.o libpng/pngwutil.o
+ LIBAESGM = aesGladman/aescrypt.o aesGladman/aeskey.o aesGladman/aestab.o aesGladman/fileenc.o aesGladman/hmac.o aesGladman/prng.o aesGladman/pwd2key.o aesGladman/sha1.o aesGladman/sha2.o
+-BZIP2OBJ = bzip2/blocksort.o bzip2/huffman.o bzip2/crctable.o bzip2/randtable.o bzip2/bzcompress.o bzip2/decompress.o bzip2/bzlib.o
+
+ # Next variable is for additional scene nodes etc. of customized Irrlicht versions
+ EXTRAOBJ =
+@@ -61,18 +57,16 @@ +
+ ###############
+ #Compiler flags
+-CXXINCS = -I../../include -Izlib -Ijpeglib -Ilibpng
++CXXINCS = -I../../include
+ CPPFLAGS += $(CXXINCS) -DIRRLICHT_EXPORTS=1
+-CXXFLAGS += -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing
++CXXFLAGS += -Wall -fno-exceptions -fno-rtti
+ ifndef NDEBUG
+-CXXFLAGS += -g -D_DEBUG
+-else
+-CXXFLAGS += -fexpensive-optimizations -O3
++CXXFLAGS += -D_DEBUG
+ endif
+ ifdef PROFILE
+ CXXFLAGS += -pg
+ endif
+-CFLAGS := -O3 -fexpensive-optimizations -DPNG_THREAD_UNSAFE_OK -DPNG_NO_MMX_CODE -DPNG_NO_MNG_FEATURES
++CFLAGS += -DPNG_THREAD_UNSAFE_OK -DPNG_NO_MMX_CODE -DPNG_NO_MNG_FEATURES
+
+ sharedlib sharedlib_osx: CXXFLAGS += -fPIC
+ sharedlib sharedlib_osx: CFLAGS += -fPIC
diff --git a/games-action/supertuxkart/metadata.xml b/games-action/supertuxkart/metadata.xml index d3c2cc926f0b..4ecc4afb4c01 100644 --- a/games-action/supertuxkart/metadata.xml +++ b/games-action/supertuxkart/metadata.xml @@ -1,5 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>games</herd> + <herd>games</herd> + <use> + <flag name='fribidi'>Support for right-to-left languages</flag> + <flag name='wiimote'>Support for wiimote input devices</flag> + </use> </pkgmetadata> diff --git a/games-action/supertuxkart/supertuxkart-0.8.1.ebuild b/games-action/supertuxkart/supertuxkart-0.8.1.ebuild new file mode 100644 index 000000000000..6c0c78770a76 --- /dev/null +++ b/games-action/supertuxkart/supertuxkart-0.8.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/supertuxkart-0.8.1.ebuild,v 1.1 2013/11/26 21:22:50 hasufell Exp $ + +EAPI=5 +inherit gnome2-utils cmake-utils eutils games + +DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)" +HOMEPAGE="http://supertuxkart.sourceforge.net/" +SRC_URI="mirror://sourceforge/supertuxkart/SuperTuxKart/${PV}/${P}-src.tar.bz2 + mirror://gentoo/${PN}.png" + +LICENSE="GPL-3 CC-BY-SA-3.0 CC-BY-2.0 public-domain ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug fribidi wiimote" + +# don't unbundle irrlicht and bullet +# both are modified and system versions will break the game +# http://sourceforge.net/tracker/?func=detail&aid=3454889&group_id=74339&atid=540679 + +# VERSION BUMP NOTICE: enet might be needed for supertuxkart-0.9 +RDEPEND="media-libs/freeglut + media-libs/libpng:0 + media-libs/libvorbis + media-libs/openal + net-misc/curl + sys-libs/zlib + virtual/glu + virtual/jpeg + virtual/libintl + virtual/opengl + x11-libs/libX11 + x11-libs/libXxf86vm + fribidi? ( dev-libs/fribidi ) + wiimote? ( net-wireless/bluez )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +S=${WORKDIR}/SuperTuxKart-${PV} + +src_prepare() { + epatch "${FILESDIR}"/${P}-{gentoo,irrlicht}.patch + + # inconsistent handling of debug definition + # avoid using Debug build type + use debug && { + sed -i \ + -e 's/add_definitions(-DNDEBUG)/add_definitions(-DDEBUG)/' \ + CMakeLists.txt || die ;} +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_use fribidi FRIBIDI) + $(cmake-utils_use_use wiimote WIIUSE) + -DSTK_INSTALL_BINARY_DIR="${GAMES_BINDIR}" + -DSTK_INSTALL_DATA_DIR="${GAMES_DATADIR}"/${PN} + ) + + cmake-utils_src_configure +} + +src_compile() { + # build bundled irrlicht + NDEBUG=1 emake -C lib/irrlicht/source/Irrlicht + + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + doicon -s 64 "${DISTDIR}"/${PN}.png + dodoc AUTHORS ChangeLog README TODO + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |