summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-07-14 09:08:31 +0000
committerLars Wendler <polynomial-c@gentoo.org>2015-07-14 09:08:31 +0000
commitf8cc644c7d901cfe9e2231074242516e798a8514 (patch)
tree34a638981f24e907d3c25006df3ab7ecb678a819 /dev-util/geany
parentfix regression overwriting REQUIRED_USE, bug #554398 (diff)
downloadgentoo-2-f8cc644c7d901cfe9e2231074242516e798a8514.tar.gz
gentoo-2-f8cc644c7d901cfe9e2231074242516e798a8514.tar.bz2
gentoo-2-f8cc644c7d901cfe9e2231074242516e798a8514.zip
Version bump
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 981CA6FC)
Diffstat (limited to 'dev-util/geany')
-rw-r--r--dev-util/geany/ChangeLog10
-rw-r--r--dev-util/geany/geany-1.25.ebuild63
-rw-r--r--dev-util/geany/metadata.xml1
3 files changed, 72 insertions, 2 deletions
diff --git a/dev-util/geany/ChangeLog b/dev-util/geany/ChangeLog
index 86de55905fea..fede44a1daea 100644
--- a/dev-util/geany/ChangeLog
+++ b/dev-util/geany/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/geany
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/geany/ChangeLog,v 1.79 2014/04/27 22:48:22 polynomial-c Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/geany/ChangeLog,v 1.80 2015/07/14 09:08:31 polynomial-c Exp $
+
+*geany-1.25 (14 Jul 2015)
+
+ 14 Jul 2015; Lars Wendler <polynomial-c@gentoo.org> +geany-1.25.ebuild,
+ metadata.xml:
+ Version bump.
*geany-1.24.1 (27 Apr 2014)
diff --git a/dev-util/geany/geany-1.25.ebuild b/dev-util/geany/geany-1.25.ebuild
new file mode 100644
index 000000000000..1a36122113f5
--- /dev/null
+++ b/dev-util/geany/geany-1.25.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/geany/geany-1.25.ebuild,v 1.1 2015/07/14 09:08:31 polynomial-c Exp $
+
+EAPI=5
+inherit eutils fdo-mime gnome2-utils
+
+LANGS="ar ast be bg ca cs de el en_GB es et eu fa fi fr gl he hi hu id it ja kk ko lb lt mn nl nn pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN ZH_TW"
+NOSHORTLANGS="en_GB zh_CN zh_TW"
+
+DESCRIPTION="GTK+ based fast and lightweight IDE"
+HOMEPAGE="http://www.geany.org"
+SRC_URI="http://download.geany.org/${P}.tar.bz2"
+
+LICENSE="GPL-2+ HPND"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="gtk3 +vte"
+
+RDEPEND=">=dev-libs/glib-2.28:2
+ !gtk3? ( >=x11-libs/gtk+-2.16:2 )
+ gtk3? ( >=x11-libs/gtk+-3.0:3 )
+ vte? ( x11-libs/vte:0 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/intltool
+ sys-devel/gettext"
+
+pkg_setup() {
+ strip-linguas ${LANGS}
+}
+
+src_prepare() {
+ # Syntax highlighting for Portage
+ sed -i -e "s:*.sh;:*.sh;*.ebuild;*.eclass;:" \
+ data/filetype_extensions.conf || die
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --docdir="/usr/share/doc/${PF}" \
+ $(use_enable gtk3) \
+ $(use_enable vte)
+}
+
+src_install() {
+ emake DESTDIR="${D}" DOCDIR="${ED}/usr/share/doc/${PF}" install
+ rm -f "${ED}"/usr/share/doc/${PF}/{COPYING,GPL-2,ScintillaLicense.txt}
+ prune_libtool_files --all
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/dev-util/geany/metadata.xml b/dev-util/geany/metadata.xml
index e2fa0c0760f9..5989ba525e9a 100644
--- a/dev-util/geany/metadata.xml
+++ b/dev-util/geany/metadata.xml
@@ -35,6 +35,7 @@
symboles.
</longdescription>
<use>
+ <flag name="gtk3">Use GTK+3 instead of GTK+2</flag>
<flag name="vte">Enable Terminal support (<pkg>x11-libs/vte</pkg>)</flag>
</use>
</pkgmetadata>