summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-09-15 09:34:48 +0000
committerPacho Ramos <pacho@gentoo.org>2011-09-15 09:34:48 +0000
commitd207db42070a025ceb956920ed59effef4db4814 (patch)
tree469a57b61999330ebfe8ae458f3c36c638ec6133 /dev-util/gtk-doc-am
parentVersion bump (bug #375963). Update to EAPI 4 and add myself as a maintainer. (diff)
downloadgentoo-2-d207db42070a025ceb956920ed59effef4db4814.tar.gz
gentoo-2-d207db42070a025ceb956920ed59effef4db4814.tar.bz2
gentoo-2-d207db42070a025ceb956920ed59effef4db4814.zip
Version bump.
(Portage version: 2.1.10.14/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/gtk-doc-am')
-rw-r--r--dev-util/gtk-doc-am/ChangeLog7
-rw-r--r--dev-util/gtk-doc-am/gtk-doc-am-1.18.ebuild59
2 files changed, 65 insertions, 1 deletions
diff --git a/dev-util/gtk-doc-am/ChangeLog b/dev-util/gtk-doc-am/ChangeLog
index 1a74318666e2..dc838cf4dfea 100644
--- a/dev-util/gtk-doc-am/ChangeLog
+++ b/dev-util/gtk-doc-am/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/gtk-doc-am
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc-am/ChangeLog,v 1.69 2011/09/10 17:05:11 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc-am/ChangeLog,v 1.70 2011/09/15 09:34:48 pacho Exp $
+
+*gtk-doc-am-1.18 (15 Sep 2011)
+
+ 15 Sep 2011; Pacho Ramos <pacho@gentoo.org> +gtk-doc-am-1.18.ebuild:
+ Version bump.
10 Sep 2011; Pacho Ramos <pacho@gentoo.org> -gtk-doc-am-1.15.ebuild,
-gtk-doc-am-1.16.ebuild:
diff --git a/dev-util/gtk-doc-am/gtk-doc-am-1.18.ebuild b/dev-util/gtk-doc-am/gtk-doc-am-1.18.ebuild
new file mode 100644
index 000000000000..f3e5b723bf06
--- /dev/null
+++ b/dev-util/gtk-doc-am/gtk-doc-am-1.18.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc-am/gtk-doc-am-1.18.ebuild,v 1.1 2011/09/15 09:34:48 pacho Exp $
+
+EAPI="4"
+
+inherit versionator
+
+MY_PN="gtk-doc"
+MY_P=${MY_PN}-${PV}
+MAJ_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="Automake files from gtk-doc"
+HOMEPAGE="http://www.gtk.org/gtk-doc/"
+SRC_URI="mirror://gnome/sources/${MY_PN}/${PV}/${MY_P}.tar.xz"
+
+LICENSE="GPL-2 FDL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.6"
+DEPEND="${RDEPEND}
+ !<dev-util/gtk-doc-${MAJ_PV}"
+# pkg-config is used by gtkdoc-rebase at runtime
+# PDEPEND to avoid circular deps, bug 368301
+PDEPEND="dev-util/pkgconfig"
+
+# This ebuild doesn't even compile anything, causing tests to fail when updating (bug #316071)
+RESTRICT="test"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"
+
+src_configure() {
+ # Duplicate autoconf checks so we don't have to call configure
+ local PERL=$(type -P perl)
+
+ test -n "${PERL}" || die "Perl not found!"
+ "${PERL}" -e "require v5.6.0" || die "perl >= 5.6.0 is required for gtk-doc"
+
+ # Replicate AC_SUBST
+ sed -e "s:@PERL@:${PERL}:g" -e "s:@VERSION@:${PV}:g" \
+ "${S}/gtkdoc-rebase.in" > "${S}/gtkdoc-rebase" || die "sed failed!"
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ fperms +x gtkdoc-rebase
+ exeinto /usr/bin/
+ doexe gtkdoc-rebase
+
+ insinto /usr/share/aclocal
+ doins gtk-doc.m4
+}