You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/piedock/piedock-1.6.9.ebuild

60 lines
1.1 KiB

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="A little bit like the famous OS X dock but in shape of a pie menu"
HOMEPAGE="
http://markusfisch.de/PieDock
https://github.com/markusfisch/PieDock
"
SRC_URI="https://github.com/markusfisch/PieDock/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/PieDock-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gtk"
BDEPEND="virtual/pkgconfig"
RDEPEND="
media-libs/libpng:0=
x11-libs/libX11
x11-libs/libXft
x11-libs/libXmu
x11-libs/libXrender
gtk? (
dev-libs/atk
dev-libs/glib
x11-libs/gdk-pixbuf
x11-libs/gtk+:2
)
"
DEPEND="${RDEPEND}"
DOCS=( res/${PN}rc.sample AUTHORS ChangeLog NEWS )
PATCHES=(
"${FILESDIR}"/${PN}-1.6.1-signals.patch
"${FILESDIR}"/${PN}-1.6.9-freetype_pkgconfig.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_enable gtk)
--disable-kde
--bindir="${EPREFIX}"/usr/bin
--enable-xft
--enable-xmu
--enable-xrender
)
econf "${myeconfargs[@]}"
}