summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/iulib')
-rw-r--r--media-libs/iulib/ChangeLog10
-rw-r--r--media-libs/iulib/files/iulib-0.3-install.patch40
-rw-r--r--media-libs/iulib/iulib-0.3.ebuild38
3 files changed, 88 insertions, 0 deletions
diff --git a/media-libs/iulib/ChangeLog b/media-libs/iulib/ChangeLog
new file mode 100644
index 000000000000..c52ef5dd2bb2
--- /dev/null
+++ b/media-libs/iulib/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/ChangeLog,v 1.1 2008/11/02 06:58:28 vapier Exp $
+
+*iulib-0.3 (02 Nov 2008)
+
+ 02 Nov 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/iulib-0.3-install.patch, +iulib-0.3.ebuild:
+ Initial ebuild by me for newer ocropus.
+
diff --git a/media-libs/iulib/files/iulib-0.3-install.patch b/media-libs/iulib/files/iulib-0.3-install.patch
new file mode 100644
index 000000000000..542420c4a13a
--- /dev/null
+++ b/media-libs/iulib/files/iulib-0.3-install.patch
@@ -0,0 +1,40 @@
+http://code.google.com/p/iulib/issues/detail?id=3
+
+--- Makefile.in
++++ Makefile.in
+@@ -43,7 +43,7 @@ POST_UNINSTALL = :
+ @have_vidio_TRUE@am__append_4 = $(srcdir)/vidio/vidio.h
+ @have_v4l2_TRUE@am__append_5 = $(srcdir)/vidio/v4l2cap.cc
+ subdir = .
+-DIST_COMMON = $(am__configure_deps) $(am__include_HEADERS_DIST) \
++DIST_COMMON = README $(am__configure_deps) $(am__include_HEADERS_DIST) \
+ $(colib_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(top_srcdir)/configure COPYING INSTALL TODO depcomp \
+ install-sh missing
+@@ -997,6 +997,7 @@ installdirs:
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(colibdir)" "$(DESTDIR)$(includedir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
++install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+ uninstall: uninstall-am
+@@ -1088,18 +1089,6 @@ uninstall-am: uninstall-colibHEADERS uninstall-includeHEADERS \
+ uninstall-am uninstall-colibHEADERS uninstall-includeHEADERS \
+ uninstall-info-am uninstall-libLIBRARIES
+
+-
+-# make installation of colib a separate target
+-
+-install-colib:
+- install -d $(colibdir)
+- install $(colib_HEADERS) $(colibdir)
+-
+-install: all install-colib
+- install -d $(includedir)
+- install -d $(libdir)
+- install $(include_HEADERS) $(includedir)
+- install $(lib_LIBRARIES) $(libdir)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/media-libs/iulib/iulib-0.3.ebuild b/media-libs/iulib/iulib-0.3.ebuild
new file mode 100644
index 000000000000..79abc3a69b5a
--- /dev/null
+++ b/media-libs/iulib/iulib-0.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/iulib-0.3.ebuild,v 1.1 2008/11/02 06:58:28 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="easy-to-use image and video I/O functions"
+HOMEPAGE="http://code.google.com/p/iulib/"
+SRC_URI="http://iulib.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="sdl"
+
+DEPEND="sys-libs/zlib
+ media-libs/libpng
+ media-libs/jpeg
+ media-libs/tiff
+ sdl? ( media-libs/libsdl )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-install.patch
+}
+
+src_compile() {
+ econf $(use_with sdl SDL) || die
+ emake || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc CHANGES README TODO
+}