summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-05-07 15:05:54 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-05-07 15:05:54 +0000
commit4900d890f8cf9984ace01573e4e0ecc1d3aceb1a (patch)
tree5620f1528bd53949c2b4ff4ff994db092792edbe /dev-libs/girara
parentRaise dev-libs/girara dependency to 0.2.1 which isn't released yet (but we ha... (diff)
downloadgentoo-2-4900d890f8cf9984ace01573e4e0ecc1d3aceb1a.tar.gz
gentoo-2-4900d890f8cf9984ace01573e4e0ecc1d3aceb1a.tar.bz2
gentoo-2-4900d890f8cf9984ace01573e4e0ecc1d3aceb1a.zip
Initial git ebuild as required by app-text/zathura wrt #509150 by "tharvik"
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'dev-libs/girara')
-rw-r--r--dev-libs/girara/ChangeLog7
-rw-r--r--dev-libs/girara/girara-9999.ebuild62
2 files changed, 68 insertions, 1 deletions
diff --git a/dev-libs/girara/ChangeLog b/dev-libs/girara/ChangeLog
index f7c9c9a99340..a632bd78feef 100644
--- a/dev-libs/girara/ChangeLog
+++ b/dev-libs/girara/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/girara
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/girara/ChangeLog,v 1.31 2014/04/04 20:58:21 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/girara/ChangeLog,v 1.32 2014/05/07 15:05:54 ssuominen Exp $
+
+*girara-9999 (07 May 2014)
+
+ 07 May 2014; Samuli Suominen <ssuominen@gentoo.org> +girara-9999.ebuild:
+ Initial git ebuild as required by app-text/zathura wrt #509150 by "tharvik"
04 Apr 2014; Samuli Suominen <ssuominen@gentoo.org> -girara-0.1.9-r200.ebuild,
-girara-0.1.9-r300.ebuild:
diff --git a/dev-libs/girara/girara-9999.ebuild b/dev-libs/girara/girara-9999.ebuild
new file mode 100644
index 000000000000..d02d8e3f24f6
--- /dev/null
+++ b/dev-libs/girara/girara-9999.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/girara/girara-9999.ebuild,v 1.1 2014/05/07 15:05:54 ssuominen Exp $
+
+EAPI=5
+
+inherit multilib toolchain-funcs
+[[ ${PV} == 9999* ]] && inherit git-2
+
+DESCRIPTION="A library that implements a user interface that focuses on simplicity and minimalism"
+HOMEPAGE="http://pwmt.org/projects/girara/"
+if ! [[ ${PV} == 9999* ]]; then
+SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
+fi
+EGIT_REPO_URI="git://git.pwmt.org/${PN}.git"
+EGIT_BRANCH="develop"
+
+LICENSE="ZLIB"
+SLOT="3"
+if ! [[ ${PV} == 9999* ]]; then
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+else
+KEYWORDS=""
+fi
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/glib-2.28
+ >=x11-libs/gtk+-3.2:3
+ !<${CATEGORY}/${PN}-0.1.6"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+pkg_setup() {
+ mygiraraconf=(
+ PREFIX="${EPREFIX}"/usr
+ LIBDIR='${PREFIX}'/$(get_libdir)
+ CC="$(tc-getCC)"
+ SFLAGS=''
+ VERBOSE=1
+ DESTDIR="${D}"
+ )
+}
+
+src_prepare() {
+ # Remove 'static' and 'install-static' targets
+ if ! use static-libs; then
+ sed -i \
+ -e '/^${PROJECT}:/s:static::' \
+ -e '/^install:/s:install-static::' \
+ Makefile || die
+ fi
+}
+
+src_compile() {
+ emake "${mygiraraconf[@]}"
+}
+
+src_install() {
+ emake "${mygiraraconf[@]}" install
+ dodoc AUTHORS
+}