summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/geany/Manifest1
-rw-r--r--dev-util/geany/geany-1.29.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-util/geany/Manifest b/dev-util/geany/Manifest
index 63452bbe892b..e7d9a5e2a84e 100644
--- a/dev-util/geany/Manifest
+++ b/dev-util/geany/Manifest
@@ -1,3 +1,4 @@
DIST geany-1.24.1.tar.bz2 3990492 SHA256 7fb505d9b01fe6874890525f837644a6a38c23a372bb068c65ef3673108a8c33 SHA512 89bf627a861dd4c1087f283c71da9ba9c978f00f3106d97a8ee118c5b1134a8dabc0794a06fb85e58e17689e4d38da4814251b62f4109eb99984fa866483d716 WHIRLPOOL c9c7bfac0130a9e88c22136c5caf19c2965a1707f667a29e20d1aedb626f843ff93fc147b6afdcd1108842bc93e9facf19257a3290aa96c09429af93a5bf4aa7
DIST geany-1.25.tar.bz2 4149876 SHA256 8ee41da28cead8c94d433e616d7ababa81727c63e9196ca6758ade3af14a49ef SHA512 18c98190e387870fd85e8dba7c8033be90594bad038701cc285bfa6a7c3e8bf2817b91330be8d832c18afa3aba17bb3c9c67d86921c5c55be21483b0eb727942 WHIRLPOOL 3f94b5a87b22bc4c45f5f5eccf8d2cb6a1419fe7598e6e2414eb6ea1c08ea7e35bf28b8e1115da3249e58a2136fae7c82ff2f56dbf416a97df3a55b66133ced6
DIST geany-1.28.tar.bz2 4315264 SHA256 f73a3708f1a26e9bf72da564d5037d6f7fedca2e0d6175db0681c2b672100a5a SHA512 b36c7effeaec88019b35ea6e6f6b5d0c691fc6790885f6ce73fd1f7e34a50e92e49fa120479c0eba17d564f985e5a560d4ea549a6e9b4e6e6f65f9a25b0c811a WHIRLPOOL 16d2e122d9a89d8f66522f499f79826b6662a26fceeca5b7be2471d13c8a5036f68c1be66a08e1af9242167176f4080bed6acef9ae6005d9d868e6a7fb723278
+DIST geany-1.29.tar.bz2 4364252 SHA256 394307596bc908419617e4c33e93eae8b5b733dfc8d01161677b8cbd3a4fb20f SHA512 b09bc347a0a0c6ab960790d6485808b54d12d0db97b48388fce4998cb30620186f0dec0f24e55884fcc5772ed533581b583f47bd767508aab0e176f09220bc11 WHIRLPOOL e38187650e196d95c4ba9bef07ffd73c774a0b8f72a49dfa1c1a1c9d93e7ed7f89165e9233e1574c33b77fadc0255df5d1231fe18f760d6aee666d1d850d6d85
diff --git a/dev-util/geany/geany-1.29.ebuild b/dev-util/geany/geany-1.29.ebuild
new file mode 100644
index 000000000000..fca8b994a440
--- /dev/null
+++ b/dev-util/geany/geany-1.29.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+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.32:2
+ !gtk3? (
+ >=x11-libs/gtk+-2.24:2
+ vte? ( x11-libs/vte:0 )
+ )
+ gtk3? (
+ >=x11-libs/gtk+-3.0:3
+ vte? ( x11-libs/vte:2.90 )
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/intltool
+ sys-devel/gettext"
+
+pkg_setup() {
+ strip-linguas ${LANGS}
+}
+
+src_prepare() {
+ default
+
+ # Syntax highlighting for Portage
+ sed -i -e "s:*.sh;:*.sh;*.ebuild;*.eclass;:" \
+ data/filetype_extensions.conf || die
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --docdir="${EPREFIX}/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
+}