Permalink
Browse files

ebuild: add +0.8.0_rc3

  • Loading branch information...
1 parent 1dacda4 commit 95b75ad7516fe9bc58de17e93f4a83623111621b @karolherbst karolherbst committed Nov 16, 2012
@@ -3,7 +3,9 @@ DIST breakpad-850.tar.gz 5493662 SHA256 81e9b6565073f7f21a96f3aebd989db738419361
DIST cef-291.tar.gz 563020 SHA256 73932d96cd21b03e58f42bf1ea898740dc0490a38f6332e356c76fe02c04ef4d SHA512 1517f2f8cd32a0b62c85175028861600ebc643650494772a6b0730ed40d2bc103e0c673546940c2647467ef21a463610faf5996ed2541f8856a8ca4915ea065e WHIRLPOOL cdf824628dc76d11a0954c77f4a67e023cf3f523984d84c1590d633f59aa88c8e814aa8b15c83cb18129bdf9ae043f1b9d5db76b4714a937e47c8ce55bf48ae3
DIST desurium-0.8.0_rc1.tar.gz 3681947 SHA256 3afdde6a8fd762cae950b529f96cd9366addd1bb0e7cba6c48b09413e75e7fb9 SHA512 837f15c6e6cf433e223f090b0decaa7f21f5d45c775826ebf782aac444f4e2f0deac86c757c6e4e9472225cd4f934103d188aeebf2b588619a8108db550759cd WHIRLPOOL 062c42432562b70c72f08a82176cfc2010b8ee4af986953824db7ba79c4f9ce0e29c0c521eb802e3b7fdb6c9ddaba43c19786f622139628238a8891849db83f8
DIST desurium-0.8.0_rc2.tar.gz 3682037 SHA256 adda8f8cdea9b207eadf2f0d9cb4c677fb606106ec294d9db6d2e17d292ece12 SHA512 074ff475d0527bfeae25a4b03094cd74695bdade37a86e4f819b34696713639977374c1fb017a5eb83d167c80a36875c001e6ab31a7069db8ab2f0a112a60b01 WHIRLPOOL 5380895fdabde881be7016861602a1a7c1d764c4d316024e6fbc9ce521606ccd16fac620244a5f5043409db586195bf6f4066fc533575b408c988265cdc71d73
+DIST desurium-0.8.0_rc3.tar.gz 3682616 SHA256 dd60dea708e1eb06e193245f6befea80293033ae333b9c5d51244bce5db4ca91 SHA512 5f3c30bbdecf69a7468170f95248cb0b543c1241960ca02107fd16fdf70cca40af2eaf2e73a8fe7bca5001729f851cf96666eb50ebb85c529c9a45464fe9c11e WHIRLPOOL ec59f6b45b7d876e4dabae1d80f2357e8cfbb3cd4c23f09d316a0161d1a6c3a11f670bddc525f5a6b75e6f7c77b93a5a9ce2658b53f4ea8706dd1d7a0115cb47
EBUILD desurium-0.8.0_rc1.ebuild 3461 SHA256 3e014a5bce80299eb4115ced9f85cb058157c4e377a7215c469d576148af69c9 SHA512 abeecf45b28d34e68eaf219fd99bde051775a4dce8de6b9c6b84ce3f3a750a42dba2232125493cee9a6c3c0df83244212c10e1bd6cb649087e474b772e395d4c WHIRLPOOL 124847cf5616c12041cba3404498b164ed2d8a9959a0c00f325e344b0c83e9cb2a4bed196959464bb63b8cdac5109df7b433beba8ca3c692fd2adea5f93c98bb
EBUILD desurium-0.8.0_rc2.ebuild 3461 SHA256 3e014a5bce80299eb4115ced9f85cb058157c4e377a7215c469d576148af69c9 SHA512 abeecf45b28d34e68eaf219fd99bde051775a4dce8de6b9c6b84ce3f3a750a42dba2232125493cee9a6c3c0df83244212c10e1bd6cb649087e474b772e395d4c WHIRLPOOL 124847cf5616c12041cba3404498b164ed2d8a9959a0c00f325e344b0c83e9cb2a4bed196959464bb63b8cdac5109df7b433beba8ca3c692fd2adea5f93c98bb
+EBUILD desurium-0.8.0_rc3.ebuild 3461 SHA256 3e014a5bce80299eb4115ced9f85cb058157c4e377a7215c469d576148af69c9 SHA512 abeecf45b28d34e68eaf219fd99bde051775a4dce8de6b9c6b84ce3f3a750a42dba2232125493cee9a6c3c0df83244212c10e1bd6cb649087e474b772e395d4c WHIRLPOOL 124847cf5616c12041cba3404498b164ed2d8a9959a0c00f325e344b0c83e9cb2a4bed196959464bb63b8cdac5109df7b433beba8ca3c692fd2adea5f93c98bb
EBUILD desurium-9999.ebuild 3461 SHA256 3e014a5bce80299eb4115ced9f85cb058157c4e377a7215c469d576148af69c9 SHA512 abeecf45b28d34e68eaf219fd99bde051775a4dce8de6b9c6b84ce3f3a750a42dba2232125493cee9a6c3c0df83244212c10e1bd6cb649087e474b772e395d4c WHIRLPOOL 124847cf5616c12041cba3404498b164ed2d8a9959a0c00f325e344b0c83e9cb2a4bed196959464bb63b8cdac5109df7b433beba8ca3c692fd2adea5f93c98bb
MISC metadata.xml 662 SHA256 909a07f34681d1b58ba1bb2074fa0cab493b56bdd974bae9d49bfbbef55cf76b SHA512 fbeefab29537db365f73efede9e302056cb4e67c50a8a0e3be75747dab0a6b5e516c8a52ee8453173ce7ab91bb21ef55d415fc2ea024fae757f69f71588c819c WHIRLPOOL 6c569965fbcd27c22167b4c61a2c26e22cff61dd231b58870a26245be773a851695d8f5776ab8ea4cf3f7a4e15ad08f9f7a92e1f6873658dc7e88a8ebba66a15
@@ -0,0 +1,162 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+unset GIT_ECLASS
+
+GITHUB_MAINTAINER="lodle"
+GITHUB_PROJECT="${PN^}"
+
+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
+BREAKPAD_ARC="breakpad-850.tar.gz"
+BREAKPAD_URI="mirror://github/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/${BREAKPAD_ARC}"
+CEF_ARC="cef-291.tar.gz"
+CEF_URI="mirror://github/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/${CEF_ARC}"
+SRC_URI="${SRC_URI} ${BREAKPAD_URI} ${CEF_URI}"
+WX_GTK_VER="2.9"
+
+inherit cmake-utils eutils ${GIT_ECLASS} gnome2-utils wxwidgets games
+
+DESCRIPTION="Free software version of Desura game client"
+HOMEPAGE="https://github.com/lodle/Desurium"
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+32bit debug +games-deps tools"
+
+if [[ ${PV} != 9999* ]]; then
+ KEYWORDS="~amd64 ~x86"
+fi
+
+# some deps needed by some games
+GAMESDEPEND="
+ games-deps? (
+ dev-lang/mono
+ gnome-base/libglade
+ media-libs/libogg
+ media-libs/libpng:1.2
+ media-libs/libsdl[X,audio,joystick,opengl,video]
+ media-libs/libtheora
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/sdl-image
+ media-libs/sdl-ttf
+ virtual/ffmpeg
+ >=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]
+ ) )
+ )
+"
+
+# wxGTK-2.9.4.1 does not work!
+COMMON_DEPEND="
+ app-arch/bzip2
+ dev-db/sqlite
+ >=dev-libs/boost-1.47
+ 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]
+ )
+ >=sys-devel/gcc-4.5
+ virtual/pkgconfig
+ x11-libs/gtk+:2
+ x11-libs/libnotify
+ =x11-libs/wxGTK-2.9.3.1[X]
+
+ amd64? ( 32bit? (
+ sys-devel/gcc[multilib]
+ ) )
+"
+
+RDEPEND="
+ media-libs/desurium-cef
+ x11-misc/xdg-user-dirs
+ x11-misc/xdg-utils
+ ${COMMON_DEPEND}
+ ${GAMESDEPEND}
+"
+
+DEPEND="
+ ${COMMON_DEPEND}
+"
+
+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
+ -BUILD_ONLY_CEF=FALSE
+ $(cmake-utils_use debug DEBUG)
+ $(cmake-utils_use 32bit 32BIT_SUPPORT)
+ $(cmake-utils_use tools BUILD_TOOLS)
+ -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_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ doicon -s 256 "${FILESDIR}/${PN}.png"
+ make_desktop_entry "${GAMES_BINDIR}/desura" "Desurium"
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}

0 comments on commit 95b75ad

Please sign in to comment.