38 lines
770 B
Bash
38 lines
770 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
inherit epatch autotools
|
|
|
|
DESCRIPTION="X11 XVideo Querying/Setting Tool from Ogle project"
|
|
HOMEPAGE="http://www.dtek.chalmers.se/groups/dvd"
|
|
SRC_URI="http://www.dtek.chalmers.se/groups/dvd/dist/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT=0
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
IUSE="gtk"
|
|
|
|
RDEPEND="x11-libs/libX11
|
|
x11-libs/libXv
|
|
x11-libs/libXext
|
|
gtk? ( x11-libs/gtk+:2 )"
|
|
DEPEND="${RDEPEND}
|
|
x11-libs/libXt
|
|
virtual/pkgconfig"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-gtk.patch
|
|
epatch "${FILESDIR}"/${P}-pod-encoding.patch
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf $(use_with gtk)
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install
|
|
dodoc AUTHORS ChangeLog NEWS README
|
|
}
|