Browse Source

Remove games-strategy/0ad and dev-lang/spidermonkey (depebdency of 0ad)

because of ebuild for 0ad is very old
master
Sergey Morozov 4 years ago
parent
commit
bf4d903b0d
4 changed files with 0 additions and 241 deletions
  1. +0
    -2
      dev-lang/spidermonkey/Manifest
  2. +0
    -138
      dev-lang/spidermonkey/spidermonkey-31.2.0_rc0.ebuild
  3. +0
    -100
      games-strategy/0ad/0ad-9999.ebuild
  4. +0
    -1
      games-strategy/0ad/Manifest

+ 0
- 2
dev-lang/spidermonkey/Manifest View File

@@ -1,2 +0,0 @@
DIST mozjs-31.2.0.rc0.tar.bz2 21410352 SHA256 85d7079ede6828277f26581cdf3f5773f4205df6312f768e1434ce9ec3911621 SHA512 6a2025f0c419e56b89876a3543aabc459cdcf915a4cf4aedc55d89fc59d469d23aee2d505a930442e887705f0d62762e2218b312c5d56741cdb5aa54433cb71b WHIRLPOOL d76d98ad3aabd41877f833634f42a79cee76f4e8bd72ff95042addae3b765d83d64fcfe95586498d5df4754b3defc86bb54a619fee6eb63600fbd8b55cd794cc
EBUILD spidermonkey-31.2.0_rc0.ebuild 3984 SHA256 c1dbc89b9d17a044cf1c94477c36d960d12546bd76e20123b2a98e415fa1f620 SHA512 5ee10a53979099e6d4fcbdd0269138c0822c492d47be6a506b2c65bb9d38c1c7b7b16fbca7e57abf9601724a0d226d9524d71de8009faec40cf34ef4c90c25cf WHIRLPOOL 4aac6081981e136f2d2d727c89a2fc0076102e0aadc58197555d756dd04a828724579037c51caafc16028e6cd9e29ef0ac9eb7ee618e51a681abea6d59aba638

+ 0
- 138
dev-lang/spidermonkey/spidermonkey-31.2.0_rc0.ebuild View File

@@ -1,138 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-24.2.0-r1.ebuild,v 1.1 2014/03/08 14:38:51 anarchy Exp $

EAPI="5"
WANT_AUTOCONF="2.1"
PYTHON_COMPAT=( python2_{6,7} )
PYTHON_REQ_USE="threads"
inherit autotools eutils toolchain-funcs multilib python-any-r1 versionator pax-utils

MY_PN="mozjs"
MY_PV="${PV/_alpha/a}"
MY_PV="${PV/_beta/b}"
MY_P="${MY_PN}-${MY_PV/_/.}"
DESCRIPTION="Stand-alone JavaScript C library"
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
#SRC_URI="https://ftp.mozilla.org/pub/mozilla.org/js/${MY_P}.tar.bz2"
SRC_URI="http://people.mozilla.org/~sstangl/${MY_P}.tar.bz2"

LICENSE="NPL-1.1"
SLOT="31"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="debug +jit icu minimal static-libs +system-icu test"

RESTRICT="ia64? ( test )"
REQUIRED_USE="debug? ( jit )"

S="${WORKDIR}/${MY_P%.rc*}"
BUILDDIR="${WORKDIR}/jsbuild"

RDEPEND=">=dev-libs/nspr-4.9.4
virtual/libffi
>=sys-libs/zlib-1.1.4
system-icu? ( >=dev-libs/icu-1.51:= )"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
app-arch/zip
virtual/pkgconfig"

pkg_setup(){
if [[ ${MERGE_TYPE} != "binary" ]]; then
python-any-r1_pkg_setup
export LC_ALL="C"
fi
}

src_configure() {
mkdir "${BUILDDIR}" && cd "${BUILDDIR}" || die

local myopts=""
if use icu; then # make sure system-icu flag only affects icu-enabled build
myopts+="$(use_with system-icu)"
else
myopts+="--without-system-icu"
fi

CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
LD="$(tc-getLD)" \
ECONF_SOURCE="${S}/js/src" \
econf ${myopts} \
--disable-trace-malloc \
--enable-jemalloc \
--enable-readline \
--enable-threadsafe \
--with-system-nspr \
--enable-system-ffi \
--disable-optimize \
$(use_with icu intl-api) \
$(use_enable debug) \
$(use_enable jit ion) \
$(use_enable jit yarr-jit) \
$(use_enable static-libs static) \
$(use_enable test tests)
}

src_compile() {
cd "${BUILDDIR}" || die
if tc-is-cross-compiler; then
make CFLAGS="" CXXFLAGS="" \
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
MOZ_OPTIMIZE_FLAGS="" MOZ_DEBUG_FLAGS="" \
HOST_OPTIMIZE_FLAGS="" MODULE_OPTIMIZE_FLAGS="" \
MOZ_PGO_OPTIMIZE_FLAGS="" \
jscpucfg host_jsoplengen host_jskwgen || die
make CFLAGS="" CXXFLAGS="" \
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
MOZ_OPTIMIZE_FLAGS="" MOZ_DEBUG_FLAGS="" HOST_OPTIMIZE_FLAGS="" \
-C config nsinstall || die
mv {,native-}jscpucfg || die
mv {,native-}host_jskwgen || die
mv {,native-}host_jsoplengen || die
mv config/{,native-}nsinstall || die
sed -e 's@./jscpucfg@./native-jscpucfg@' \
-e 's@./host_jskwgen@./native-host_jskwgen@' \
-e 's@./host_jsoplengen@./native-host_jsoplengen@' \
-i Makefile || die
sed -e 's@/nsinstall@/native-nsinstall@' -i config/config.mk || die
rm -f config/host_nsinstall.o \
config/host_pathsub.o \
host_jskwgen.o \
host_jsoplengen.o || die
fi
emake \
MOZ_OPTIMIZE_FLAGS="" MOZ_DEBUG_FLAGS="" \
HOST_OPTIMIZE_FLAGS="" MODULE_OPTIMIZE_FLAGS="" \
MOZ_PGO_OPTIMIZE_FLAGS=""
}

