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/fbpanel/fbpanel-7.0.ebuild

58 lines
1.3 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit python-any-r1 toolchain-funcs
DESCRIPTION="light-weight X11 desktop panel"
HOMEPAGE="https://aanatoly.github.io/fbpanel/"
SRC_URI="https://github.com/aanatoly/fbpanel/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~mips ppc ppc64 x86"
IUSE="alsa"
RDEPEND="
dev-libs/glib:2
alsa? ( media-libs/alsa-lib )
x11-libs/gdk-pixbuf:2[X]
x11-libs/gtk+:2
x11-libs/libX11
"
DEPEND="
${RDEPEND}
${PYTHON_DEPS}
virtual/pkgconfig
x11-proto/xproto
"
PATCHES=(
"${FILESDIR}"/${PN}-6.1-underlinking.patch
"${FILESDIR}"/${P}-shebangs.patch
"${FILESDIR}"/${P}-clang.patch
)
src_configure() {
tc-export CC
# not autotools based
local myconfigure=(
./configure V=1
--mandir="${EPREFIX}"/usr/share/man/man1
--datadir="${EPREFIX}"/usr/share/${PN}
--prefix="${EPREFIX}"/usr
--libdir="${EPREFIX}"/usr/$(get_libdir)/${PN}
$(usex alsa --sound --no-sound)
)
echo ${myconfigure[@]} || die
${myconfigure[@]} || die
}
pkg_postinst() {
elog "For the volume plugin to work, you need to configure your kernel"
elog "with CONFIG_SND_MIXER_OSS or CONFIG_SOUND_PRIME or some other means"
elog "that provide the /dev/mixer device node."
}