diff options
author | Rafael Martins <rafaelmartins@gentoo.org> | 2016-04-28 04:03:11 +0200 |
---|---|---|
committer | Rafael Martins <rafaelmartins@gentoo.org> | 2016-04-28 04:03:25 +0200 |
commit | 9b6234f63ec8554dcba421f0b0de321bf660fd32 (patch) | |
tree | bd35af7287b660f34724f4a748d7c132bfca08ae /app-text/blogc | |
parent | dev-python/PyQt5: version bump (diff) | |
download | gentoo-9b6234f63ec8554dcba421f0b0de321bf660fd32.tar.gz gentoo-9b6234f63ec8554dcba421f0b0de321bf660fd32.tar.bz2 gentoo-9b6234f63ec8554dcba421f0b0de321bf660fd32.zip |
app-text/blogc: updated live ebuild, added new use flags.
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-text/blogc')
-rw-r--r-- | app-text/blogc/blogc-9999.ebuild | 26 | ||||
-rw-r--r-- | app-text/blogc/metadata.xml | 4 |
2 files changed, 20 insertions, 10 deletions
diff --git a/app-text/blogc/blogc-9999.ebuild b/app-text/blogc/blogc-9999.ebuild index 4a8d832ace1e..6c8b9ca45f17 100644 --- a/app-text/blogc/blogc-9999.ebuild +++ b/app-text/blogc/blogc-9999.ebuild @@ -12,32 +12,37 @@ if [[ ${PV} = *9999* ]]; then fi DESCRIPTION="A blog compiler" -HOMEPAGE="http://blogc.org/" +HOMEPAGE="https://blogc.rgm.io/" SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" KEYWORDS="~amd64 ~x86" if [[ ${PV} = *9999* ]]; then SRC_URI="" KEYWORDS="" - RDEPEND="=dev-libs/squareball-9999" - DEPEND="${RDEPEND} - app-text/ronn" -else - RDEPEND=">=dev-libs/squareball-0.2.0" - DEPEND="${RDEPEND}" + DEPEND="app-text/ronn" fi LICENSE="BSD" SLOT="0" -IUSE="test" +IUSE="git httpd test" + +CDEPEND=" + httpd? ( + dev-libs/libevent + sys-apps/file )" + +RDEPEND="${CDEPEND} + git? ( + dev-vcs/git )" DEPEND="${DEPEND} + ${CDEPEND} virtual/pkgconfig test? ( dev-util/cmocka )" src_prepare() { - [[ ${PV} = *9999* ]] && AT_NO_RECURSIVE=1 eautoreconf + [[ ${PV} = *9999* ]] && eautoreconf eapply_user default } @@ -51,7 +56,8 @@ src_configure() { fi econf \ $(use_enable test tests) \ + $(use_enable git git-receiver) \ + $(use_enable httpd runserver) \ --disable-valgrind \ - --with-squareball=system \ ${myconf} } diff --git a/app-text/blogc/metadata.xml b/app-text/blogc/metadata.xml index ad0a08828cb2..e5a1537294f7 100644 --- a/app-text/blogc/metadata.xml +++ b/app-text/blogc/metadata.xml @@ -16,4 +16,8 @@ </maintainer> <remote-id type="github">blogc/blogc</remote-id> </upstream> + <use> + <flag name="git">Build blogc-git-receiver tool</flag> + <flag name="httpd">Build blogc-runserver tool</flag> + </use> </pkgmetadata> |