src_test() {
cd "${BUILDDIR}/js/src/jsapi-tests" || die
emake check
cd "${BUILDDIR}" || die
emake check-jit-test
}

src_install() {
cd "${BUILDDIR}" || die
emake DESTDIR="${D}" install
mv "${ED}"/usr/bin/js "${ED}"/usr/bin/js${SLOT}
mv "${ED}"/usr/bin/js-config "${ED}"/usr/bin/js${SLOT}-config

if ! use minimal; then
if use jit; then
pax-mark m "${ED}/usr/bin/js${SLOT}"
fi
else
rm -f "${ED}/usr/bin/js${SLOT}"
fi

if ! use static-libs; then
# We can't actually disable building of static libraries
# They're used by the tests and in a few other places
find "${D}" -iname '*.a' -delete || die
fi
}

+ 0
- 100
games-strategy/0ad/0ad-9999.ebuild View File

@@ -1,100 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

WX_GTK_VER="2.8"

inherit eutils subversion wxwidgets games

MY_PV="r${PV%_*}-alpha"
MY_P=${PN}-${MY_PV}

DESCRIPTION="A free, real-time strategy game of ancient warfare"
HOMEPAGE="http://play0ad.com/"
ESVN_REPO_URI="http://svn.wildfiregames.com/public/ps/trunk"

LICENSE="GPL-2 LGPL-2.1 MIT CC-BY-SA-3.0 as-is"
SLOT="svn"
KEYWORDS=""
IUSE="+audio editor fam +lobby pch test upnp"

RDEPEND="media-gfx/nvidia-texture-tools
dev-lang/spidermonkey:31
dev-libs/boost
dev-libs/libxml2
media-libs/libpng:0
media-libs/libsdl[X,opengl,video]
net-libs/enet:1.3
lobby? ( net-libs/gloox )
upnp? ( net-libs/miniupnpc )
net-misc/curl
sys-libs/zlib
virtual/jpeg
virtual/opengl
x11-libs/libX11
x11-libs/libXcursor
audio? ( media-libs/libogg
media-libs/libvorbis
media-libs/openal )
editor? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )"
DEPEND="${RDEPEND}
virtual/pkgconfig
test? ( dev-lang/perl )"

S=${WORKDIR}/trunk

CHECKREQS_DISK_USR="1900M"

src_unpack() {
subversion_src_unpack
}

src_configure() {
cd build/workspaces || die

./update-workspaces.sh \
--with-system-nvtt \
--with-system-mozjs31 \
$(usex pch "" "--without-pch") \
$(usex test "" "--without-tests") \
$(usex audio "" "--without-audio") \
$(usex lobby "" "--without-lobby") \
$(usex upnp "" "--without-miniupnpc") \
$(use_enable editor atlas) \
--bindir="${GAMES_BINDIR}" \
--libdir="$(games_get_libdir)"/${PN}-${SLOT} \
--datadir="${GAMES_DATADIR}"/${PN}-${SLOT}
}

src_compile() {
emake -C build/workspaces/gcc verbose=1
}

src_test() {
cd binaries/system || die
./test -libdir "${S}/binaries/system" || die "test phase failed"
}

src_install() {
# data
insinto "${GAMES_DATADIR}"/${PN}-${SLOT}
doins -r binaries/data/*

# bin
newgamesbin binaries/system/pyrogenesis 0ad-${SLOT}

# libs
exeinto "$(games_get_libdir)"/${PN}-${SLOT}
doexe binaries/system/libCollada.so
use editor && doexe binaries/system/libAtlasUI.so

# other
dodoc binaries/system/readme.txt
newicon build/resources/${PN}.png ${PN}-${SLOT}.png
make_desktop_entry ${PN}-${SLOT} "0 A.D. (svn)"

# permissions
prepgamesdirs
}

+ 0
- 1
games-strategy/0ad/Manifest View File

@@ -1 +0,0 @@
EBUILD 0ad-9999.ebuild 2236 SHA256 cc9d179582b3b38d611af4f0f6585453b7b67b092b5fc8138b7621306d1bb812 SHA512 c21d6603298278e3b670112d4d236ed8a28fd7e5f85830b4b98b49af0930646504ea7f21a91002dc0d6e8eb935615677a3a85c3b449dade79bdc5636cf29db4e WHIRLPOOL 79dbe60c3e0b297c7585a01ded1d6c233738cebabc477d91ad61eccc7d2d08758554569abbf4ae8d06ce0560a5b133117143f2e408ec1b20053cf5b32df5b612

Loading…
Cancel
Save