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/ipager/ipager-1.1.0-r1.ebuild

48 lines
1.1 KiB

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="A themable desktop pager for fluxbox and other window managers"
HOMEPAGE="http://www.useperl.ru/ipager/index.en.html"
SRC_URI="http://www.useperl.ru/ipager/src/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="xinerama"
RDEPEND="media-libs/imlib2[X]
x11-libs/libXmu
xinerama? ( x11-libs/libXinerama )"
DEPEND="${RDEPEND}
dev-util/scons"
PATCHES=( "${FILESDIR}/${P}-scons_imlib2.patch"
"${FILESDIR}/${P}-scons_flags.patch"
"${FILESDIR}/${P}-gcc43.patch"
"${FILESDIR}/${P}-gcc47.patch" )
src_compile() {
CONFIG_OPTS="xinerama=false"
use xinerama && CONFIG_OPTS="${CONFIG_OPTS} xinerama=true"
# FYI: Passing debug=true only adds -ggdb inside the SConstruct
scons \
--cache-disable \
PREFIX="/usr" \
${CONFIG_OPTS} \
|| die "scons configure failed"
}
src_install() {
scons \
--cache-disable \
PREFIX="/usr" \
DESTDIR="${D}" \
install \
|| die "scons install failed"
dodoc ToDo ChangeLog README
dodoc themes/*.conf
}