summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-12-07 20:25:44 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-12-07 20:25:44 +0000
commit24e4299f2827f7249dbc14c9fff5b6fd29506cb9 (patch)
treeb5dd64ab235d86c07196be303407d1087ea1bd00 /media-libs
parentBump to 2.99.3 (3.0 RC3). Bunch of features and fixes, Bluetooth dependency b... (diff)
downloadgentoo-2-24e4299f2827f7249dbc14c9fff5b6fd29506cb9.tar.gz
gentoo-2-24e4299f2827f7249dbc14c9fff5b6fd29506cb9.tar.bz2
gentoo-2-24e4299f2827f7249dbc14c9fff5b6fd29506cb9.zip
Initial commit wrt bug #445850
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/jbig2enc/ChangeLog10
-rw-r--r--media-libs/jbig2enc/jbig2enc-0.28.ebuild30
-rw-r--r--media-libs/jbig2enc/metadata.xml11
3 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/jbig2enc/ChangeLog b/media-libs/jbig2enc/ChangeLog
new file mode 100644
index 000000000000..18ece3925cf0
--- /dev/null
+++ b/media-libs/jbig2enc/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/jbig2enc
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jbig2enc/ChangeLog,v 1.1 2012/12/07 20:25:44 pinkbyte Exp $
+
+*jbig2enc-0.28 (07 Dec 2012)
+
+ 07 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> +jbig2enc-0.28.ebuild,
+ +metadata.xml:
+ Initial commit wrt bug #445850
+
diff --git a/media-libs/jbig2enc/jbig2enc-0.28.ebuild b/media-libs/jbig2enc/jbig2enc-0.28.ebuild
new file mode 100644
index 000000000000..c6aef84a8da4
--- /dev/null
+++ b/media-libs/jbig2enc/jbig2enc-0.28.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jbig2enc/jbig2enc-0.28.ebuild,v 1.1 2012/12/07 20:25:44 pinkbyte Exp $
+
+EAPI="5"
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils
+
+DESCRIPTION="JBIG2 Encoder and libs"
+HOMEPAGE="https://github.com/agl/jbig2enc"
+SRC_URI="https://github.com/agl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="gif jpeg png static-libs tiff webp"
+
+RDEPEND="media-libs/leptonica[gif?,jpeg?,png?,tiff?,webp?]"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # remove -Werror
+ sed -i -e '/AM_INIT_AUTOMAKE/s/-Werror//' configure.ac || die 'sed on configure.ac failed'
+ # prevent static linking and QA notice about insecure RUNPATHs
+ sed -i -e '/jbig2_LDFLAGS/d' src/Makefile.am || die 'sed on src/Makefile.am failed'
+
+ autotools-utils_src_prepare
+}
diff --git a/media-libs/jbig2enc/metadata.xml b/media-libs/jbig2enc/metadata.xml
new file mode 100644
index 000000000000..e76eb51f6ebe
--- /dev/null
+++ b/media-libs/jbig2enc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <use>
+ <flag name="webp">Add support for WEBP image format</flag>
+ </use>
+</pkgmetadata>