diff options
author | 2009-06-09 16:43:01 +0530 | |
---|---|---|
committer | 2009-06-09 16:43:01 +0530 | |
commit | bffe743c0b0ee0cfa3805f4d5e9296fc20268f31 (patch) | |
tree | 2024dbad8aaa5f1791a8d5ade5247946a8b385db | |
parent | x11-libs/gtk+: Sync with tree (diff) | |
download | gnome-live-bffe743c0b0ee0cfa3805f4d5e9296fc20268f31.tar.gz gnome-live-bffe743c0b0ee0cfa3805f4d5e9296fc20268f31.tar.bz2 gnome-live-bffe743c0b0ee0cfa3805f4d5e9296fc20268f31.zip |
Add sys-fs/udev-extras, add checks to eclass for gtkdocize and intltoolize
-rw-r--r-- | eclass/gnome2-live.eclass | 13 | ||||
-rw-r--r-- | sys-fs/udev-extras/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/udev-extras/udev-extras-9999.ebuild | 44 |
3 files changed, 53 insertions, 5 deletions
diff --git a/eclass/gnome2-live.eclass b/eclass/gnome2-live.eclass index 042198c..a2934ef 100644 --- a/eclass/gnome2-live.eclass +++ b/eclass/gnome2-live.eclass @@ -54,11 +54,14 @@ gnome2-live_src_prepare() { epatch "${i}" done - gtkdocize - gnome-doc-common - gnome-doc-prepare --automake - intltoolize --force - # Add by default; it's ignored if DNE + if grep -qe 'GTK_DOC' configure.*; then + gtkdocize + gnome-doc-common + gnome-doc-prepare --automake + fi + if grep -qe "IT_PROG_INTLTOOL" configure.*; then + intltoolize --force + fi if test -e m4; then AT_M4DIR=m4 eautoreconf else diff --git a/sys-fs/udev-extras/Manifest b/sys-fs/udev-extras/Manifest new file mode 100644 index 0000000..d85039a --- /dev/null +++ b/sys-fs/udev-extras/Manifest @@ -0,0 +1 @@ +EBUILD udev-extras-9999.ebuild 1086 RMD160 63a5719e5af2d1e15becc43cc2957f805c3b170b SHA1 03ecc2232443d0e11eb27522e2b7327325afdfc4 SHA256 a7227cf2aac40d94e25fb02e469765be8b55043b33e9a31d2cf1f7a50c5af051 diff --git a/sys-fs/udev-extras/udev-extras-9999.ebuild b/sys-fs/udev-extras/udev-extras-9999.ebuild new file mode 100644 index 0000000..38ce86d --- /dev/null +++ b/sys-fs/udev-extras/udev-extras-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-141.ebuild,v 1.3 2009/05/12 17:46:47 zzam Exp $ + +EAPI="2" + +inherit gnome2-live + +if test "${PV}" = "9999"; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/hotplug/${PN}.git" + EGIT_BRANCH="master" +else + SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2" +fi +DESCRIPTION="Extensions to udev" +HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +COMMON_DEPEND="sys-apps/acl + dev-libs/glib:2 + >=sys-fs/udev-141 + >=dev-libs/libusb-0.1.12 + >=sys-apps/usbutils-0.82 + sys-apps/pciutils" +DEPEND="${COMMON_DEPEND} + dev-util/gperf + app-text/docbook-xsl-stylesheets + app-text/docbook-xml-dtd + doc? ( dev-utils/gtk-doc )" +RDEPEND="${COMMON_DEPEND}" + +src_configure() { + econf --disable-introspection \ + $(use_enable doc gtk-doc) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc NEWS TODO ChangeLog +} |