From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/bircoph:master commit in: media-libs/giflib/
Date: Sun, 1 May 2016 19:36:53 +0000 (UTC) [thread overview]
Message-ID: <1462131310.3646863ba9900dad6fff86f0c8e61f5192438a7f.bircoph@gentoo> (raw)
commit: 3646863ba9900dad6fff86f0c8e61f5192438a7f
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun May 1 19:35:10 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun May 1 19:35:10 2016 +0000
URL: https://gitweb.gentoo.org/dev/bircoph.git/commit/?id=3646863b
media-libs/giflib: fix bug 581750
- add USE="doc"
- build and install all docs
Package-Manager: portage-2.2.28
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
media-libs/giflib/Manifest | 1 +
media-libs/giflib/giflib-5.1.4.ebuild | 72 +++++++++++++++++++++++++++++++++++
media-libs/giflib/metadata.xml | 11 ++++++
3 files changed, 84 insertions(+)
diff --git a/media-libs/giflib/Manifest b/media-libs/giflib/Manifest
new file mode 100644
index 0000000..73650a0
--- /dev/null
+++ b/media-libs/giflib/Manifest
@@ -0,0 +1 @@
+DIST giflib-5.1.4.tar.bz2 639703 SHA256 df27ec3ff24671f80b29e6ab1c4971059c14ac3db95406884fc26574631ba8d5 SHA512 32b5e342056c210e6478e9cb3b6ceec9594dcfaf34feea1eb4dad633a081ed4465bceee578c19165907cb47cb83912ac359ceea666a8e07dbbb5420f9928f96d WHIRLPOOL 12f308335538fcf14eb95c7e76adfb8ecaf2f1fcdc051521a40ec65eccaa1520f11170bb4b879149ce9fdeb59ce4449a60b4e1290e685acc5e35b3bca8c0f693
diff --git a/media-libs/giflib/giflib-5.1.4.ebuild b/media-libs/giflib/giflib-5.1.4.ebuild
new file mode 100644
index 0000000..f2086d6
--- /dev/null
+++ b/media-libs/giflib/giflib-5.1.4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils libtool multilib-minimal
+
+DESCRIPTION="Library to handle, display and manipulate GIF images"
+HOMEPAGE="http://sourceforge.net/projects/giflib/"
+SRC_URI="mirror://sourceforge/giflib/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0/7"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc static-libs"
+
+RDEPEND="
+ abi_x86_32? (
+ !<=app-emulation/emul-linux-x86-baselibs-20140406-r1
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32]
+ )"
+DEPEND="${RDEPEND}
+ doc? ( app-text/xmlto )"
+
+src_prepare() {
+ default
+ elibtoolize
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ # No need for xmlto as they ship generated files.
+ ac_cv_prog_have_xmlto=no
+
+ $(use_enable static-libs static)
+ )
+
+ ECONF_SOURCE="${S}" \
+ econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+ default
+
+ if use doc && multilib_is_native_abi; then
+ emake -C doc
+ fi
+}
+
+multilib_src_install() {
+ default
+
+ # for static libs the .la file is required if built with +X
+ use static-libs || prune_libtool_files --all
+
+ if use doc && multilib_is_native_abi; then
+ docinto html
+ dodoc doc/*.html
+ fi
+}
+
+multilib_src_install_all() {
+ doman doc/*.1
+ docinto
+ dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+ if use doc; then
+ dodoc doc/*.txt
+ docinto html
+ dodoc -r doc/whatsinagif
+ fi
+}
diff --git a/media-libs/giflib/metadata.xml b/media-libs/giflib/metadata.xml
new file mode 100644
index 0000000..8aeeef3
--- /dev/null
+++ b/media-libs/giflib/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 type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">giflib</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2016-05-01 19:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-01 19:36 Andrew Savchenko [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-06-20 11:49 [gentoo-commits] dev/bircoph:master commit in: media-libs/giflib/ Andrew Savchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462131310.3646863ba9900dad6fff86f0c8e61f5192438a7f.bircoph@gentoo \
--to=bircoph@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox