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.
48 lines
1.2 KiB
48 lines
1.2 KiB
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
inherit eutils autotools
|
|
|
|
DESCRIPTION="Library for overlaying text in X-Windows X-On-Screen-Display plus binary for sending text from CLI"
|
|
HOMEPAGE="https://sourceforge.net/projects/libxosd/"
|
|
SRC_URI="mirror://debian/pool/main/x/xosd/${PN}_${PV}.orig.tar.gz
|
|
https://dev.gentoo.org/~jer/${PN}_${PV}-1.diff.gz
|
|
http://digilander.libero.it/dgp85/gentoo/${PN}-gentoo-m4-1.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd"
|
|
IUSE="xinerama"
|
|
|
|
RDEPEND="x11-libs/libX11
|
|
x11-libs/libXext
|
|
x11-libs/libXt
|
|
media-fonts/font-misc-misc"
|
|
DEPEND="${RDEPEND}
|
|
xinerama? ( x11-proto/xineramaproto )
|
|
x11-proto/xextproto
|
|
x11-proto/xproto
|
|
virtual/pkgconfig"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
epatch "${FILESDIR}"/${P}-m4.patch
|
|
epatch "${FILESDIR}"/${P}-makefile.patch
|
|
epatch "${DISTDIR}"/${PN}_${PV}-1.diff.gz
|
|
|
|
AT_M4DIR="${WORKDIR}/m4" eautoreconf
|
|
}
|
|
|
|
src_compile() {
|
|
econf \
|
|
$(use_enable xinerama)
|
|
emake || die "emake failed"
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install || die
|
|
dodoc AUTHORS ChangeLog NEWS README TODO
|
|
}
|