diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-emulation/vbam | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-emulation/vbam')
-rw-r--r-- | games-emulation/vbam/Manifest | 8 | ||||
-rw-r--r-- | games-emulation/vbam/files/vbam-2.0.1-changelog-update.patch | 98 | ||||
-rw-r--r-- | games-emulation/vbam/files/vbam-2.0.1-read-version-from-changelog.patch | 76 | ||||
-rw-r--r-- | games-emulation/vbam/metadata.xml | 15 | ||||
-rw-r--r-- | games-emulation/vbam/vbam-2.0.1-r1.ebuild | 97 | ||||
-rw-r--r-- | games-emulation/vbam/vbam-2.0.2.ebuild | 92 | ||||
-rw-r--r-- | games-emulation/vbam/vbam-9999.ebuild | 92 |
7 files changed, 478 insertions, 0 deletions
diff --git a/games-emulation/vbam/Manifest b/games-emulation/vbam/Manifest new file mode 100644 index 000000000000..b1f7690180f9 --- /dev/null +++ b/games-emulation/vbam/Manifest @@ -0,0 +1,8 @@ +AUX vbam-2.0.1-changelog-update.patch 3547 BLAKE2B cd9c3aaab79e4342d7bdbc903331ef0d7fd54b63422715e8d0dfe27cbbfcc729804ec018beb434faa9b89ca5bce417f382debfc74b111a5dae4e8974e2cec38f SHA512 792ad5848a373a0a5040132417e7a9eb4cccf3155e31beda61b6236edc80ce74018ad8d7bd67829c981b60a8940904629c64b3d392ca25d0bb58461d64e228e3 +AUX vbam-2.0.1-read-version-from-changelog.patch 2701 BLAKE2B cf9c826bc75fb956becb99decadc36e41a1944b64095729826e732341c36aef1df9ef73b424501e9d0dcb9e8146d50c0b91641237b2b3c83e13d2bb2ab375311 SHA512 2a1793c8c4f0dff020337eccc9ff94c357b8f1ce2dde8aab612c4a06b5adbfbf3261b91643bfdab958ddf77f2e5f751997840cdcd89dd4d77744de8caf1f4285 +DIST vbam-2.0.1.tar.gz 2926632 BLAKE2B 3a2d44b76a9b03eadcce530a955e6b2ebde48340d8462e1ad339f4a02b1d19b8f8fbd0d9671f12eb5ed14ee600dba6e6bb6d167f9ca1cfb192ffb734ace72752 SHA512 d6cdc1ab1fbc20f81483fb4dc316d65dc9d7c0f378d5c85c1c5ca1251fbd1e7aad9f2f6bd5ecc2ff0b832e42c010cc82b9b1ec68bbb0a49aa8e00683fb5264bb +DIST vbam-2.0.2.tar.gz 2959204 BLAKE2B 79b288e59a843d2065eac63e74984bf134d9f5dadbc687da245030ad16b138125baab0fe1fb19acac9c117e30b95e57f1880b43817f75361600fb62efd1d5272 SHA512 9aafb8ef307fbbfbc5ae6dc35bc3042934e25a30069a71949e4c8e777fd862d94ec60c189823f4acdea4cb1338098fa85a55e090fa6023c07368cbb7638dd910 +EBUILD vbam-2.0.1-r1.ebuild 2243 BLAKE2B b76bb006b86d23077c09481277340c18dd06275cd8ceb0ae374d0fa4075cdce036950013787f74babd8730539faca14afd83e0878503a9901f2552d473df3387 SHA512 c49c9d5c71cef41b194a5ed229c2ec6405b2268a83e86ff654e183e598c6170f74628a1f187bc89faf06a258738f7109df4a956718a9e830caea8648cc86299c +EBUILD vbam-2.0.2.ebuild 2133 BLAKE2B 7cb6802db60dfb7e6686d6daa6c52d9bfa477ffd78b77b78a8c3bd955a6563950eab13ba762d99c4f7a1f466cfe224927c884fceb5144afd6a44e7c7edf8e269 SHA512 2026cbe925ea3159a82b47c1be373ef37e5236661fe15bd1f4d191073da3fab04e23cf7fac5d6540f03f3b29066119787c5d95270baad23ab9b260087c288e6c +EBUILD vbam-9999.ebuild 2133 BLAKE2B 7cb6802db60dfb7e6686d6daa6c52d9bfa477ffd78b77b78a8c3bd955a6563950eab13ba762d99c4f7a1f466cfe224927c884fceb5144afd6a44e7c7edf8e269 SHA512 2026cbe925ea3159a82b47c1be373ef37e5236661fe15bd1f4d191073da3fab04e23cf7fac5d6540f03f3b29066119787c5d95270baad23ab9b260087c288e6c +MISC metadata.xml 479 BLAKE2B e5a7706e8db6c8c05cf4cf691d294c4bd54f3cc7aee5af270cce39c2d924cc81cc97a1b3d3612c1cf95d0b4b485181717d0f0daeef11a21b0c7ce0cf4d9eafda SHA512 6bd2212bd5ae35dd11f35322879f067981cac94c0c2d8f0c87e1e67170b5df245bd3616e5bb076d2892453c8b75537ee15aab49134029c0daa31d89d8aedf1d0 diff --git a/games-emulation/vbam/files/vbam-2.0.1-changelog-update.patch b/games-emulation/vbam/files/vbam-2.0.1-changelog-update.patch new file mode 100644 index 000000000000..6d4f87f2d772 --- /dev/null +++ b/games-emulation/vbam/files/vbam-2.0.1-changelog-update.patch @@ -0,0 +1,98 @@ +From 30b6ecf1a5c0eac73aaf3dabd98e41c908daa94a Mon Sep 17 00:00:00 2001 +From: Zach Bacon <zachbacon@budgiemedia.rocks> +Date: Thu, 12 Oct 2017 00:49:05 +0000 +Subject: [PATCH] Add a changelog + +Gonna try and keep this up to date as often as possible. +--- + CHANGELOG.md | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 81 insertions(+) + create mode 100644 CHANGELOG.md + +diff --git a/CHANGELOG.md b/CHANGELOG.md +new file mode 100644 +index 00000000..c24ac560 +--- /dev/null ++++ b/CHANGELOG.md +@@ -0,0 +1,81 @@ ++# Changelog ++All notable changes to this project will be documented in this file. ++ ++The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) ++and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ++ ++## [Unreleased] ++ ++## [2.0.1] - 10/11/2017 ++### Added ++- initial installer script ++- gitter.im badge in readme ++- 32bit cross compiling support on 64bit linux ++- added support for GNUInstallDirs to cmake ++- Include new translations from transifex ++- Added WxWidgets ABI compiler check ++- Add linux Joystick reference to issue template ++- Add #ubckyde <cmath> fir std::cell() ++- ++ ++### Changed ++- Fix 2xSaImmx.asm linking issue ++- cmake: default to ENABLE_ASM_CORE=OFF ++- libretro merging from upstream libretro fork. ++- better fix for clipped video in GL Fullscreen. ++- Fix flibc crash: add log message on fopen failure ++- fix gameboy header-detection in libretro interface ++- hotfix for potential buffer-overflow ++- delete memory in common/array.h on destruction ++- SDL: improve error msg for unwritable config ++- SDL: fix deflt bat saving, improve dir checking ++- fix portability issue with strerror_r() ++- Windows doesn't have sterror_r ++- wx/wxvbam: fix GetAbsolutePath ++- fix a memory leak due to wrong syntax ++- regenerate translation files ++- fix errors reported by SUSE's post build linter ++- SUSE Lint: fix a few classes of warnings ++- let cmake escape -D preproc. definitions ++- fix memory viewer xrc on wx 3.1+ ++- Improving README ++- SoundSDL: lock conditional code cleanup ++- remove the default F11 keybinding for save state ++- hopefully fix resize artifacts on game panel ++- soundSDL: write silence when paused ++- cleanup SoundSDL #139 #130 #97 #67 #65 #46 #47 ++- document how to provice symbolic backtraces ++- "no throttle" fixes/cleanup ++- only use -mtune=generic on x86/amd64 ++- installdeps: use -j$(nproc) not -j8 in info ++- use -fabi-version=2 for GCC turn off LTO ++- installdeps: minor refactoring/cleanup ++- improve Wx GCC ABI check ++- minor improvements for Wx Compile tests ++- fix wx ABI check for Win32/MinGW ++- installdeps: fedora fixes, including m32 ++- cmake: wx and cross compiling fixes ++- restore wx 2.7 compat, improve string processing ++- rename CMakeScripts/ to cmake/ ++- work around gcc lto wrappers bug with gcc 7.x ++- update README.md ++- remove doctoc title from README.md TOC ++- improve win32 dependencies git submodule handling ++- use num cpu cores to parallelize LTO link with gcc ++- fix huge app icon in Win volume settings ++- fix deadlock in SoundSDL:deinit() ++- added executable extension for sdl binary ++- default LTO to off on 64bit MinGW ++- minor code cleanup ++- deps: dont check result of apt-get update ++- read version and subversion info from Git ++- fix error and version info in shallow git clones ++- refactor/cleanup GitTagVersion.cmake ++ ++### Removed ++- Cairo Renderer: it never performed well to begin with ++ ++ ++ ++[2.0.1]: https://github.com/olivierlacan/keep-a-changelog/compare/throttle...v2.0.1 ++ diff --git a/games-emulation/vbam/files/vbam-2.0.1-read-version-from-changelog.patch b/games-emulation/vbam/files/vbam-2.0.1-read-version-from-changelog.patch new file mode 100644 index 000000000000..5dce58395343 --- /dev/null +++ b/games-emulation/vbam/files/vbam-2.0.1-read-version-from-changelog.patch @@ -0,0 +1,76 @@ +From 46486381f0c18110002ec62108969be957b419be Mon Sep 17 00:00:00 2001 +From: Rafael Kitover <rkitover@gmail.com> +Date: Wed, 11 Oct 2017 19:17:25 -0700 +Subject: [PATCH] read version info from CHANGELOG.md if no git + +If git tags are not available, set the version and revision by finding +the first version tag in `CHANGELOG.md` of the form + +``` +``` + +Where N.N.N is the number version (number of components can vary) and +the revision (as speicified by -REV) is optional. + +TODO: support named revision without a version number of the form +`[REV]`. +--- + CMakeLists.txt | 9 +++------ + cmake/ChangeLogVersion.cmake | 25 +++++++++++++++++++++++++ + 2 files changed, 28 insertions(+), 6 deletions(-) + create mode 100644 cmake/ChangeLogVersion.cmake + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index bd09527d..4ad859b2 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -112,15 +112,12 @@ if(GIT_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.git") + # of files that depend on version.h + include(GetGitRevisionDescription) + get_git_head_revision(REFSPEC COMMITHASH) +-else() +- message(WARNING "Git not found, cannot set version info") + endif() + +-# no git or no tags ++# no git or no tags, use ChangeLog + if(NOT VERSION) +- set(VERSION 2.0.0) +- set(REVISION "unknown") +- set(VERSION_RELEASE 0) ++ include(ChangeLogVersion) ++ changelog_version(VERSION REVISION VERSION_RELEASE) + endif() + + # generate version.h +diff --git a/cmake/ChangeLogVersion.cmake b/cmake/ChangeLogVersion.cmake +new file mode 100644 +index 00000000..101d23bd +--- /dev/null ++++ b/cmake/ChangeLogVersion.cmake +@@ -0,0 +1,25 @@ ++function(changelog_version version revision version_release) ++ set(${version} "" CACHE STRING "Latest ChangeLog Version" FORCE) ++ set(${revision} "" CACHE STRING "Latest ChangeLog Revision" FORCE) ++ set(${version_release} 0 CACHE STRING "Is this a versioned release without revision" FORCE) ++ ++ file(READ CHANGELOG.md changelog_file) ++ ++ if(NOT changelog_file) ++ return() ++ endif() ++ ++ string(REGEX MATCH "\n## +\\[([0-9.]+)(-([^] ]+))?\\] +- +[0-9][0-9]?/" match_out "${changelog_file}") ++ ++ set(changelog_version "${CMAKE_MATCH_1}") ++ ++ set(is_version_release 0) ++ set(changelog_revision "${CMAKE_MATCH_3}") ++ if(NOT changelog_revision) ++ set(is_version_release 1) ++ endif() ++ ++ set(${version} "${changelog_version}" CACHE STRING "Latest ChangeLog Version" FORCE) ++ set(${revision} "${changelog_revision}" CACHE STRING "Latest ChangeLog Revision" FORCE) ++ set(${version_release} "${is_version_release}" CACHE STRING "Is this a versioned release without revision" FORCE) ++endfunction() diff --git a/games-emulation/vbam/metadata.xml b/games-emulation/vbam/metadata.xml new file mode 100644 index 000000000000..599894ffa29b --- /dev/null +++ b/games-emulation/vbam/metadata.xml @@ -0,0 +1,15 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <use> + <flag name="link">Enable GBA linking functionality</flag> + </use> + <upstream> + <remote-id type="github">visualboyadvance-m/visualboyadvance-m</remote-id> + <remote-id type="sourceforge">vbam</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-emulation/vbam/vbam-2.0.1-r1.ebuild b/games-emulation/vbam/vbam-2.0.1-r1.ebuild new file mode 100644 index 000000000000..7895e9c087d2 --- /dev/null +++ b/games-emulation/vbam/vbam-2.0.1-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +WX_GTK_VER="3.0-gtk3" +inherit gnome2-utils wxwidgets xdg-utils cmake-utils + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/visualboyadvance-m/visualboyadvance-m.git" + inherit git-r3 +else + SRC_URI="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/visualboyadvance-m-${PV}" +fi + +DESCRIPTION="Game Boy, GBC, and GBA emulator forked from VisualBoyAdvance" +HOMEPAGE="https://github.com/visualboyadvance-m/visualboyadvance-m" + +LICENSE="GPL-2" +SLOT="0" +IUSE="ffmpeg link lirc nls openal +sdl wxwidgets" +REQUIRED_USE="openal? ( wxwidgets ) || ( sdl wxwidgets )" + +RDEPEND=" + >=media-libs/libpng-1.4:0= + media-libs/libsdl2[joystick] + link? ( >=media-libs/libsfml-2.0:= ) + sys-libs/zlib:= + virtual/glu + virtual/opengl + ffmpeg? ( media-video/ffmpeg:= ) + lirc? ( app-misc/lirc ) + nls? ( virtual/libintl ) + wxwidgets? ( + openal? ( media-libs/openal ) + x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] + )" +DEPEND="${RDEPEND} + app-arch/zip + wxwidgets? ( virtual/imagemagick-tools ) + x86? ( || ( dev-lang/nasm dev-lang/yasm ) ) + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-changelog-update.patch + "${FILESDIR}"/${P}-read-version-from-changelog.patch +) + +src_configure() { + use wxwidgets && setup-wxwidgets + local mycmakeargs=( + -DENABLE_FFMPEG=$(usex ffmpeg) + -DENABLE_LINK=$(usex link) + -DENABLE_LIRC=$(usex lirc) + -DENABLE_NLS=$(usex nls) + -DENABLE_OPENAL=$(usex openal) + -DENABLE_SDL=$(usex sdl) + -DENABLE_WX=$(usex wxwidgets) + -DENABLE_ASM_CORE=$(usex x86) + -DENABLE_ASM_SCALERS=$(usex x86) + -DCMAKE_SKIP_RPATH=ON + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use sdl ; then + dodoc doc/ReadMe.SDL.txt + doman src/debian/vbam.6 + fi + use wxwidgets && doman src/debian/visualboyadvance-m.6 +} + +pkg_preinst() { + if use wxwidgets ; then + gnome2_icon_savelist + fi +} + +pkg_postinst() { + if use wxwidgets ; then + gnome2_icon_cache_update + xdg_desktop_database_update + fi +} + +pkg_postrm() { + if use wxwidgets ; then + gnome2_icon_cache_update + xdg_desktop_database_update + fi +} diff --git a/games-emulation/vbam/vbam-2.0.2.ebuild b/games-emulation/vbam/vbam-2.0.2.ebuild new file mode 100644 index 000000000000..53f480e326ee --- /dev/null +++ b/games-emulation/vbam/vbam-2.0.2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +WX_GTK_VER="3.0-gtk3" +inherit gnome2-utils wxwidgets xdg-utils cmake-utils + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/visualboyadvance-m/visualboyadvance-m.git" + inherit git-r3 +else + SRC_URI="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/visualboyadvance-m-${PV}" +fi + +DESCRIPTION="Game Boy, GBC, and GBA emulator forked from VisualBoyAdvance" +HOMEPAGE="https://github.com/visualboyadvance-m/visualboyadvance-m" + +LICENSE="GPL-2" +SLOT="0" +IUSE="ffmpeg link lirc nls openal +sdl wxwidgets" +REQUIRED_USE="openal? ( wxwidgets ) || ( sdl wxwidgets )" + +RDEPEND=" + >=media-libs/libpng-1.4:0= + media-libs/libsdl2[joystick] + link? ( >=media-libs/libsfml-2.0:= ) + sys-libs/zlib:= + virtual/glu + virtual/opengl + ffmpeg? ( media-video/ffmpeg:= ) + lirc? ( app-misc/lirc ) + nls? ( virtual/libintl ) + wxwidgets? ( + openal? ( media-libs/openal ) + x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] + )" +DEPEND="${RDEPEND} + app-arch/zip + wxwidgets? ( virtual/imagemagick-tools ) + x86? ( || ( dev-lang/nasm dev-lang/yasm ) ) + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +src_configure() { + use wxwidgets && setup-wxwidgets + local mycmakeargs=( + -DENABLE_FFMPEG=$(usex ffmpeg) + -DENABLE_LINK=$(usex link) + -DENABLE_LIRC=$(usex lirc) + -DENABLE_NLS=$(usex nls) + -DENABLE_OPENAL=$(usex openal) + -DENABLE_SDL=$(usex sdl) + -DENABLE_WX=$(usex wxwidgets) + -DENABLE_ASM_CORE=$(usex x86) + -DENABLE_ASM_SCALERS=$(usex x86) + -DCMAKE_SKIP_RPATH=ON + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use sdl ; then + dodoc doc/ReadMe.SDL.txt + doman src/debian/vbam.6 + fi + use wxwidgets && doman src/debian/visualboyadvance-m.6 +} + +pkg_preinst() { + if use wxwidgets ; then + gnome2_icon_savelist + fi +} + +pkg_postinst() { + if use wxwidgets ; then + gnome2_icon_cache_update + xdg_desktop_database_update + fi +} + +pkg_postrm() { + if use wxwidgets ; then + gnome2_icon_cache_update + xdg_desktop_database_update + fi +} diff --git a/games-emulation/vbam/vbam-9999.ebuild b/games-emulation/vbam/vbam-9999.ebuild new file mode 100644 index 000000000000..53f480e326ee --- /dev/null +++ b/games-emulation/vbam/vbam-9999.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +WX_GTK_VER="3.0-gtk3" +inherit gnome2-utils wxwidgets xdg-utils cmake-utils + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/visualboyadvance-m/visualboyadvance-m.git" + inherit git-r3 +else + SRC_URI="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/visualboyadvance-m-${PV}" +fi + +DESCRIPTION="Game Boy, GBC, and GBA emulator forked from VisualBoyAdvance" +HOMEPAGE="https://github.com/visualboyadvance-m/visualboyadvance-m" + +LICENSE="GPL-2" +SLOT="0" +IUSE="ffmpeg link lirc nls openal +sdl wxwidgets" +REQUIRED_USE="openal? ( wxwidgets ) || ( sdl wxwidgets )" + +RDEPEND=" + >=media-libs/libpng-1.4:0= + media-libs/libsdl2[joystick] + link? ( >=media-libs/libsfml-2.0:= ) + sys-libs/zlib:= + virtual/glu + virtual/opengl + ffmpeg? ( media-video/ffmpeg:= ) + lirc? ( app-misc/lirc ) + nls? ( virtual/libintl ) + wxwidgets? ( + openal? ( media-libs/openal ) + x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] + )" +DEPEND="${RDEPEND} + app-arch/zip + wxwidgets? ( virtual/imagemagick-tools ) + x86? ( || ( dev-lang/nasm dev-lang/yasm ) ) + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +src_configure() { + use wxwidgets && setup-wxwidgets + local mycmakeargs=( + -DENABLE_FFMPEG=$(usex ffmpeg) + -DENABLE_LINK=$(usex link) + -DENABLE_LIRC=$(usex lirc) + -DENABLE_NLS=$(usex nls) + -DENABLE_OPENAL=$(usex openal) + -DENABLE_SDL=$(usex sdl) + -DENABLE_WX=$(usex wxwidgets) + -DENABLE_ASM_CORE=$(usex x86) + -DENABLE_ASM_SCALERS=$(usex x86) + -DCMAKE_SKIP_RPATH=ON + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use sdl ; then + dodoc doc/ReadMe.SDL.txt + doman src/debian/vbam.6 + fi + use wxwidgets && doman src/debian/visualboyadvance-m.6 +} + +pkg_preinst() { + if use wxwidgets ; then + gnome2_icon_savelist + fi +} + +pkg_postinst() { + if use wxwidgets ; then + gnome2_icon_cache_update + xdg_desktop_database_update + fi +} + +pkg_postrm() { + if use wxwidgets ; then + gnome2_icon_cache_update + xdg_desktop_database_update + fi +} |