diff options
author | 2014-03-09 13:30:37 -0400 | |
---|---|---|
committer | 2014-03-09 13:30:37 -0400 | |
commit | e59d184c4ab1f4eea649ba4dd99dc225e0162889 (patch) | |
tree | 12f0706bcbe0899d16498141d375e142c4812fb8 | |
parent | x11-libs/libfm-9999: fix git URI (diff) | |
download | kork-e59d184c4ab1f4eea649ba4dd99dc225e0162889.tar.gz kork-e59d184c4ab1f4eea649ba4dd99dc225e0162889.tar.bz2 kork-e59d184c4ab1f4eea649ba4dd99dc225e0162889.zip |
x11-libs/libfm-9999: make use=doc mandatory
Just build it, don't fail.
-rw-r--r-- | x11-libs/libfm/libfm-9999.ebuild | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/x11-libs/libfm/libfm-9999.ebuild b/x11-libs/libfm/libfm-9999.ebuild index 0c49504..5bcd647 100644 --- a/x11-libs/libfm/libfm-9999.ebuild +++ b/x11-libs/libfm/libfm-9999.ebuild @@ -5,7 +5,8 @@ EAPI=5 #EGIT_REPO_URI="https://github.com/lxde/${PN}" -EGIT_REPO_URI="git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/${PN}" +#EGIT_REPO_URI="git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/${PN}" +EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git" # master seems way too unstable for us to use #EGIT_BRANCH="1.1" inherit autotools git-2 fdo-mime vala @@ -15,7 +16,7 @@ HOMEPAGE="http://pcmanfm.sourceforge.net/" LICENSE="GPL-2" SLOT="0/4.0.0" #copy ABI_VERSION because it seems upstream change it randomly -IUSE="+automount debug doc examples udisks vala" +IUSE="+automount debug examples udisks vala" KEYWORDS="" COMMON_DEPEND=">=dev-libs/glib-2.18:2 @@ -32,9 +33,7 @@ RDEPEND="${COMMON_DEPEND} )" DEPEND="${COMMON_DEPEND} vala? ( $(vala_depend) ) - doc? ( - dev-util/gtk-doc - ) + dev-util/gtk-doc >=dev-util/intltool-0.40 virtual/pkgconfig sys-devel/gettext" @@ -44,12 +43,7 @@ DOCS=( AUTHORS TODO ) REQUIRED_USE="udisks? ( automount )" src_prepare() { - if ! use doc; then - sed -ie '/SUBDIRS=/s#docs##' "${S}"/Makefile.am || die "sed failed" - sed -ie '/^[[:space:]]*docs/d' configure.ac || die "sed failed" - else - gtkdocize --copy || die - fi + gtkdocize --copy || die sed -i -e "s:-O0::" -e "/-DG_ENABLE_DEBUG/s: -g::" \ configure.ac || die "sed failed" @@ -88,7 +82,7 @@ src_configure() { $(use_enable debug) \ $(use_enable udisks) \ $(use_enable vala actions) \ - $(use_enable doc gtk-doc) \ + --enable-gtk-doc \ --with-html-dir=/usr/share/doc/${PF}/html } |