diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-01-05 23:47:10 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-01-05 23:48:28 +0100 |
commit | d29f1a8664ec30ee960ec3bcda040262e6a5a6ea (patch) | |
tree | 02e419d9feedb3a5cbcff2f1d7e962f767effc64 /dev-util/geany | |
parent | x11-terms/xterm: stable 337 for ppc64, bug #674478 (diff) | |
download | gentoo-d29f1a8664ec30ee960ec3bcda040262e6a5a6ea.tar.gz gentoo-d29f1a8664ec30ee960ec3bcda040262e6a5a6ea.tar.bz2 gentoo-d29f1a8664ec30ee960ec3bcda040262e6a5a6ea.zip |
dev-util/geany: Bump to version 1.34.1
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-util/geany')
-rw-r--r-- | dev-util/geany/Manifest | 1 | ||||
-rw-r--r-- | dev-util/geany/geany-1.34.1.ebuild | 81 |
2 files changed, 82 insertions, 0 deletions
diff --git a/dev-util/geany/Manifest b/dev-util/geany/Manifest index 9b86e2b5fd94..c6b7b6971a2f 100644 --- a/dev-util/geany/Manifest +++ b/dev-util/geany/Manifest @@ -1,3 +1,4 @@ DIST geany-1.30.1.tar.bz2 4352154 BLAKE2B 6efceb21e07aba3b0698196543746e926d6a73ef5d5f560467eee18a7b9ade4ce0ce37808176922b3399ea8a72b2f281af313a9f57aa325e1a9cb964f0f1c34e SHA512 55fb446b0c517ccee4d2f3023334b96a336788422a4dc41207a4f290c5d4b88df1eefa4b7f6fddf0567224f890ae7bea396306a935512f17e01682034f7200e3 DIST geany-1.33.tar.bz2 4106409 BLAKE2B f0f16053eb1894ea98c8e79cd1cc5cb12adde4755358db42afe7c50a940168eeb6d7c5b7778765f28c6f6b029b5e17ac8433580e30c456b1b56fbea07ac16c6a SHA512 7fd53bd61cfe2dc05af69b5739ba2841cada822ea6dd76c6b2eb2707e69210f47cf19308842e3a989772c18a7e4386bf7a2b053085063605d196e8e630ab2b33 +DIST geany-1.34.1.tar.bz2 4474211 BLAKE2B 25c9b3f752b0b19582120ea342d8029f811040ef433adb065aec028f0bcc0909ea1b0005445bae70a53cbb2b1d3bfe0c2dd9d9c25c5e3f89bcdedebc0a392301 SHA512 3e075b23b22682324e4a56046d238d9d0087d095a6157b98c342fbe40a2bfa7118f72cfe1f414d110fff1411e4cc9c33fff800e0a2e32f9f0e5fd7b6fb560c9a DIST geany-1.34.tar.bz2 4474601 BLAKE2B 92a2b8343512317ad90cd10bd58b2aca77d7f58dff3548cfdbdab121343b67dcaa7a9d5b57cafd196d599d8bb6a121fa5e49d65a69fa7fd87fe7703be6b8d5fc SHA512 ef506880fbba9acbd2003b207c9897e115d398e716631bc1e164e3455aa9172f34b9955c627fb2f2dd3a3cba0926cce0a774d641517bc94b700d866be00db1a7 diff --git a/dev-util/geany/geany-1.34.1.ebuild b/dev-util/geany/geany-1.34.1.ebuild new file mode 100644 index 000000000000..416007a6e5ed --- /dev/null +++ b/dev-util/geany/geany-1.34.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils xdg-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="https://www.geany.org" +if [[ "${PV}" = 9999* ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/geany/geany.git" +else + SRC_URI="https://download.geany.org/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +fi +LICENSE="GPL-2+ HPND" +SLOT="0" + +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 + + if [[ ${PV} = *_pre* ]] || [[ ${PV} = 9999* ]] ; then + eautoreconf + fi +} + +src_configure() { + local myeconfargs=( + --disable-html-docs + --disable-dependency-tracking + --docdir="${EPREFIX}/usr/share/doc/${PF}" + $(use_enable gtk3) + $(use_enable vte) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die +} + +pkg_preinst() { gnome2_icon_savelist; } + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} |