diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-10-03 01:25:49 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-10-03 01:28:11 +0200 |
commit | 1ba28bd19f618bdba6b0a99391e6b5d3319b794a (patch) | |
tree | f36473727ebc017c316202c2f8006f3a24ef1306 /dev-util/geany | |
parent | sys-libs/libcap-ng: bump to v0.7.10 (diff) | |
download | gentoo-1ba28bd19f618bdba6b0a99391e6b5d3319b794a.tar.gz gentoo-1ba28bd19f618bdba6b0a99391e6b5d3319b794a.tar.bz2 gentoo-1ba28bd19f618bdba6b0a99391e6b5d3319b794a.zip |
dev-util/geany: bump to v1.36
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-util/geany')
-rw-r--r-- | dev-util/geany/Manifest | 1 | ||||
-rw-r--r-- | dev-util/geany/geany-1.36.ebuild | 83 |
2 files changed, 84 insertions, 0 deletions
diff --git a/dev-util/geany/Manifest b/dev-util/geany/Manifest index f98cf3339776..b8bdbac59660 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.34.1.tar.bz2 4474211 BLAKE2B 25c9b3f752b0b19582120ea342d8029f811040ef433adb065aec028f0bcc0909ea1b0005445bae70a53cbb2b1d3bfe0c2dd9d9c25c5e3f89bcdedebc0a392301 SHA512 3e075b23b22682324e4a56046d238d9d0087d095a6157b98c342fbe40a2bfa7118f72cfe1f414d110fff1411e4cc9c33fff800e0a2e32f9f0e5fd7b6fb560c9a DIST geany-1.35.tar.bz2 4593705 BLAKE2B 1d411da04a82987abccb33385d3b50025078b68dc2cc4accfb7822000a786b97f613a35864fde2389d0525b9547972d0e56699b75aae40686f0ad7e6e2beb4a6 SHA512 9ae2f168b1b5e9fa9029a32f5d1e9b591e50ea4e79041760524a4389572400c6f8f56f1fd6973299f152f9fd653cf3d52ca50136f0bbdbc15d3395bcf7388ccf +DIST geany-1.36.tar.bz2 4644521 BLAKE2B 80eeceee31a49e9728a358904ad40e353d3407a22492340e6aa9a82091d32fa004f4494d3ae027732174e7cf7f6fae620b511680e06e58c5b71dd259125900c4 SHA512 15005772b64e8321d7fa8552363df425eb25e9d7b0760c561c8fb3f34d7acae2bf25da8e04fda38a2a1b64cc31ff613b7ff2786d432ff014050c138c7473c810 diff --git a/dev-util/geany/geany-1.36.ebuild b/dev-util/geany/geany-1.36.ebuild new file mode 100644 index 000000000000..122fd459e63f --- /dev/null +++ b/dev-util/geany/geany-1.36.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# eutils required for strip-linguas +inherit eutils xdg + +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 ku 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 + [[ "${PV}" == *_pre* ]] && inherit autotools + 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" + +BDEPEND="virtual/pkgconfig" +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} + dev-util/intltool + sys-devel/gettext" + +pkg_setup() { + strip-linguas ${LANGS} +} + +src_prepare() { + xdg_src_prepare #588570 + + # 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 + --disable-pdf-docs + $(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() { + xdg_pkg_preinst +} + +pkg_postinst() { + xdg_pkg_postinst +} + +pkg_postrm() { + xdg_pkg_postrm +} |