gentoo-ebuilds/app-admin/gtkdiskfree/gtkdiskfree-2.0.4_p20200224-r1.ebuild
Arthur Zamarin 0e727a3a16
*/*: unkeyword ~ia64
Change was created by running the following command::

    ekeyword ^ia64 */*/*.ebuild

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-09-12 21:37:40 +03:00

38 lines
852 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Graphical tool to show free disk space like df"
HOMEPAGE="https://gitlab.com/mazes_80/gtkdiskfree"
COMMIT="bdda379b9109a226a37801505a19da91494144a6"
SRC_URI="https://gitlab.com/mazes_80/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
IUSE="gtk2"
RDEPEND="
dev-libs/glib
x11-libs/cairo
x11-libs/gdk-pixbuf
gtk2? ( x11-libs/gtk+:2 )
!gtk2? ( x11-libs/gtk+:3 )"
DEPEND="${RDEPEND}
x11-base/xorg-proto"
BDEPEND="sys-devel/gettext
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-2.0.4-musl-setlocale.patch
)
src_configure() {
if use gtk2 ; then
econf $(use_with gtk2)
else
econf --enable-old-color-selector
fi
}