commit: 196d9ae4186d67957684f7e439220380d0c03303 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Thu Feb 6 20:47:27 2020 +0000 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> CommitDate: Thu Feb 6 21:22:35 2020 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=196d9ae4
Desura is dead. Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> games-util/desurium-meta/desurium-meta-0.ebuild | 40 ------ games-util/desurium-meta/desurium-meta-1.ebuild | 41 ------ games-util/desurium-meta/metadata.xml | 17 --- games-util/desurium/desurium-0.8.0_rc10-r1.ebuild | 155 -------------------- games-util/desurium/desurium-0.8.0_rc10-r2.ebuild | 159 --------------------- games-util/desurium/desurium-0.8.0_rc9-r1.ebuild | 157 -------------------- games-util/desurium/desurium-0.8.0_rc9.ebuild | 153 -------------------- games-util/desurium/desurium-9999.ebuild | 155 -------------------- .../desurium/files/desurium-v8-3.19.18.patch | 95 ------------ games-util/desurium/metadata.xml | 17 --- media-libs/desurium-cef/desurium-cef-4.ebuild | 105 -------------- media-libs/desurium-cef/desurium-cef-5-r1.ebuild | 110 -------------- media-libs/desurium-cef/desurium-cef-5.ebuild | 106 -------------- media-libs/desurium-cef/desurium-cef-9999.ebuild | 107 -------------- .../files/desurium-cef-5-nss-3.15.patch | 54 ------- media-libs/desurium-cef/metadata.xml | 10 -- 16 files changed, 1481 deletions(-) diff --git a/games-util/desurium-meta/desurium-meta-0.ebuild b/games-util/desurium-meta/desurium-meta-0.ebuild deleted file mode 100644 index 75d356a..0000000 --- a/games-util/desurium-meta/desurium-meta-0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DESCRIPTION="Desurium game client and dependencies (meta)" -HOMEPAGE="http://desura.com/" - -LICENSE="metapackage" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+32bit +games-deps" - -RDEPEND=" - games-deps? ( - dev-lang/mono[-minimal] - gnome-base/libglade - media-libs/libogg - media-libs/libpng:1.2 - media-libs/libsdl[X,joystick,opengl,sound,video] - media-libs/libtheora - media-libs/libvorbis - media-libs/openal - media-libs/sdl-image[gif,jpeg,png,tiff] - media-libs/sdl-ttf[X] - virtual/ffmpeg[X,mp3,sdl,theora,truetype] - >=virtual/jre-1.6 - amd64? ( 32bit? ( - app-emulation/emul-linux-x86-gtklibs - app-emulation/emul-linux-x86-gtkmmlibs - app-emulation/emul-linux-x86-medialibs - app-emulation/emul-linux-x86-opengl - app-emulation/emul-linux-x86-sdl - app-emulation/emul-linux-x86-soundlibs - app-emulation/emul-linux-x86-xlibs[opengl] - ) ) - ) - games-util/desurium[32bit?] - media-libs/desurium-cef" diff --git a/games-util/desurium-meta/desurium-meta-1.ebuild b/games-util/desurium-meta/desurium-meta-1.ebuild deleted file mode 100644 index 5d109e0..0000000 --- a/games-util/desurium-meta/desurium-meta-1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DESCRIPTION="Desurium game client and dependencies (meta)" -HOMEPAGE="http://desura.com/" - -LICENSE="metapackage" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+32bit +games-deps" - -RDEPEND=" - games-deps? ( - dev-lang/mono[-minimal] - gnome-base/libglade - media-libs/libogg - media-libs/libpng:1.2 - media-libs/libsdl[X,joystick,opengl,sound,video] - media-libs/libtheora - media-libs/libvorbis - media-libs/openal - media-libs/sdl-gfx - media-libs/sdl-image[gif,jpeg,png,tiff] - media-libs/sdl-ttf[X] - virtual/ffmpeg[X,mp3,sdl,theora,truetype] - >=virtual/jre-1.6 - amd64? ( 32bit? ( - app-emulation/emul-linux-x86-gtklibs - app-emulation/emul-linux-x86-gtkmmlibs - app-emulation/emul-linux-x86-medialibs - app-emulation/emul-linux-x86-opengl - app-emulation/emul-linux-x86-sdl - app-emulation/emul-linux-x86-soundlibs - app-emulation/emul-linux-x86-xlibs[opengl] - ) ) - ) - games-util/desurium[32bit?] - media-libs/desurium-cef" diff --git a/games-util/desurium-meta/metadata.xml b/games-util/desurium-meta/metadata.xml deleted file mode 100644 index 41dac1d..0000000 --- a/games-util/desurium-meta/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>games</herd> - <maintainer> - <email>[email protected]</email> - <name>Karol Herbst</name> - </maintainer> - <longdescription lang="en"> - Desura is a gaming client that allows users to one click download and install games and game modification. - For more information, visit http://www.moddb.com/groups/desura/forum/thread/open-sourcing-desura - </longdescription> - <use> - <flag name="32bit">add support for 32bit games in desurium</flag> - <flag name="games-deps">RUNTIME USE FLAG install known dependencies of games in desura</flag> - </use> -</pkgmetadata> diff --git a/games-util/desurium/desurium-0.8.0_rc10-r1.ebuild b/games-util/desurium/desurium-0.8.0_rc10-r1.ebuild deleted file mode 100644 index cf7d11f..0000000 --- a/games-util/desurium/desurium-0.8.0_rc10-r1.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -unset GIT_ECLASS -unset WX_ECLASS - -GITHUB_MAINTAINER="lodle" -GITHUB_PROJECT="Desurium" - -# tools versions -BREAKPAD_ARC="breakpad-850.tar.gz" -CEF_ARC="cef-291.tar.gz" -WX_ARC="wxWidgets-2.9.3.tar.bz2" -WX_GTK_VER="2.9" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" - GIT_ECLASS="git-2" - SRC_URI="" - EGIT_NOUNPACK="true" -else - DESURIUM_ARC="${P}.tar.gz" - SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${PV} -> ${DESURIUM_ARC}" -fi -SRC_URI="${SRC_URI} - mirror://sourceforge/desurium/${BREAKPAD_ARC} - mirror://sourceforge/desurium/${CEF_ARC} - bundled-wxgtk? ( - ftp://ftp.wxwidgets.org/pub/2.9.3/${WX_ARC} - )" - -inherit cmake-utils eutils ${GIT_ECLASS} gnome2-utils wxwidgets games toolchain-funcs - -DESCRIPTION="Free software version of Desura game client" -HOMEPAGE="https://github.com/lodle/Desurium" -LICENSE="GPL-3" -SLOT="0" -IUSE="+32bit +bundled-wxgtk debug test tools" - -if [[ ${PV} != 9999* ]]; then - KEYWORDS="~amd64 ~x86" -fi - -# wxGTK-2.9.4.1 does not work! -COMMON_DEPEND="app-arch/bzip2 - dev-db/sqlite - >=dev-libs/boost-1.47:= - dev-libs/glib:2 - dev-libs/openssl:0 - - || ( <dev-libs/tinyxml-2.6.2-r2[-stl] - >=dev-libs/tinyxml-2.6.2-r2 - ) - - dev-lang/v8:= - || ( - net-misc/curl[adns] - net-misc/curl[ares] - net-misc/curl[threads] - ) - >=sys-devel/gcc-4.6 - x11-libs/gtk+:2 - x11-libs/libnotify - x11-libs/libXt - !bundled-wxgtk? ( - =x11-libs/wxGTK-2.9.3.1[X] - ) - - amd64? ( 32bit? ( - sys-devel/gcc[multilib] - ) )" -RDEPEND=">=media-libs/desurium-cef-4 - x11-misc/xdg-user-dirs - x11-misc/xdg-utils - ${COMMON_DEPEND}" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(tc-getCC) =~ gcc ]]; then - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then - eerror "You need at least sys-devel/gcc-4.6.0" - die "You need at least sys-devel/gcc-4.6.0" - fi - fi - fi -} - -src_unpack() { - if [[ ${PV} = 9999* ]]; then - git-2_src_unpack - else - unpack ${DESURIUM_ARC} - S="${WORKDIR}/$(ls ${WORKDIR})" - fi -} - -src_configure() { - # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support - local mycmakeargs=( - -DWITH_ARES=FALSE - -DFORCE_SYS_DEPS=TRUE - -DBUILD_CEF=FALSE - $(cmake-utils_use test BUILD_TESTS) - -BUILD_ONLY_CEF=FALSE - $(cmake-utils_use debug DEBUG) - $(cmake-utils_use 32bit 32BIT_SUPPORT) - $(cmake-utils_use tools BUILD_TOOLS) - -DWITH_FLASH=FALSE - -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" - -DBREAKPAD_URL="file://${DISTDIR}/${BREAKPAD_ARC}" - -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" - -DBINDIR="${GAMES_BINDIR}" - -DDATADIR="${GAMES_DATADIR}" - -DRUNTIME_LIBDIR="$(games_get_libdir)" - -DINSTALL_DESKTOP_FILE=FALSE - -DDESKTOP_EXE=desura - -DDESKTOP_ICON=desurium - $(cmake-utils_use bundled-wxgtk FORCE_BUNDLED_WXGTK) - $(use bundled-wxgtk && echo -DWXWIDGET_URL="file://${DISTDIR}/${WX_ARC}") - ) - cmake-utils_src_configure -} - -src_compile() { - # even autotools does not respect AR properly sometimes - cmake-utils_src_compile AR=$(tc-getAR) -} - -src_install() { - cmake-utils_src_install - - newicon -s scalable "${S}/src/branding_${PN}/sources/desubot.svg" "${PN}.svg" - domenu "${BUILD_DIR}/desura.desktop" - - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-util/desurium/desurium-0.8.0_rc10-r2.ebuild b/games-util/desurium/desurium-0.8.0_rc10-r2.ebuild deleted file mode 100644 index d68e745..0000000 --- a/games-util/desurium/desurium-0.8.0_rc10-r2.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -unset GIT_ECLASS -unset WX_ECLASS - -GITHUB_MAINTAINER="lodle" -GITHUB_PROJECT="Desurium" - -# tools versions -BREAKPAD_ARC="breakpad-850.tar.gz" -CEF_ARC="cef-291.tar.gz" -WX_ARC="wxWidgets-2.9.3.tar.bz2" -WX_GTK_VER="2.9" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" - GIT_ECLASS="git-2" - SRC_URI="" - EGIT_NOUNPACK="true" -else - DESURIUM_ARC="${P}.tar.gz" - SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${PV} -> ${DESURIUM_ARC}" -fi -SRC_URI="${SRC_URI} - mirror://sourceforge/desurium/${BREAKPAD_ARC} - mirror://sourceforge/desurium/${CEF_ARC} - bundled-wxgtk? ( - ftp://ftp.wxwidgets.org/pub/2.9.3/${WX_ARC} - )" - -inherit cmake-utils eutils ${GIT_ECLASS} gnome2-utils wxwidgets games toolchain-funcs - -DESCRIPTION="Free software version of Desura game client" -HOMEPAGE="https://github.com/lodle/Desurium" -LICENSE="GPL-3" -SLOT="0" -IUSE="+32bit +bundled-wxgtk debug test tools" - -if [[ ${PV} != 9999* ]]; then - KEYWORDS="~amd64 ~x86" -fi - -# wxGTK-2.9.4.1 does not work! -COMMON_DEPEND="app-arch/bzip2 - dev-db/sqlite - >=dev-libs/boost-1.47:= - dev-libs/glib:2 - dev-libs/openssl:0 - - || ( <dev-libs/tinyxml-2.6.2-r2[-stl] - >=dev-libs/tinyxml-2.6.2-r2 - ) - - dev-lang/v8:= - || ( - net-misc/curl[adns] - net-misc/curl[ares] - net-misc/curl[threads] - ) - >=sys-devel/gcc-4.6 - x11-libs/gtk+:2 - x11-libs/libnotify - x11-libs/libXt - !bundled-wxgtk? ( - =x11-libs/wxGTK-2.9.3.1[X] - ) - - amd64? ( 32bit? ( - sys-devel/gcc[multilib] - ) )" -RDEPEND=">=media-libs/desurium-cef-4 - x11-misc/xdg-user-dirs - x11-misc/xdg-utils - ${COMMON_DEPEND}" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(tc-getCC) =~ gcc ]]; then - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then - eerror "You need at least sys-devel/gcc-4.6.0" - die "You need at least sys-devel/gcc-4.6.0" - fi - fi - fi -} - -src_unpack() { - if [[ ${PV} = 9999* ]]; then - git-2_src_unpack - else - unpack ${DESURIUM_ARC} - S="${WORKDIR}/$(ls ${WORKDIR})" - fi -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-v8-3.19.18.patch" -} - -src_configure() { - # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support - local mycmakeargs=( - -DWITH_ARES=FALSE - -DFORCE_SYS_DEPS=TRUE - -DBUILD_CEF=FALSE - $(cmake-utils_use test BUILD_TESTS) - -BUILD_ONLY_CEF=FALSE - $(cmake-utils_use debug DEBUG) - $(cmake-utils_use 32bit 32BIT_SUPPORT) - $(cmake-utils_use tools BUILD_TOOLS) - -DWITH_FLASH=FALSE - -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" - -DBREAKPAD_URL="file://${DISTDIR}/${BREAKPAD_ARC}" - -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" - -DBINDIR="${GAMES_BINDIR}" - -DDATADIR="${GAMES_DATADIR}" - -DRUNTIME_LIBDIR="$(games_get_libdir)" - -DINSTALL_DESKTOP_FILE=FALSE - -DDESKTOP_EXE=desura - -DDESKTOP_ICON=desurium - $(cmake-utils_use bundled-wxgtk FORCE_BUNDLED_WXGTK) - $(use bundled-wxgtk && echo -DWXWIDGET_URL="file://${DISTDIR}/${WX_ARC}") - ) - cmake-utils_src_configure -} - -src_compile() { - # even autotools does not respect AR properly sometimes - cmake-utils_src_compile AR=$(tc-getAR) -} - -src_install() { - cmake-utils_src_install - - newicon -s scalable "${S}/src/branding_${PN}/sources/desubot.svg" "${PN}.svg" - domenu "${BUILD_DIR}/desura.desktop" - - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-util/desurium/desurium-0.8.0_rc9-r1.ebuild b/games-util/desurium/desurium-0.8.0_rc9-r1.ebuild deleted file mode 100644 index 125ddb7..0000000 --- a/games-util/desurium/desurium-0.8.0_rc9-r1.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -unset GIT_ECLASS -unset WX_ECLASS - -GITHUB_MAINTAINER="lodle" -GITHUB_PROJECT="Desurium" - -# tools versions -BREAKPAD_ARC="breakpad-850.tar.gz" -CEF_ARC="cef-291.tar.gz" -WX_ARC="wxWidgets-2.9.3.tar.bz2" -WX_GTK_VER="2.9" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" - GIT_ECLASS="git-2" - SRC_URI="" - EGIT_NOUNPACK="true" -else - DESURIUM_ARC="${P}.tar.gz" - SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${PV} -> ${DESURIUM_ARC}" -fi -SRC_URI="${SRC_URI} - mirror://sourceforge/desurium/${BREAKPAD_ARC} - mirror://sourceforge/desurium/${CEF_ARC} - bundled-wxgtk? ( - ftp://ftp.wxwidgets.org/pub/2.9.3/${WX_ARC} - )" - -inherit cmake-utils eutils ${GIT_ECLASS} gnome2-utils wxwidgets games toolchain-funcs - -DESCRIPTION="Free software version of Desura game client" -HOMEPAGE="https://github.com/lodle/Desurium" -LICENSE="GPL-3" -SLOT="0" -IUSE="+32bit +bundled-wxgtk debug test tools" - -if [[ ${PV} != 9999* ]]; then - KEYWORDS="~amd64 ~x86" -fi - -# wxGTK-2.9.4.1 does not work! -COMMON_DEPEND="app-arch/bzip2 - dev-db/sqlite - >=dev-libs/boost-1.47:= - dev-libs/glib:2 - dev-libs/openssl:0 - - || ( <dev-libs/tinyxml-2.6.2-r2[-stl] - >=dev-libs/tinyxml-2.6.2-r2 - ) - - dev-lang/v8:= - || ( - net-misc/curl[adns] - net-misc/curl[ares] - net-misc/curl[threads] - ) - >=sys-devel/gcc-4.6 - x11-libs/gtk+:2 - x11-libs/libnotify - x11-libs/libXt - !bundled-wxgtk? ( - =x11-libs/wxGTK-2.9.3.1[X] - ) - - amd64? ( 32bit? ( - sys-devel/gcc[multilib] - ) )" -RDEPEND=">=media-libs/desurium-cef-4 - x11-misc/xdg-user-dirs - x11-misc/xdg-utils - ${COMMON_DEPEND}" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(tc-getCC) =~ gcc ]]; then - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then - eerror "You need at least sys-devel/gcc-4.6.0" - die "You need at least sys-devel/gcc-4.6.0" - fi - fi - fi -} - -src_unpack() { - if [[ ${PV} = 9999* ]]; then - git-2_src_unpack - else - unpack ${DESURIUM_ARC} - S="${WORKDIR}/$(ls ${WORKDIR})" - fi -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-v8-3.19.18.patch" -} - -src_configure() { - # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support - local mycmakeargs=( - -DWITH_ARES=FALSE - -DFORCE_SYS_DEPS=TRUE - -DBUILD_CEF=FALSE - $(cmake-utils_use test BUILD_TESTS) - -BUILD_ONLY_CEF=FALSE - $(cmake-utils_use debug DEBUG) - $(cmake-utils_use 32bit 32BIT_SUPPORT) - $(cmake-utils_use tools BUILD_TOOLS) - -DWITH_FLASH=FALSE - -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" - -DBREAKPAD_URL="file://${DISTDIR}/${BREAKPAD_ARC}" - -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" - -DBINDIR="${GAMES_BINDIR}" - -DDATADIR="${GAMES_DATADIR}" - -DRUNTIME_LIBDIR="$(games_get_libdir)" - -DDESKTOPDIR="/usr/share/applications" - $(cmake-utils_use bundled-wxgtk FORCE_BUNDLED_WXGTK) - $(use bundled-wxgtk && echo -DWXWIDGET_URL="file://${DISTDIR}/${WX_ARC}") - ) - cmake-utils_src_configure -} - -src_compile() { - # even autotools does not respect AR properly sometimes - cmake-utils_src_compile AR=$(tc-getAR) -} - -src_install() { - cmake-utils_src_install - - newicon -s scalable "${S}/src/branding_${PN}/sources/desubot.svg" "${PN}.svg" - make_desktop_entry "${GAMES_BINDIR}/desura" "Desurium" "${PN}" - - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-util/desurium/desurium-0.8.0_rc9.ebuild b/games-util/desurium/desurium-0.8.0_rc9.ebuild deleted file mode 100644 index cfc5317..0000000 --- a/games-util/desurium/desurium-0.8.0_rc9.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -unset GIT_ECLASS -unset WX_ECLASS - -GITHUB_MAINTAINER="lodle" -GITHUB_PROJECT="Desurium" - -# tools versions -BREAKPAD_ARC="breakpad-850.tar.gz" -CEF_ARC="cef-291.tar.gz" -WX_ARC="wxWidgets-2.9.3.tar.bz2" -WX_GTK_VER="2.9" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" - GIT_ECLASS="git-2" - SRC_URI="" - EGIT_NOUNPACK="true" -else - DESURIUM_ARC="${P}.tar.gz" - SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${PV} -> ${DESURIUM_ARC}" -fi -SRC_URI="${SRC_URI} - mirror://sourceforge/desurium/${BREAKPAD_ARC} - mirror://sourceforge/desurium/${CEF_ARC} - bundled-wxgtk? ( - ftp://ftp.wxwidgets.org/pub/2.9.3/${WX_ARC} - )" - -inherit cmake-utils eutils ${GIT_ECLASS} gnome2-utils wxwidgets games toolchain-funcs - -DESCRIPTION="Free software version of Desura game client" -HOMEPAGE="https://github.com/lodle/Desurium" -LICENSE="GPL-3" -SLOT="0" -IUSE="+32bit +bundled-wxgtk debug test tools" - -if [[ ${PV} != 9999* ]]; then - KEYWORDS="~amd64 ~x86" -fi - -# wxGTK-2.9.4.1 does not work! -COMMON_DEPEND="app-arch/bzip2 - dev-db/sqlite - >=dev-libs/boost-1.47:= - dev-libs/glib:2 - dev-libs/openssl:0 - - || ( <dev-libs/tinyxml-2.6.2-r2[-stl] - >=dev-libs/tinyxml-2.6.2-r2 - ) - - dev-lang/v8:= - || ( - net-misc/curl[adns] - net-misc/curl[ares] - net-misc/curl[threads] - ) - >=sys-devel/gcc-4.6 - x11-libs/gtk+:2 - x11-libs/libnotify - x11-libs/libXt - !bundled-wxgtk? ( - =x11-libs/wxGTK-2.9.3.1[X] - ) - - amd64? ( 32bit? ( - sys-devel/gcc[multilib] - ) )" -RDEPEND=">=media-libs/desurium-cef-4 - x11-misc/xdg-user-dirs - x11-misc/xdg-utils - ${COMMON_DEPEND}" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(tc-getCC) =~ gcc ]]; then - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then - eerror "You need at least sys-devel/gcc-4.6.0" - die "You need at least sys-devel/gcc-4.6.0" - fi - fi - fi -} - -src_unpack() { - if [[ ${PV} = 9999* ]]; then - git-2_src_unpack - else - unpack ${DESURIUM_ARC} - S="${WORKDIR}/$(ls ${WORKDIR})" - fi -} - -src_configure() { - # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support - local mycmakeargs=( - -DWITH_ARES=FALSE - -DFORCE_SYS_DEPS=TRUE - -DBUILD_CEF=FALSE - $(cmake-utils_use test BUILD_TESTS) - -BUILD_ONLY_CEF=FALSE - $(cmake-utils_use debug DEBUG) - $(cmake-utils_use 32bit 32BIT_SUPPORT) - $(cmake-utils_use tools BUILD_TOOLS) - -DWITH_FLASH=FALSE - -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" - -DBREAKPAD_URL="file://${DISTDIR}/${BREAKPAD_ARC}" - -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" - -DBINDIR="${GAMES_BINDIR}" - -DDATADIR="${GAMES_DATADIR}" - -DRUNTIME_LIBDIR="$(games_get_libdir)" - -DDESKTOPDIR="/usr/share/applications" - $(cmake-utils_use bundled-wxgtk FORCE_BUNDLED_WXGTK) - $(use bundled-wxgtk && echo -DWXWIDGET_URL="file://${DISTDIR}/${WX_ARC}") - ) - cmake-utils_src_configure -} - -src_compile() { - # even autotools does not respect AR properly sometimes - cmake-utils_src_compile AR=$(tc-getAR) -} - -src_install() { - cmake-utils_src_install - - newicon -s scalable "${S}/src/branding_${PN}/sources/desubot.svg" "${PN}.svg" - make_desktop_entry "${GAMES_BINDIR}/desura" "Desurium" "${PN}" - - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-util/desurium/desurium-9999.ebuild b/games-util/desurium/desurium-9999.ebuild deleted file mode 100644 index 79545ca..0000000 --- a/games-util/desurium/desurium-9999.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -unset GIT_ECLASS -unset WX_ECLASS - -GITHUB_MAINTAINER="desura" -GITHUB_PROJECT="Desurium" - -# tools versions -BREAKPAD_ARC="breakpad-850.tar.gz" -CEF_ARC="cef-291.tar.gz" -WX_ARC="wxWidgets-2.9.3.tar.bz2" -WX_GTK_VER="2.9" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" - GIT_ECLASS="git-2" - SRC_URI="" - EGIT_NOUNPACK="true" -else - DESURIUM_ARC="${P}.tar.gz" - SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${PV} -> ${DESURIUM_ARC}" -fi -SRC_URI="${SRC_URI} - mirror://sourceforge/desurium/${BREAKPAD_ARC} - mirror://sourceforge/desurium/${CEF_ARC} - bundled-wxgtk? ( - ftp://ftp.wxwidgets.org/pub/2.9.3/${WX_ARC} - )" - -inherit cmake-utils eutils ${GIT_ECLASS} gnome2-utils wxwidgets games toolchain-funcs - -DESCRIPTION="Free software version of Desura game client" -HOMEPAGE="https://github.com/lodle/Desurium" -LICENSE="GPL-3" -SLOT="0" -IUSE="+32bit +bundled-wxgtk debug gtest test tools" - -if [[ ${PV} != 9999* ]]; then - KEYWORDS="~amd64 ~x86" -fi - -# wxGTK-2.9.4.1 does not work! -COMMON_DEPEND="app-arch/bzip2 - gtest? ( - dev-cpp/gtest - ) - dev-db/sqlite - >=dev-libs/boost-1.47:= - dev-libs/glib:2 - dev-libs/openssl:0 - dev-libs/tinyxml2 - dev-lang/v8:= - || ( - net-misc/curl[adns] - net-misc/curl[ares] - net-misc/curl[threads] - ) - >=sys-devel/gcc-4.6 - x11-libs/gtk+:2 - x11-libs/libnotify - x11-libs/libXt - !bundled-wxgtk? ( - =x11-libs/wxGTK-2.9.3.1[X] - ) - - amd64? ( 32bit? ( - sys-devel/gcc[multilib] - ) )" -RDEPEND=">=media-libs/desurium-cef-4 - x11-misc/xdg-user-dirs - x11-misc/xdg-utils - ${COMMON_DEPEND}" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(tc-getCC) =~ gcc ]]; then - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then - eerror "You need at least sys-devel/gcc-4.6.0" - die "You need at least sys-devel/gcc-4.6.0" - fi - fi - fi -} - -src_unpack() { - if [[ ${PV} = 9999* ]]; then - git-2_src_unpack - else - unpack ${DESURIUM_ARC} - S="${WORKDIR}/$(ls ${WORKDIR})" - fi -} - -src_configure() { - # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support - local mycmakeargs=( - -DWITH_ARES=FALSE - -DFORCE_SYS_DEPS=TRUE - -DBUILD_CEF=FALSE - $(cmake-utils_use test BUILD_TESTS) - $(cmake-utils_use gtest WITH_GTEST) - -BUILD_ONLY_CEF=FALSE - $(cmake-utils_use debug DEBUG) - $(cmake-utils_use 32bit 32BIT_SUPPORT) - $(cmake-utils_use tools BUILD_TOOLS) - -DWITH_FLASH=FALSE - -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" - -DBREAKPAD_URL="file://${DISTDIR}/${BREAKPAD_ARC}" - -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" - -DBINDIR="${GAMES_BINDIR}" - -DDATADIR="${GAMES_DATADIR}" - -DRUNTIME_LIBDIR="$(games_get_libdir)" - -DINSTALL_DESKTOP_FILE=FALSE - -DDESKTOP_EXE=desura - -DDESKTOP_ICON=desurium - $(cmake-utils_use bundled-wxgtk FORCE_BUNDLED_WXGTK) - $(use bundled-wxgtk && echo -DWXWIDGET_URL="file://${DISTDIR}/${WX_ARC}") - ) - cmake-utils_src_configure -} - -src_compile() { - # even autotools does not respect AR properly sometimes - cmake-utils_src_compile AR=$(tc-getAR) -} - -src_install() { - cmake-utils_src_install - - newicon -s scalable "${S}/src/branding_${PN}/sources/desubot.svg" "${PN}.svg" - domenu "${BUILD_DIR}/desura.desktop" - - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-util/desurium/files/desurium-v8-3.19.18.patch b/games-util/desurium/files/desurium-v8-3.19.18.patch deleted file mode 100644 index ea9b1de..0000000 --- a/games-util/desurium/files/desurium-v8-3.19.18.patch +++ /dev/null @@ -1,95 +0,0 @@ -From c23c285ff185e5c97276cb323fdf1daa935eccad Mon Sep 17 00:00:00 2001 -From: Karol Herbst <[email protected]> -Date: Wed, 3 Jul 2013 19:26:09 +0200 -Subject: [PATCH] static/scriptengine: use Handle instead of Persistence - -fixes #569 - -v2: make it compatible with older versions of v8 ---- - src/static/scriptengine/code/ScriptCoreInternal.cpp | 8 ++++++-- - src/static/scriptengine/code/ScriptCoreInternal.h | 2 +- - src/static/scriptengine/code/jsExtensions.cpp | 6 +++--- - 3 files changed, 10 insertions(+), 6 deletions(-) - -diff --git a/src/static/scriptengine/code/ScriptCoreInternal.cpp b/src/static/scriptengine/code/ScriptCoreInternal.cpp -index 08d6d94..45565c3 100644 ---- a/src/static/scriptengine/code/ScriptCoreInternal.cpp -+++ b/src/static/scriptengine/code/ScriptCoreInternal.cpp -@@ -16,6 +16,10 @@ - along with this program. If not, see <http://www.gnu.org/licenses/> - */ - -+// we need this for compatibility -+#ifndef V8_USE_UNSAFE_HANDLES -+#define V8_USE_UNSAFE_HANDLES 1 -+#endif - - #include "Common.h" - #include "ScriptCoreInternal.h" -@@ -70,7 +74,7 @@ void ScriptCoreInternal::init() - global->Set(v8::String::New("Warning"), v8::FunctionTemplate::New(JSWarning)); - global->Set(v8::String::New("Debug"), v8::FunctionTemplate::New(JSDebug)); - -- v8::Persistent<v8::Context> context = v8::Context::New(RegisterJSBindings(), global); -+ v8::Handle<v8::Context> context = v8::Context::New(RegisterJSBindings(), global); - m_v8Context = context; - } - -@@ -79,7 +83,7 @@ void ScriptCoreInternal::del() - if (s_Disabled) - return; - -- m_v8Context.Dispose(); -+ m_v8Context.Clear(); - } - - void ScriptCoreInternal::runString(const char* string) -diff --git a/src/static/scriptengine/code/ScriptCoreInternal.h b/src/static/scriptengine/code/ScriptCoreInternal.h -index a7bc5ce..5a44b70 100644 ---- a/src/static/scriptengine/code/ScriptCoreInternal.h -+++ b/src/static/scriptengine/code/ScriptCoreInternal.h -@@ -45,7 +45,7 @@ class ScriptCoreInternal - - static void OnFatalError(const char* location, const char* message); - -- v8::Persistent<v8::Context> m_v8Context; -+ v8::Handle<v8::Context> m_v8Context; - }; - - -diff --git a/src/static/scriptengine/code/jsExtensions.cpp b/src/static/scriptengine/code/jsExtensions.cpp -index a3179e4..2b5e243 100644 ---- a/src/static/scriptengine/code/jsExtensions.cpp -+++ b/src/static/scriptengine/code/jsExtensions.cpp -@@ -26,8 +26,8 @@ class JSObject : public ChromiumDLL::JavaScriptObjectI - { - public: - JSObject(v8::Handle<v8::Value> obj, bool isException = false) -+ : m_v8Object(obj) - { -- m_v8Object = v8::Persistent<v8::Value>::New(obj); - m_iRefCount = 1; - m_bIsException = isException; - } -@@ -224,7 +224,7 @@ class JSObject : public ChromiumDLL::JavaScriptObjectI - return (T*)getUserObject(); - } - -- v8::Persistent<v8::Value> getNative() -+ v8::Handle<v8::Value> getNative() - { - return m_v8Object; - } -@@ -232,7 +232,7 @@ class JSObject : public ChromiumDLL::JavaScriptObjectI - private: - bool m_bIsException; - uint32 m_iRefCount; -- v8::Persistent<v8::Value> m_v8Object; -+ v8::Handle<v8::Value> m_v8Object; - }; - - --- -1.8.1.6 - diff --git a/games-util/desurium/metadata.xml b/games-util/desurium/metadata.xml deleted file mode 100644 index 5385ea5..0000000 --- a/games-util/desurium/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<pkgmetadata> - <herd>games</herd> - <maintainer> - <email>[email protected]</email> - <name>Karol Herbst</name> - </maintainer> - <longdescription lang="en"> - Desura is a gaming client that allows users to one click download and install games and game modification. - For more information, visit http://www.moddb.com/groups/desura/forum/thread/open-sourcing-desura - </longdescription> - <use> - <flag name="32bit">add support for 32bit games in desurium</flag> - <flag name="bundled-wxgtk">build own wxGTK+-2.9.3 (recommended)</flag> - <flag name="gtest">enable runtime checks through gtest</flag> - <flag name="tools">install useful tools e.g. uploader</flag> - </use> -</pkgmetadata> diff --git a/media-libs/desurium-cef/desurium-cef-4.ebuild b/media-libs/desurium-cef/desurium-cef-4.ebuild deleted file mode 100644 index e0668b6..0000000 --- a/media-libs/desurium-cef/desurium-cef-4.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_COMPAT=( python2_6 python2_7 ) - -unset GIT_ECLASS - -GITHUB_MAINTAINER="lodle" -GITHUB_PROJECT="Desurium" -DESURIUM_VERSION="0.8.0_rc7" - -# tools versions -CEF_ARC="cef-291.tar.gz" -CHROMIUM_ARC="chromium-15.0.876.0.tar.bz2" -DEPOT_TOOLS_ARC="depot_tools-145556-2.tar.gz" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" - GIT_ECLASS="git-2" - SRC_URI="" - EGIT_NOUNPACK="true" -else - DESURIUM_ARC="desurium-${DESURIUM_VERSION}.tar.gz" - SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${DESURIUM_VERSION} -> ${DESURIUM_ARC}" -fi -SRC_URI="${SRC_URI} - mirror://sourceforge/desurium/${CEF_ARC} - http://commondatastorage.googleapis.com/chromium-browser-official/${CHROMIUM_ARC} - mirror://sourceforge/desurium/${DEPOT_TOOLS_ARC}" - -inherit check-reqs cmake-utils eutils ${GIT_ECLASS} python-any-r1 games - -CHECKREQS_DISK_BUILD="3G" - -DESCRIPTION="highly patched CEF by desurium." -HOMEPAGE="https://github.com/lodle/Desurium" -LICENSE="BSD" -SLOT="0" -IUSE="" - -if [[ ${PV} != 9999* ]]; then - KEYWORDS="~amd64 ~x86" -fi - -# wxGTK-2.9.4.1 does not work! -COMMON_DEPEND=" - app-arch/bzip2 - dev-libs/dbus-glib - dev-libs/libevent - dev-libs/libxml2 - dev-libs/nss - media-libs/alsa-lib - media-libs/flac - media-libs/libpng:0 - media-libs/libwebp - media-libs/speex - sys-apps/dbus - sys-libs/zlib - virtual/jpeg" -RDEPEND="${COMMON_DEPEND}" -DEPEND=" - dev-lang/yasm - dev-util/gperf - ${COMMON_DEPEND} - ${PYTHON_DEPS}" - -pkg_setup() { - python-any-r1_pkg_setup - games_pkg_setup -} - -src_unpack() { - if [[ ${PV} = 9999* ]]; then - git-2_src_unpack - else - unpack ${DESURIUM_ARC} - S="${WORKDIR}/$(ls ${WORKDIR})" - fi -} - -src_configure() { - # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support - local mycmakeargs=( - -DFORCE_SYS_DEPS=TRUE - -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" - -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" - -DCHROMIUM_URL="file://${DISTDIR}/${CHROMIUM_ARC}" - -DDEPOT_TOOLS_URL="file://${DISTDIR}/${DEPOT_TOOLS_ARC}" - -DBUILD_ONLY_CEF=TRUE - -DRUNTIME_LIBDIR="$(games_get_libdir)" - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - prepgamesdirs -} diff --git a/media-libs/desurium-cef/desurium-cef-5-r1.ebuild b/media-libs/desurium-cef/desurium-cef-5-r1.ebuild deleted file mode 100644 index 8c94165..0000000 --- a/media-libs/desurium-cef/desurium-cef-5-r1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_COMPAT=( python2_6 python2_7 ) - -unset GIT_ECLASS - -GITHUB_MAINTAINER="lodle" -GITHUB_PROJECT="Desurium" -DESURIUM_VERSION="0.8.0_rc9" - -# tools versions -CEF_ARC="cef-291.tar.gz" -CHROMIUM_ARC="chromium-15.0.876.0.tar.bz2" -DEPOT_TOOLS_ARC="depot_tools-145556-2.tar.gz" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" - GIT_ECLASS="git-2" - SRC_URI="" - EGIT_NOUNPACK="true" -else - DESURIUM_ARC="desurium-${DESURIUM_VERSION}.tar.gz" - SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${DESURIUM_VERSION} -> ${DESURIUM_ARC}" -fi -SRC_URI="${SRC_URI} - mirror://sourceforge/desurium/${CEF_ARC} - http://commondatastorage.googleapis.com/chromium-browser-official/${CHROMIUM_ARC} - mirror://sourceforge/desurium/${DEPOT_TOOLS_ARC}" - -inherit check-reqs cmake-utils eutils ${GIT_ECLASS} python-any-r1 games - -CHECKREQS_DISK_BUILD="3G" - -DESCRIPTION="highly patched CEF by desurium." -HOMEPAGE="https://github.com/lodle/Desurium" -LICENSE="BSD" -SLOT="0" -RESTRICT="bindist" - -if [[ ${PV} != 9999* ]]; then - KEYWORDS="~amd64 ~x86" -fi - -# wxGTK-2.9.4.1 does not work! -COMMON_DEPEND=" - app-arch/bzip2 - dev-libs/dbus-glib - dev-libs/libevent - dev-libs/libxml2 - dev-libs/nss - media-libs/alsa-lib - media-libs/flac - media-libs/libpng:0 - media-libs/libwebp - media-libs/speex - sys-apps/dbus - sys-libs/zlib - virtual/jpeg" -RDEPEND="${COMMON_DEPEND}" -DEPEND=" - dev-lang/yasm - dev-util/gperf - ${COMMON_DEPEND} - ${PYTHON_DEPS}" - -pkg_setup() { - python-any-r1_pkg_setup - games_pkg_setup -} - -src_unpack() { - if [[ ${PV} = 9999* ]]; then - git-2_src_unpack - else - unpack ${DESURIUM_ARC} - S="${WORKDIR}/$(ls ${WORKDIR})" - fi -} - -src_prepare() { - epatch "${FILESDIR}/${P}-nss-3.15.patch" -} - -src_configure() { - # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support - local mycmakeargs=( - -DFORCE_SYS_DEPS=TRUE - -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" - -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" - -DCHROMIUM_URL="file://${DISTDIR}/${CHROMIUM_ARC}" - -DDEPOT_TOOLS_URL="file://${DISTDIR}/${DEPOT_TOOLS_ARC}" - -DBUILD_ONLY_CEF=TRUE - -DRUNTIME_LIBDIR="$(games_get_libdir)" - -DH264_SUPPORT=TRUE - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - prepgamesdirs -} diff --git a/media-libs/desurium-cef/desurium-cef-5.ebuild b/media-libs/desurium-cef/desurium-cef-5.ebuild deleted file mode 100644 index bd9754c..0000000 --- a/media-libs/desurium-cef/desurium-cef-5.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_COMPAT=( python2_6 python2_7 ) - -unset GIT_ECLASS - -GITHUB_MAINTAINER="lodle" -GITHUB_PROJECT="Desurium" -DESURIUM_VERSION="0.8.0_rc9" - -# tools versions -CEF_ARC="cef-291.tar.gz" -CHROMIUM_ARC="chromium-15.0.876.0.tar.bz2" -DEPOT_TOOLS_ARC="depot_tools-145556-2.tar.gz" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" - GIT_ECLASS="git-2" - SRC_URI="" - EGIT_NOUNPACK="true" -else - DESURIUM_ARC="desurium-${DESURIUM_VERSION}.tar.gz" - SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${DESURIUM_VERSION} -> ${DESURIUM_ARC}" -fi -SRC_URI="${SRC_URI} - mirror://sourceforge/desurium/${CEF_ARC} - http://commondatastorage.googleapis.com/chromium-browser-official/${CHROMIUM_ARC} - mirror://sourceforge/desurium/${DEPOT_TOOLS_ARC}" - -inherit check-reqs cmake-utils eutils ${GIT_ECLASS} python-any-r1 games - -CHECKREQS_DISK_BUILD="3G" - -DESCRIPTION="highly patched CEF by desurium." -HOMEPAGE="https://github.com/lodle/Desurium" -LICENSE="BSD" -SLOT="0" -RESTRICT="bindist" - -if [[ ${PV} != 9999* ]]; then - KEYWORDS="~amd64 ~x86" -fi - -# wxGTK-2.9.4.1 does not work! -COMMON_DEPEND=" - app-arch/bzip2 - dev-libs/dbus-glib - dev-libs/libevent - dev-libs/libxml2 - dev-libs/nss - media-libs/alsa-lib - media-libs/flac - media-libs/libpng:0 - media-libs/libwebp - media-libs/speex - sys-apps/dbus - sys-libs/zlib - virtual/jpeg" -RDEPEND="${COMMON_DEPEND}" -DEPEND=" - dev-lang/yasm - dev-util/gperf - ${COMMON_DEPEND} - ${PYTHON_DEPS}" - -pkg_setup() { - python-any-r1_pkg_setup - games_pkg_setup -} - -src_unpack() { - if [[ ${PV} = 9999* ]]; then - git-2_src_unpack - else - unpack ${DESURIUM_ARC} - S="${WORKDIR}/$(ls ${WORKDIR})" - fi -} - -src_configure() { - # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support - local mycmakeargs=( - -DFORCE_SYS_DEPS=TRUE - -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" - -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" - -DCHROMIUM_URL="file://${DISTDIR}/${CHROMIUM_ARC}" - -DDEPOT_TOOLS_URL="file://${DISTDIR}/${DEPOT_TOOLS_ARC}" - -DBUILD_ONLY_CEF=TRUE - -DRUNTIME_LIBDIR="$(games_get_libdir)" - -DH264_SUPPORT=TRUE - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - prepgamesdirs -} diff --git a/media-libs/desurium-cef/desurium-cef-9999.ebuild b/media-libs/desurium-cef/desurium-cef-9999.ebuild deleted file mode 100644 index d332624..0000000 --- a/media-libs/desurium-cef/desurium-cef-9999.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_COMPAT=( python2_6 python2_7 ) - -unset GIT_ECLASS - -GITHUB_MAINTAINER="lodle" -GITHUB_PROJECT="Desurium" -DESURIUM_VERSION="0.8.0_rc9" - -# tools versions -CEF_ARC="cef-291.tar.gz" -CHROMIUM_ARC="chromium-15.0.876.0.tar.bz2" -DEPOT_TOOLS_ARC="depot_tools-145556-2.tar.gz" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" - GIT_ECLASS="git-2" - SRC_URI="" - EGIT_NOUNPACK="true" -else - DESURIUM_ARC="desurium-${DESURIUM_VERSION}.tar.gz" - SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${DESURIUM_VERSION} -> ${DESURIUM_ARC}" -fi -SRC_URI="${SRC_URI} - mirror://sourceforge/desurium/${CEF_ARC} - http://commondatastorage.googleapis.com/chromium-browser-official/${CHROMIUM_ARC} - mirror://sourceforge/desurium/${DEPOT_TOOLS_ARC}" - -inherit check-reqs cmake-utils eutils ${GIT_ECLASS} toolchain-funcs python-any-r1 games - -CHECKREQS_DISK_BUILD="3G" - -DESCRIPTION="highly patched CEF by desurium." -HOMEPAGE="https://github.com/lodle/Desurium" -LICENSE="BSD" -SLOT="0" -RESTRICT="bindist" - -if [[ ${PV} != 9999* ]]; then - KEYWORDS="~amd64 ~x86" -fi - -# wxGTK-2.9.4.1 does not work! -COMMON_DEPEND=" - app-arch/bzip2 - dev-libs/dbus-glib - dev-libs/libevent - dev-libs/libxml2 - dev-libs/nss - media-libs/alsa-lib - media-libs/flac - media-libs/libpng:0 - media-libs/libwebp - media-libs/speex - sys-apps/dbus - sys-libs/zlib - virtual/jpeg" -RDEPEND="${COMMON_DEPEND}" -DEPEND=" - dev-lang/yasm - dev-util/gperf - ${COMMON_DEPEND} - ${PYTHON_DEPS}" - -pkg_setup() { - python-any-r1_pkg_setup - games_pkg_setup -} - -src_unpack() { - if [[ ${PV} = 9999* ]]; then - git-2_src_unpack - else - unpack ${DESURIUM_ARC} - S="${WORKDIR}/$(ls ${WORKDIR})" - fi -} - -src_configure() { - # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support - local mycmakeargs=( - -DFORCE_SYS_DEPS=TRUE - -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" - -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" - -DCHROMIUM_URL="file://${DISTDIR}/${CHROMIUM_ARC}" - -DDEPOT_TOOLS_URL="file://${DISTDIR}/${DEPOT_TOOLS_ARC}" - -DBUILD_ONLY_CEF=TRUE - -DRUNTIME_LIBDIR="$(games_get_libdir)" - -DH264_SUPPORT=TRUE - ) - cmake-utils_src_configure -} - -src_compile() { - # even autotools does not respect AR properly sometimes - cmake-utils_src_compile AR=$(tc-getAR) -} - -src_install() { - cmake-utils_src_install - prepgamesdirs -} diff --git a/media-libs/desurium-cef/files/desurium-cef-5-nss-3.15.patch b/media-libs/desurium-cef/files/desurium-cef-5-nss-3.15.patch deleted file mode 100644 index 03dd06d..0000000 --- a/media-libs/desurium-cef/files/desurium-cef-5-nss-3.15.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 30e8bea05e5a36c061918d409f436a27b5bc7d94 Mon Sep 17 00:00:00 2001 -From: Jookia <[email protected]> -Date: Sat, 10 Aug 2013 18:33:36 +1000 -Subject: [PATCH] Fixed NSS 3.15 errors. - ---- - cmake/modules/BuildCEF.cmake | 8 ++++++++ - cmake/patches/chromium-nss-3.15.patch | 15 +++++++++++++++ - 2 files changed, 23 insertions(+) - create mode 100644 cmake/patches/chromium-nss-3.15.patch - -diff --git a/cmake/modules/BuildCEF.cmake b/cmake/modules/BuildCEF.cmake -index b69c92c..7860816 100644 ---- a/cmake/modules/BuildCEF.cmake -+++ b/cmake/modules/BuildCEF.cmake -@@ -126,6 +126,14 @@ if(BUILD_CEF OR BUILD_ONLY_CEF) - - ExternalProject_Add_Step( - cef -+ nss-3-15-patch -+ COMMAND ${CMAKE_SCRIPT_PATH}/patch.sh ${CMAKE_SOURCE_DIR}/cmake/patches/chromium-nss-3.15.patch -+ DEPENDERS patch -+ WORKING_DIRECTORY ${CHROMIUM_SOURCE_DIR}/src -+ ) -+ -+ ExternalProject_Add_Step( -+ cef - config_cef - COMMAND ${CMAKE_SCRIPT_PATH}/depot_tools_wrapper.sh ${DEPOT_TOOLS_BIN_DIR} ./cef_create_projects.sh - DEPENDEES download -diff --git a/cmake/patches/chromium-nss-3.15.patch b/cmake/patches/chromium-nss-3.15.patch -new file mode 100644 -index 0000000..5c091f1 ---- /dev/null -+++ b/cmake/patches/chromium-nss-3.15.patch -@@ -0,0 +1,15 @@ -+--- net/base/x509_certificate_nss.cc 2013-08-10 18:15:03.643999871 +1000 -++++ net/base/x509_certificate_nss.cc 2013-08-10 18:28:45.269823335 +1000 -+@@ -275,7 +275,11 @@ -+ -+ void ParsePrincipal(CERTName* name, -+ CertPrincipal* principal) { -+- typedef char* (*CERTGetNameFunc)(CERTName* name); -++ #if NSS_VMINOR >= 15 -++ typedef char* (*CERTGetNameFunc)(CERTName const* name); -++ #else -++ typedef char* (*CERTGetNameFunc)(CERTName* name); -++ #endif -+ -+ // TODO(jcampan): add business_category and serial_number. -+ // TODO(wtc): NSS has the CERT_GetOrgName, CERT_GetOrgUnitName, and --- -1.8.4 - diff --git a/media-libs/desurium-cef/metadata.xml b/media-libs/desurium-cef/metadata.xml deleted file mode 100644 index 7418ec9..0000000 --- a/media-libs/desurium-cef/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<pkgmetadata> - <herd>games</herd> - <maintainer> - <email>[email protected]</email> - <name>Karol Herbst</name> - </maintainer> - <longdescription lang="en"> - Chromium Embedded Framework implementation for the Desurium client. - </longdescription> -</pkgmetadata>
