summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/geany/Manifest1
-rw-r--r--dev-util/geany/geany-1.30.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-util/geany/Manifest b/dev-util/geany/Manifest
index 6a57d2c67865..5288afa8fecd 100644
--- a/dev-util/geany/Manifest
+++ b/dev-util/geany/Manifest
@@ -1,2 +1,3 @@
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
+DIST geany-1.30.tar.bz2 4381257 SHA256 b2dec920c77bc3e88d5f7b0f1dbe4f5200f36df3b346d1aba39323bc30afae6d SHA512 86a18ea79a6da69f01035fa57dd6dbc0706d0445fb7d4dac7e895f60f06e9de4df22fe3e3ecbc70d487c95c2fca9e269916ebd9fd944b4fdc5bfedce80bccb4a WHIRLPOOL 0768a60e3f3d29078bd280038e2a19963e6876a2b7e252db6dcce0fa4c0c39bbbd002f237ff3e23ff56f29ebacf2595232dac01c59c2f8f6e632df5a966f17fc
diff --git a/dev-util/geany/geany-1.30.ebuild b/dev-util/geany/geany-1.30.ebuild
new file mode 100644
index 000000000000..2dbe5634afac
--- /dev/null
+++ b/dev-util/geany/geany-1.30.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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.91 )
+ )"
+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
+}