Permalink
Browse files

Remove multilib glew ebuild and the zerogs and zzogl ebuilds which

depended on it.
  • Loading branch information...
1 parent 83b1fe0 commit 64cca9661d5338b749ed4aa25ee915b3145afd70 Russell Harmon committed Dec 28, 2009
@@ -5,6 +5,5 @@ AUX ps2emu-zerogs_devbuild-paths.patch 1430 RMD160 d3c4385ee11f5d863c1625f1da498
AUX ps2emu-zerogs_gcc43.patch 820 RMD160 7b6eaa6691e3c63fa1386bc6b8d8ffb49af3ba3a SHA1 14ca775008e1b4855c8ddea7c7bc4ee30efd848a SHA256 a5aae482a6ce591b6fa5bdf61a574c5f7411130cd4c150e362c3170f91e0aceb
AUX ps2emu-zerogs_gentoo.patch 622 RMD160 21bc9d0a58a70d6d653de0248f79fc8000e8e641 SHA1 1daef4d4ad8180943642053578ee984f611fbd30 SHA256 c3728234ab09be53eb29fd2d7d6ff5940f030ed163dcff4507cdee7e2754ae5f
MISC metadata.xml 358 RMD160 39aac066750ba1b5294f9d275a0b088f93ae862c SHA1 44f39bc03d8c44ebeae3f176956ce6a706f737e1 SHA256 ea2115c6561ea06447633da4a49f80097e2cf47914787c8a79e03aacb5e1547e
-EBUILD ps2emu-zerogs-0.96.7-r1.ebuild 2753 RMD160 d62b6a1a442f59496d2568ae261878a90bd964f6 SHA1 99b49ba512a2df4df4c6d022a8088d0e63a82660 SHA256 efe57c277552752a4e6e5f968eecd525cee39629818a16af547262787ac6d975
EBUILD ps2emu-zerogs-0.96.7-r2.ebuild 2625 RMD160 d178d45ad412a1698bfa85de8f3f7ed0c8d18cc2 SHA1 824d4823b39cf17ac054d74592458e7a2e304674 SHA256 332a014221f16d9059d6917d57d9293b6cd8acf4d8c61e7d10c2b3b9c7d31546
DIST Pcsx2_0.9.6_source.7z 4019202 RMD160 a4570fbc196c9898abd966590f4547cc7d34ad8d SHA1 53a89b2a5248cfa0793fc30c0db26fa1649ceae3 SHA256 f55ea7364347331b2bfeef48d5288bb430c53d6173be0374e9e7c1bb0c2f866f
@@ -1,119 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-inherit eutils games flag-o-matic multilib autotools
-
-DESCRIPTION="PS2Emu ZeroGS OpenGL plugin"
-HOMEPAGE="http://www.pcsx2.net/"
-PCSX2_VER="0.9.6"
-SRC_URI="http://www.pcsx2.net/files/12310 -> Pcsx2_${PCSX2_VER}_source.7z"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-RESTRICT="primaryuri"
-IUSE="debug sse2 shaders"
-
-DEPEND="
- app-arch/p7zip
- x86? (
- x11-libs/libX11
- media-libs/glew
- virtual/opengl
- media-libs/jpeg
- sys-libs/zlib
- x11-libs/libXxf86vm
- x11-proto/xproto
- x11-proto/xf86vidmodeproto
- >=x11-libs/gtk+-2
- )
- amd64? (
- app-emulation/emul-linux-x86-xlibs[opengl]
- >=app-emulation/emul-linux-x86-baselibs-20081109
- app-emulation/emul-linux-x86-gtklibs
- media-libs/glew
- >=media-gfx/nvidia-cg-toolkit-2.1.0017[multilib]
- )
- !amd64? (
- >=media-gfx/nvidia-cg-toolkit-2.1.0016
- )"
-
-
-RDEPEND="${DEPEND}
- !games-emulation/ps2emu-zzogl
- games-emulation/pcsx2"
-
-#S="${WORKDIR}/opengl"
-S="${WORKDIR}/rc_${PCSX2_VER}/plugins/zerogs/opengl"
-
-pkg_setup() {
- games_pkg_setup
-
- if ! use debug && use shaders; then
- append-ldflags -Wl,--no-as-needed
- fi
-
- if use shaders; then
- ewarn "If compilation fails, try recompiling with USE=\"-shaders\""
- fi
-
- if use amd64 && ! has_multilib_profile; then
- eerror "You must be on a multilib profile to use pcsx2!"
- die "No multilib profile."
- fi
- use amd64 && multilib_toolchain_setup x86
-}
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}_gcc43.patch"
- epatch "${FILESDIR}/${PN}_devbuild-paths.patch"
- epatch "${FILESDIR}/${PN}_consistent-naming.patch"
- epatch "${FILESDIR}/${PN}_custom-cflags.patch"
- epatch "${FILESDIR}/${PN}_compile-shaders.patch"
- epatch "${FILESDIR}/${PN}_gentoo.patch"
-
- eautoreconf -v --install || die
- chmod +x configure
-}
-
-src_configure() {
- egamesconf \
- $(use_enable debug devbuild) \
- $(use_enable debug) \
- $(use_enable sse2) \
- || die
-}
-
-src_compile() {
- if ! emake; then
- eerror "If the failure is about undefined references to __glew*, make"
- eerror "sure you have the media-libs/glew from the pcsx2 overlay installed."
- die "emake failed"
- fi
-
- if ! use debug && use shaders; then
- einfo "Compiling shaders..."
- emake -C ZeroGSShaders || die "Unable to compile shader compiler."
- ./ZeroGSShaders/zgsbuild ps2hw.fx ps2hw.dat || \
- die "Unable to compile shaders"
- fi
-}
-
-src_install() {
- exeinto "$(games_get_libdir)/ps2emu/plugins"
- insinto "$(games_get_libdir)/ps2emu/plugins"
- newexe libZeroGSogl.so.* libZeroGSogl.so || die
- if use debug; then
- doins ps2hw.fx || die
- doins ctx1/ps2hw_ctx.fx || die
- else
- if use shaders; then
- doins ps2hw.dat || die
- else
- doins Win32/ps2hw.dat || die
- fi
- fi
- prepgamesdirs
-}
@@ -7,6 +7,5 @@ AUX ps2emu-zzogl-0.1.166_required-libraries.patch 787 RMD160 b89f9f86b081f0c4616
AUX ps2emu-zzogl-0.1.205_gentoo.patch 1266 RMD160 902734a91d5586904cb667fa3463e7a178a25ed4 SHA1 588a29e93a1a622f2ec989317081afdbfd3a7a62 SHA256 84e2ce1fb2877b6cf01b261471c7a76caf5bcc438a96619d8ca9c7555fef3583
MISC metadata.xml 358 RMD160 39aac066750ba1b5294f9d275a0b088f93ae862c SHA1 44f39bc03d8c44ebeae3f176956ce6a706f737e1 SHA256 ea2115c6561ea06447633da4a49f80097e2cf47914787c8a79e03aacb5e1547e
EBUILD ps2emu-zzogl-0.1.166-r1.ebuild 2674 RMD160 535b8ed561dc02bbc13771144263a00543132ce2 SHA1 6c35e38654b40e3138e26d60691acf758dc81a5a SHA256 b1bb73f78541b21f154c909ee8bbbbb45bca44dba36a3d0ce979bb226134b83d
-EBUILD ps2emu-zzogl-0.1.166.ebuild 2754 RMD160 44f2604d35158241cf4341ae8ef03d990b0a9092 SHA1 165c34f804a60e44ffb60523730d08679e593661 SHA256 81fefb12cb07342a866217bf01a0a13e4e2f0535029cf6e87e14e6d40f28ab46
EBUILD ps2emu-zzogl-0.1.205.ebuild 2728 RMD160 7fb3f281189ac3e32a8338cebc7017c49b7870a5 SHA1 c2a8d7ae4b762c579a09af499e2217f362b821bf SHA256 f5aa3966c5b2222f53b9e77996412cff3a2ad303d9f539bc9d75ebd341602295
EBUILD ps2emu-zzogl-9999.ebuild 2647 RMD160 3d1f5253424894868c9c57c3a8a33ad953b9cdd1 SHA1 ce9e7bb322d3d852d251d73895c1f91c956abecd SHA256 51158c8816889e38a2d2772bcd753d59adbe97fce3c820d501314d476688cbcb
@@ -1,122 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-MY_PV="166"
-ESVN_REPO_URI="http://sanechka.spb.ru/svnroot/ruslan/zerogs/@${MY_PV}"
-inherit eutils games flag-o-matic multilib autotools subversion
-
-DESCRIPTION="PS2Emu ZZogl OpenGL plugin"
-HOMEPAGE="http://www.pcsx2.net/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-RESTRICT="primaryuri"
-IUSE="debug sse2 shaders"
-
-DEPEND="
- x86? (
- x11-libs/libX11
- media-libs/glew
- virtual/opengl
- media-libs/jpeg
- sys-libs/zlib
- x11-libs/libXxf86vm
- x11-proto/xproto
- x11-proto/xf86vidmodeproto
- >=x11-libs/gtk+-2
- )
- amd64? (
- app-emulation/emul-linux-x86-xlibs[opengl]
- >=app-emulation/emul-linux-x86-baselibs-20081109
- app-emulation/emul-linux-x86-gtklibs
- media-libs/glew
- >=media-gfx/nvidia-cg-toolkit-2.1.0017[multilib]
- )
- !amd64? (
- >=media-gfx/nvidia-cg-toolkit-2.1.0016
- )
- "
-
-RDEPEND="${DEPEND}
- !games-emulation/ps2emu-zerogs
- games-emulation/pcsx2"
-
-S="${WORKDIR}/opengl"
-
-pkg_setup() {
- games_pkg_setup
-
- # Fix for compile error.
- append-flags "-I${S}/common"
- append-ldflags -Wl,--no-as-needed
-
- if use shaders; then
- ewarn "If compilation fails, try recompiling with USE=\"-shaders\""
- fi
-
- if use amd64 && ! has_multilib_profile; then
- eerror "You must be on a multilib profile to use pcsx2!"
- die "No multilib profile."
- fi
- use amd64 && multilib_toolchain_setup x86
-}
-
-src_unpack() {
- local S="${WORKDIR}"
- subversion_src_unpack
-}
-
-src_prepare() {
- epatch "${FILESDIR}/${P}_gcc43.patch"
- epatch "${FILESDIR}/${P}_consistent-naming.patch"
- epatch "${FILESDIR}/${P}_gentoo.patch"
- epatch "${FILESDIR}/${P}_ambiguous-abs.patch"
- epatch "${FILESDIR}/${P}_include-paths.patch"
- epatch "${FILESDIR}/${P}_required-libraries.patch"
-
- eautoreconf -v --install || die
- chmod +x configure
-}
-
-src_configure() {
- egamesconf \
- $(use_enable debug devbuild) \
- $(use_enable debug) \
- $(use_enable sse2) \
- || die
-}
-
-src_compile() {
- if ! emake; then
- eerror "If the failure is about undefined references to __glew*, make"
- eerror "sure you have the media-libs/glew from the pcsx2 overlay installed."
- die "emake failed"
- fi
-
- if ! use debug && use shaders; then
- einfo "Compiling shaders..."
- emake -C ZeroGSShaders || die "Unable to compile shader compiler."
- ./ZeroGSShaders/zgsbuild ps2hw.fx ps2hw.dat || \
- die "Unable to compile shaders"
- fi
-}
-
-src_install() {
- exeinto "$(games_get_libdir)/ps2emu/plugins"
- insinto "$(games_get_libdir)/ps2emu/plugins"
- newexe libZeroGSogl.so.* libZZogl.so || die
- if use debug; then
- doins ps2hw.fx || die
- doins ctx1/ps2hw_ctx.fx || die
- else
- if use shaders; then
- doins ps2hw.dat || die
- else
- doins Win32/ps2hw.dat || die
- fi
- fi
- prepgamesdirs
-}
View
@@ -1,5 +0,0 @@
-DIST glew-1.4.0-src.tgz 360075 RMD160 9f45ab693fd29a6bfdd45bc8c514e13cb70c7894 SHA1 314daae3370d580981d30ad9bc41b20eda5f6160 SHA256 7ea84a2d10357f39eb7ccb35fe59af19fa9c8aed18b84ea41a743d32c893ed12
-DIST glew-1.5.1-src.tgz 394566 RMD160 920fdff559976492a2e6acf93d3b02e8286f6b7b SHA1 a94113169d46487ccda1bb2fde68fa1803bdf009 SHA256 89e63d085cb563c32a191e3cd4907a192484f10438a6679f1349456db4b9c10a
-EBUILD glew-1.4.0.ebuild 1596 RMD160 4257f84fb35538944dfb50d24dab42c75417ea53 SHA1 53beff6313246552f31222ad7c9522d8e33eb693 SHA256 8ba705220e39bf9e1ebdbb5f32e52136f3050ea89d442f6199438a5d40013873
-EBUILD glew-1.5.1.ebuild 1736 RMD160 35308ec773476bc72beae7d656919cb3854a7ba8 SHA1 285ea1012929ec2db709910e12895d5fd401c530 SHA256 5bf0cbf815f8cac3c6823a6ab8ffad86e6ece8ec6f8deb333d978b9f03e6a24f
-MISC metadata.xml 227 RMD160 6dc99e91188139643ed52c946bf891834b5b6379 SHA1 9cf2aeba9f6fb8cfdf5bb1e65a9f4235e77cc0be SHA256 bb8ba6eb1a9717954f1ccdf6304644af1d95a4c044daee9c2c54790788e86e4d
@@ -1,64 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="The OpenGL Extension Wrangler Library"
-HOMEPAGE="http://glew.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}-src.tgz"
-
-LICENSE="BSD GLX SGI-B GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ia64 ppc ~ppc64 sparc x86 ~x86-fbsd"
-IUSE=""
-
-RDEPEND="virtual/opengl
- virtual/glu"
-DEPEND="${RDEPEND}
- sys-apps/sed"
-
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i -e 's:-s\b::g' Makefile
-}
-
-src_compile(){
- if use amd64 && has_multilib_profile; then
- cd "${WORKDIR}"
- mkdir 32bit 64bit
- cp -r "${PN}" 32bit/
- cp -r "${PN}" 64bit/
- S="${WORKDIR}"
- cd 32bit/${PN}
- pwd
- multilib_toolchain_setup x86
- emake LD="$(tc-getCC) ${LDFLAGS}" CC="$(tc-getCC)" \
- POPT="${CFLAGS}" M_ARCH="" AR="$(tc-getAR)" \
- || die "emake failed."
- multilib_toolchain_setup amd64
- cd "${WORKDIR}/64bit/${PN}"
- fi
- emake LD="$(tc-getCC) ${LDFLAGS}" CC="$(tc-getCC)" \
- POPT="${CFLAGS}" M_ARCH="" AR="$(tc-getAR)" \
- || die "emake failed."
-}
-
-src_install() {
- if use amd64 && has_multilib_profile; then
- cd "${WORKDIR}/32bit/${PN}"
- multilib_toolchain_setup x86
- emake GLEW_DEST="${D}/usr" LIBDIR="${D}/usr/$(get_libdir)" \
- M_ARCH="" install || die "emake install failed."
- multilib_toolchain_setup amd64
- cd "${WORKDIR}/64bit/${PN}"
- fi
- emake GLEW_DEST="${D}/usr" LIBDIR="${D}/usr/$(get_libdir)" \
- M_ARCH="" install || die "emake install failed."
-
- dodoc README.txt
- dohtml doc/*.{html,css,png,jpg}
-}
@@ -1,64 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/glew-1.5.1.ebuild,v 1.1 2008/12/02 21:10:37 ssuominen Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="The OpenGL Extension Wrangler Library"
-HOMEPAGE="http://glew.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}-src.tgz"
-
-LICENSE="BSD GLX SGI-B GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND="virtual/opengl
- virtual/glu"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- edos2unix config/config.guess
- sed -i -e 's:-s\b::g' Makefile || die "sed failed."
-}
-
-src_compile(){
- if use amd64 && has_multilib_profile; then
- cd "${WORKDIR}"
- mkdir 32bit 64bit
- cp -r "${PN}" 32bit/
- cp -r "${PN}" 64bit/
- S="${WORKDIR}"
- cd 32bit/${PN}
- pwd
- multilib_toolchain_setup x86
- emake LD="$(tc-getCC) ${LDFLAGS}" CC="$(tc-getCC)" \
- POPT="${CFLAGS}" M_ARCH="" AR="$(tc-getAR)" \
- || die "emake failed."
- multilib_toolchain_setup amd64
- cd "${WORKDIR}/64bit/${PN}"
- fi
- emake LD="$(tc-getCC) ${LDFLAGS}" CC="$(tc-getCC)" \
- POPT="${CFLAGS}" M_ARCH="" AR="$(tc-getAR)" \
- || die "emake failed."
-}
-
-src_install() {
- if use amd64 && has_multilib_profile; then
- cd "${WORKDIR}/32bit/${PN}"
- multilib_toolchain_setup x86
- emake GLEW_DEST="${D}/usr" LIBDIR="${D}/usr/$(get_libdir)" \
- M_ARCH="" install || die "emake install failed."
- multilib_toolchain_setup amd64
- cd "${WORKDIR}/64bit/${PN}"
- fi
- emake GLEW_DEST="${D}/usr" LIBDIR="${D}/usr/$(get_libdir)" \
- M_ARCH="" install || die "emake install failed."
-
- dodoc README.txt
- dohtml doc/*.{html,css,png,jpg}
-}
Oops, something went wrong.

0 comments on commit 64cca96

Please sign in to comment.