diff options
Diffstat (limited to 'x11-misc/bgs/bgs-0.8.ebuild')
-rw-r--r-- | x11-misc/bgs/bgs-0.8.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-misc/bgs/bgs-0.8.ebuild b/x11-misc/bgs/bgs-0.8.ebuild new file mode 100644 index 0000000..bf7d66b --- /dev/null +++ b/x11-misc/bgs/bgs-0.8.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Simple background setter based on imlib2" +HOMEPAGE="https://github.com/Gottox/bgs" +SRC_URI="https://github.com/Gottox/bgs/archive/v${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="xinerama" + +DEPEND="media-libs/imlib2 + x11-libs/libX11 +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -e 's/PREFIX = \/usr\/local/PREFIX = \/usr/' -i config.mk || die + + if use xinerama; then + sed -e '/XINERAMALIBS/d' -i config.mk || die + sed -e '/XINERAMAFLAGS/d' -i config.mk || die + fi +} |