summaryrefslogtreecommitdiff
blob: 44b1cc54d695297c576bbac7601b3ec0fc722a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

GNOME2_EAUTORECONF="yes"
inherit gnome2

DESCRIPTION="Menu editor for Enlightenment DR16 written in GTK2"
HOMEPAGE="https://www.enlightenment.org https://sourceforge.net/projects/enlightenment/"
SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"

LICENSE="MIT-with-advertising"
SLOT="0"

DEPEND="
	>=gnome-base/libglade-2.4
	virtual/pkgconfig
	x11-libs/gtk+:2
	x11-wm/e16
"
RDEPEND="${DEPEND}"

PATCHES=(
	"${FILESDIR}/${PN}-no-default-docs.patch"
	"${FILESDIR}/${PN}-no-common.patch"
)

src_prepare() {
	sed -i '1i#include <glib/gstdio.h>' src/e16menuedit2.c || die
	gnome2_src_prepare
}