Skip to content

Commit

Permalink
app-text/libodfgen: --with-sharedptr=c++11, drop eutils.eclass
Browse files Browse the repository at this point in the history
No more boost dependency with std sharedptr

Package-Manager: portage-2.3.0
  • Loading branch information
a17r authored and akhuettel committed Dec 17, 2016
1 parent a980c11 commit d58e1fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions app-text/libodfgen/libodfgen-0.1.6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
EAPI=6

EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/libodfgen"
inherit eutils
[[ ${PV} == 9999 ]] && inherit autotools git-r3

DESCRIPTION="Library to generate ODF documents from libwpd and libwpg"
Expand All @@ -24,26 +23,24 @@ RDEPEND="
dev-libs/librevenge
"
DEPEND="${RDEPEND}
>=dev-libs/boost-1.46
virtual/pkgconfig
doc? ( app-doc/doxygen )
"

src_prepare() {
eapply_user
default
[[ ${PV} == 9999 ]] && eautoreconf
}

src_configure() {
econf \
--disable-static \
--disable-werror \
--with-sharedptr=boost \
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
--with-sharedptr=c++11 \
$(use_with doc docs)
}

src_install() {
default
prune_libtool_files --all
find "${D}" -name '*.la' -delete || die
}
9 changes: 3 additions & 6 deletions app-text/libodfgen/libodfgen-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
EAPI=6

EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/libodfgen"
inherit eutils
[[ ${PV} == 9999 ]] && inherit autotools git-r3

DESCRIPTION="Library to generate ODF documents from libwpd and libwpg"
Expand All @@ -24,26 +23,24 @@ RDEPEND="
dev-libs/librevenge
"
DEPEND="${RDEPEND}
>=dev-libs/boost-1.46
virtual/pkgconfig
doc? ( app-doc/doxygen )
"

src_prepare() {
eapply_user
default
[[ ${PV} == 9999 ]] && eautoreconf
}

src_configure() {
econf \
--disable-static \
--disable-werror \
--with-sharedptr=boost \
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
--with-sharedptr=c++11 \
$(use_with doc docs)
}

src_install() {
default
prune_libtool_files --all
find "${D}" -name '*.la' -delete || die
}

0 comments on commit d58e1fa

Please sign in to comment.