summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libzen/ChangeLog7
-rw-r--r--media-libs/libzen/libzen-0.4.23.ebuild64
2 files changed, 70 insertions, 1 deletions
diff --git a/media-libs/libzen/ChangeLog b/media-libs/libzen/ChangeLog
index 66291aac0a50..1d58af84cc9f 100644
--- a/media-libs/libzen/ChangeLog
+++ b/media-libs/libzen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libzen
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/ChangeLog,v 1.21 2011/10/28 08:49:37 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/ChangeLog,v 1.22 2011/11/12 06:57:54 radhermit Exp $
+
+*libzen-0.4.23 (12 Nov 2011)
+
+ 12 Nov 2011; Tim Harder <radhermit@gentoo.org> +libzen-0.4.23.ebuild:
+ Version bump.
28 Oct 2011; Tony Vroon <chainsaw@gentoo.org> libzen-0.4.22.ebuild:
Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian
diff --git a/media-libs/libzen/libzen-0.4.23.ebuild b/media-libs/libzen/libzen-0.4.23.ebuild
new file mode 100644
index 000000000000..326da61c4f4e
--- /dev/null
+++ b/media-libs/libzen/libzen-0.4.23.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libzen/libzen-0.4.23.ebuild,v 1.1 2011/11/12 06:57:54 radhermit Exp $
+
+EAPI="4"
+
+inherit autotools-utils multilib eutils
+
+MY_PN="ZenLib"
+DESCRIPTION="Shared library for libmediainfo and mediainfo"
+HOMEPAGE="http://sourceforge.net/projects/zenlib"
+SRC_URI="mirror://sourceforge/zenlib/${MY_PN}%20-%20Sources/${PV}/${PN}_${PV}.tar.bz2"
+
+LICENSE="as-is ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc static-libs"
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_PN}/Project/GNU/Library"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.4.21-no-tinyxml.patch
+ sed -i -e "s:-O2::" configure.ac
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-unicode \
+ --enable-shared \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+
+ if use doc; then
+ cd "${WORKDIR}"/${MY_PN}/Source/Doc
+ doxygen Doxyfile || die
+ fi
+}
+
+src_install() {
+ default
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins "${S}"/${PN}.pc
+
+ for x in ./ Base64 Format/Html Format/Http HTTP_Client ; do
+ insinto /usr/include/${MY_PN}/${x}
+ doins "${WORKDIR}"/${MY_PN}/Source/${MY_PN}/${x}/*.h
+ done
+
+ dodoc "${WORKDIR}"/${MY_PN}/History.txt
+ if use doc; then
+ dohtml "${WORKDIR}"/${MY_PN}/Doc/*
+ fi
+
+ remove_libtool_files all
+}