summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-www')
-rw-r--r--net-www/moonlight/ChangeLog10
-rw-r--r--net-www/moonlight/Manifest4
-rw-r--r--net-www/moonlight/metadata.xml5
-rw-r--r--net-www/moonlight/moonlight-1.0.ebuild70
4 files changed, 89 insertions, 0 deletions
diff --git a/net-www/moonlight/ChangeLog b/net-www/moonlight/ChangeLog
new file mode 100644
index 000000000000..bce4de3e345e
--- /dev/null
+++ b/net-www/moonlight/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-www/moonlight
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/moonlight/ChangeLog,v 1.1 2009/01/25 22:41:15 loki_val Exp $
+
+*moonlight-1.0 (25 Jan 2009)
+
+ 25 Jan 2009; Peter Alfredsen <loki_val@gentoo.org> +metadata.xml,
+ +moonlight-1.0.ebuild:
+ Initial commit, ebuild by me.
+
diff --git a/net-www/moonlight/Manifest b/net-www/moonlight/Manifest
new file mode 100644
index 000000000000..172788a990c7
--- /dev/null
+++ b/net-www/moonlight/Manifest
@@ -0,0 +1,4 @@
+DIST moon-1.0.tar.bz2 8806735 RMD160 68649cea2cb9a0b9863d91c8d9916b27a35d8c00 SHA1 ff37aadf57e2c471608f5d7c6481d27e77e8241a SHA256 440133d964120858832133981f4b559cc208fa2bccf20154f62c22318f373645
+EBUILD moonlight-1.0.ebuild 1900 RMD160 640b58d9ebda5cbd5b11c72ff113a9efc0f6569e SHA1 d40aa17cebb4fa6fb3a745cdc4b7e625b2291af7 SHA256 77d1894a7309d51306db3cdf390472f54433aa426b6569dfedeccea24588dcbf
+MISC ChangeLog 365 RMD160 463eeaeee43775c340ba10b7ee44604d9b85f979 SHA1 a60e65c7380386ea71891713ada6262ae6d5da76 SHA256 4ea9f85715af68c2e9ba925cae62821bb71a0939f9f0f753011d744705beb0ed
+MISC metadata.xml 160 RMD160 cc10b170ad63a746d8bdfbe5bf1bd9f7065922b8 SHA1 49eaf4246f7502850064d3806cce65d3a404ce1b SHA256 1bc3e313a948415fff0dfa63a5610943327146bfe16bfeca603379bf9706a687
diff --git a/net-www/moonlight/metadata.xml b/net-www/moonlight/metadata.xml
new file mode 100644
index 000000000000..e01adbb307db
--- /dev/null
+++ b/net-www/moonlight/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>dotnet</herd>
+</pkgmetadata>
diff --git a/net-www/moonlight/moonlight-1.0.ebuild b/net-www/moonlight/moonlight-1.0.ebuild
new file mode 100644
index 000000000000..dc056eaff159
--- /dev/null
+++ b/net-www/moonlight/moonlight-1.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/moonlight/moonlight-1.0.ebuild,v 1.1 2009/01/25 22:41:15 loki_val Exp $
+
+EAPI=2
+
+inherit mono multilib nsplugins
+
+MY_P=moon-${PV}
+DESCRIPTION="Moonlight is an open source implementation of Silverlight"
+HOMEPAGE="http://www.mono-project.com/Moonlight"
+SRC_URI="ftp://ftp.novell.com/pub/mono/sources/moon/${MY_P}.tar.bz2"
+LICENSE="LGPL-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa pulseaudio debug test"
+RESTRICT="mirror"
+
+# Needed for Moonlight-2.0 profile:
+#LICENSE+="Ms-PL"
+# +more
+# >=dev-dotnet/rsvg-sharp-2.24.0
+# >=dev-dotnet/gtk-sharp-2.12.7
+# >=dev-lang/mono-2.2-r3[moonlight]
+# >=dev-dotnet/dbus-sharp-0.6.1a
+
+#Moonlight-1.0 is essentially a browser plugin written in pure C.
+RDEPEND="
+ >=x11-libs/gtk+-2.14
+ >=dev-libs/glib-2.18
+ >=dev-libs/dbus-glib-0.60
+ >=x11-libs/cairo-1.8.0
+ >=media-video/ffmpeg-0.4.9_p20090121
+ >=net-libs/xulrunner-1.9.0.5:1.9
+ x11-libs/libXrandr
+ alsa? ( >=media-libs/alsa-lib-1.0.18 )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.14 )
+ >=media-libs/freetype-2.3.7
+ >=media-gfx/imagemagick-6.2.8
+ >=media-libs/fontconfig-2.6.0
+ "
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.23"
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -i \
+ -e "s:TEST_SUBDIR = test::" \
+ -e "s:TOOLS_SUBDIR = tools::" \
+ Makefile.in
+}
+
+src_configure() {
+ econf --enable-shared \
+ --disable-static \
+ --with-cairo=system \
+ --with-ffmpeg=yes \
+ --with-ff3=yes \
+ --without-ff2 \
+ $(use_with alsa) \
+ $(use_with pulseaudio) \
+ $(use_with debug) \
+ || die "econf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ inst_plugin /usr/$(get_libdir)/moon/plugin/libmoonloader.so || die "installing libmoonloader failed"
+ find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
+}