summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libmimic')
-rw-r--r--media-libs/libmimic/Manifest1
-rw-r--r--media-libs/libmimic/libmimic-1.0.4-r2.ebuild42
-rw-r--r--media-libs/libmimic/metadata.xml10
3 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/libmimic/Manifest b/media-libs/libmimic/Manifest
new file mode 100644
index 000000000000..2dac852d2f35
--- /dev/null
+++ b/media-libs/libmimic/Manifest
@@ -0,0 +1 @@
+DIST libmimic-1.0.4.tar.gz 331326 SHA256 bd7b9bd52ee7bf25df46f6d3d0ed896d212fc3d96907ac1b01d3d126a48bbb34 SHA512 2754aa7d8dd1bc62a72a03646417c295e0711cd5ceb612ad301147579be3e17efcda504fa4d934969e62a9d2c9bdea7294a9eff751c847616620896264594607 WHIRLPOOL a88e1ccaece257858dee1da94a3d31055b8c3e70a19703c9f26a261db71f90e6ab004fb78a27f84d7394d42f419b7a5f667480c17bcce048712bde6cca4900bd
diff --git a/media-libs/libmimic/libmimic-1.0.4-r2.ebuild b/media-libs/libmimic/libmimic-1.0.4-r2.ebuild
new file mode 100644
index 000000000000..c61fc493283a
--- /dev/null
+++ b/media-libs/libmimic/libmimic-1.0.4-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit multilib-minimal
+
+DESCRIPTION="Video encoding/decoding library for the codec used by msn"
+HOMEPAGE="http://farsight.sourceforge.net/"
+SRC_URI="mirror://sourceforge/farsight/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="doc static-libs"
+
+RDEPEND=">=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r8
+ !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+multilib_src_configure() {
+ local myconf="--disable-doxygen-docs"
+ multilib_is_native_abi && myconf="$(use_enable doc doxygen-docs)"
+
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ ${myconf}
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+
+ if use doc && multilib_is_native_abi; then
+ dohtml doc/api/html/*
+ fi
+}
diff --git a/media-libs/libmimic/metadata.xml b/media-libs/libmimic/metadata.xml
new file mode 100644
index 000000000000..08a886b03501
--- /dev/null
+++ b/media-libs/libmimic/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">farsight</remote-id>
+ </upstream>
+</pkgmetadata>