Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/mousepad/
Date: Fri, 01 Apr 2022 15:39:44
Message-Id: 1648827554.a5ac6f9e623fe80e7dbeaaa6762b228a325060cb.mgorny@gentoo
1 commit: a5ac6f9e623fe80e7dbeaaa6762b228a325060cb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 1 15:17:47 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 1 15:39:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ac6f9e
7
8 app-editors/mousepad: Bump to 0.5.9
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-editors/mousepad/Manifest | 1 +
13 app-editors/mousepad/mousepad-0.5.9.ebuild | 47 ++++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/app-editors/mousepad/Manifest b/app-editors/mousepad/Manifest
17 index 37b4264c4c50..0dbae3bbe9d9 100644
18 --- a/app-editors/mousepad/Manifest
19 +++ b/app-editors/mousepad/Manifest
20 @@ -1 +1,2 @@
21 DIST mousepad-0.5.8.tar.bz2 927756 BLAKE2B b0518cfbc72a4816765846dc55cedb13377047d39966ceb66d93943b6eed7191eb06c2d482f41e7356271a26f3e99a5a26d1f63b3e4ef490c777448f85dd7083 SHA512 6446927b564fe18c3127835e592d0248efa690c7b8fc2a7da92f237eb16184bd502c446a5b50aed8acd1d8233c22ee7e91c0b9ee512232f7d7a69c72f1dea9e9
22 +DIST mousepad-0.5.9.tar.bz2 953685 BLAKE2B f8db50048964c789600ce6d310f6b6a893d7d4406d55f0666b7e78bf3e54446d3ec56eb70a059da6fac367d7c3f3fc5861fb29dadf28aa9b0d5e2f62056f3dfb SHA512 915fa1c89d66f793c4dba7826b4934e286e940dbdd9c933bddeeaf76be79d2140cd0feb1dea2946989879ec354d57af36fd61517309ebd4915f18be4b9cf621f
23
24 diff --git a/app-editors/mousepad/mousepad-0.5.9.ebuild b/app-editors/mousepad/mousepad-0.5.9.ebuild
25 new file mode 100644
26 index 000000000000..9c0844adba85
27 --- /dev/null
28 +++ b/app-editors/mousepad/mousepad-0.5.9.ebuild
29 @@ -0,0 +1,47 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +inherit gnome2-utils xdg-utils
35 +
36 +DESCRIPTION="GTK+-based editor for the Xfce Desktop Environment"
37 +HOMEPAGE="https://git.xfce.org/apps/mousepad/about/"
38 +SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
39 +
40 +LICENSE="GPL-2+"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
43 +
44 +RDEPEND="
45 + >=dev-libs/glib-2.52
46 + >=x11-libs/gtk+-3.22:3
47 + >=x11-libs/gtksourceview-4.0.0:4
48 +"
49 +DEPEND="
50 + ${RDEPEND}
51 +"
52 +BDEPEND="
53 + dev-lang/perl
54 + dev-util/intltool
55 + sys-devel/gettext
56 + virtual/pkgconfig
57 +"
58 +
59 +src_configure() {
60 + local myconf=(
61 + --enable-gtksourceview4
62 + )
63 + econf "${myconf[@]}"
64 +}
65 +
66 +pkg_postinst() {
67 + gnome2_schemas_update
68 + xdg_desktop_database_update
69 + xdg_icon_cache_update
70 +}
71 +
72 +pkg_postrm() {
73 + gnome2_schemas_update
74 + xdg_desktop_database_update
75 + xdg_icon_cache_update
76 +}