diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2009-11-23 10:37:40 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2009-11-23 10:37:40 +0200 |
commit | f891fa6d13c9b5e84ead4a4e818879f06672d50c (patch) | |
tree | 26e1820780dcfaed6a6a35b63c092518d13291a4 /media-libs | |
parent | ba3c2358a41976b1e471b75feee0a93dbc297f49 (diff) |
new file: app-cdr/binflash/binflash-1.47a.ebuild
new file: app-mobilephone/kmobiletools/files/kmobiletools-0.5.0_beta3-no-automagic-deps.patch
new file: app-mobilephone/kmobiletools/kmobiletools-0.5.0_beta3.ebuild
new file: media-libs/babl/babl-0.9999.ebuild
new file: media-libs/gegl/gegl-0.9999.ebuild
new file: media-libs/libtheora/libtheora-9999.ebuild
new file: media-sound/gmpc/gmpc-9999.ebuild
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/babl/babl-0.9999.ebuild | 39 | ||||
-rw-r--r-- | media-libs/gegl/gegl-0.9999.ebuild | 90 | ||||
-rw-r--r-- | media-libs/libtheora/libtheora-9999.ebuild | 79 |
3 files changed, 208 insertions, 0 deletions
diff --git a/media-libs/babl/babl-0.9999.ebuild b/media-libs/babl/babl-0.9999.ebuild new file mode 100644 index 0000000..531f8b9 --- /dev/null +++ b/media-libs/babl/babl-0.9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/babl/babl-0.0.22.ebuild,v 1.7 2009/01/31 09:11:00 mabi Exp $ + +inherit subversion + +DESCRIPTION="A dynamic, any to any, pixel format conversion library" +HOMEPAGE="http://www.gegl.org/babl/" +SRC_URI="" + +ESVN_REPO_URI="http://svn.gnome.org/svn/babl/trunk/" +ESVN_STORE_DIR="${DISTDIR}/svn-src" +ESVN_PROJECT="${PN/-svn}" +ESVN_BOOTSTRAP="./autogen.sh" + + +LICENSE="LGPL-3" +SLOT="" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="sse mmx" + +DEPEND="virtual/libc" + +src_unpack(){ + subversion_src_unpack +} + +src_compile() { + econf $(use_enable mmx) \ + $(use_enable sse) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + find "${D}" -name '*.la' -delete +# dodoc AUTHORS ChangeLog README NEWS || die "dodoc failed" +} diff --git a/media-libs/gegl/gegl-0.9999.ebuild b/media-libs/gegl/gegl-0.9999.ebuild new file mode 100644 index 0000000..a549f09 --- /dev/null +++ b/media-libs/gegl/gegl-0.9999.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/gegl-0.0.22.ebuild,v 1.6 2009/01/31 09:26:09 mabi Exp $ + +inherit eutils subversion + +DESCRIPTION="A graph based image processing framework" +HOMEPAGE="http://www.gegl.org/" +SRC_URI="" + +ESVN_REPO_URI="http://svn.gnome.org/svn/gegl/trunk/" +ESVN_STORE_DIR="${DISTDIR}/svn-src" +ESVN_PROJECT="${PN/-svn}" +ESVN_BOOTSTRAP="./autogen.sh" + + +LICENSE="|| ( GPL-3 LGPL-3 )" +SLOT="" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="cairo debug doc ffmpeg jpeg mmx openexr png raw sdl sse svg v4l" + +DEPEND=">=media-libs/babl-0.0.20 + >=dev-libs/glib-2.18.0 + media-libs/libpng + >=x11-libs/gtk+-2.14.0 + x11-libs/pango + cairo? ( x11-libs/cairo ) + dev-lang/ruby + doc? ( app-text/asciidoc + >=dev-lang/lua-5.1.0 + app-text/enscript + media-gfx/graphviz + media-gfx/imagemagick ) + ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080326 ) + jpeg? ( media-libs/jpeg ) + openexr? ( media-libs/openexr ) + raw? ( >=media-libs/libopenraw-0.0.5 ) + sdl? ( media-libs/libsdl ) + svg? ( >=gnome-base/librsvg-2.14.0 )" + +pkg_setup() { + if use doc && ! built_with_use 'media-gfx/imagemagick' 'png'; then + eerror "You must build imagemagick with png support" + die "media-gfx/imagemagick built without png" + fi +} + +src_unpack() { + #unpack ${A} + subversion_src_unpack + cd "${S}" +# epatch "${FILESDIR}/${P}-locale_h.diff" +} + +src_compile() { + econf --with-gtk --with-pango --with-gdk-pixbuf \ + $(use_enable debug) \ + $(use_with cairo) \ + $(use_with cairo pangocairo) \ + $(use_with v4l libv4l) \ + $(use_enable doc docs) \ + $(use_with doc graphviz) \ + $(use_with doc lua) \ + $(use_enable doc workshop) \ + $(use_with ffmpeg libavformat) \ + $(use_with jpeg libjpeg) \ + $(use_enable mmx) \ + $(use_with openexr) \ + $(use_with png libpng) \ + $(use_with raw libopenraw) \ + $(use_with sdl) \ + $(use_with svg librsvg) \ + $(use_enable sse) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + # emake install doesn't install anything + einstall || die "einstall failed" + find "${D}" -name '*.la' -delete +# dodoc ChangeLog INSTALL README NEWS || die "dodoc failed" + + # don't know why einstall omits this?! + insinto "/usr/include/${PN}-0.0/${PN}/buffer/" + doins "${WORKDIR}/${P}/${PN}"/buffer/*.h || die "doinsbuffer failed" + insinto "/usr/include/${PN}-0.0/${PN}/module/" + doins "${WORKDIR}/${P}/${PN}"/module/*.h || die "doins module failed" +} diff --git a/media-libs/libtheora/libtheora-9999.ebuild b/media-libs/libtheora/libtheora-9999.ebuild new file mode 100644 index 0000000..e995cf9 --- /dev/null +++ b/media-libs/libtheora/libtheora-9999.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/libtheora-1.1.1.ebuild,v 1.1 2009/10/27 11:16:37 aballier Exp $ + +EAPI=2 +inherit autotools eutils flag-o-matic subversion + +DESCRIPTION="The Theora Video Compression Codec" +HOMEPAGE="http://www.theora.org" +SRC_URI="" + +ESVN_REPO_URI="http://svn.xiph.org/trunk/theora" +ESVN_STORE_DIR="${DISTDIR}/svn-src" +ESVN_PROJECT="${PN/-svn}" +ESVN_BOOTSTRAP="./autogen.sh" + + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc +encode examples" + +RDEPEND="media-libs/libogg + encode? ( media-libs/libvorbis ) + examples? ( media-libs/libpng + media-libs/libvorbis + >=media-libs/libsdl-0.11.0 )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + dev-util/pkgconfig" + +VARTEXFONTS=${T}/fonts +S=${WORKDIR}/${P/_} + +src_unpack() { + subversion_src_unpack +} + +src_prepare() { + eautoreconf + epatch "${FILESDIR}"/${PN}-1.0_beta2-flags.patch + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + use x86 && filter-flags -fforce-addr -frename-registers #200549 + use doc || export ac_cv_prog_HAVE_DOXYGEN="false" + + local myconf + use examples && myconf="--enable-encode" + + # --disable-spec because LaTeX documentation has been prebuilt + econf \ + --disable-dependency-tracking \ + --disable-spec \ + $(use_enable encode) \ + $(use_enable examples) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} \ + install || die "emake install failed" + + dodoc AUTHORS CHANGES README + prepalldocs + + if use examples; then + if use doc; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.[ch] + fi + + dobin examples/.libs/png2theora || die "dobin failed" + for bin in dump_{psnr,video} {encoder,player}_example; do + newbin examples/.libs/${bin} theora_${bin} || die "newbin failed" + done + fi +} |