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.
84 lines
1.8 KiB
84 lines
1.8 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
8 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
|
inherit flag-o-matic
|
||
|
|
||
|
DESCRIPTION="OSD frontend for Xine"
|
||
|
HOMEPAGE="http://oxine.sourceforge.net/"
|
||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||
3 years ago
|
|
||
8 years ago
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
3 years ago
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||
8 years ago
|
IUSE="curl debug dvb exif joystick jpeg lirc nls png v4l X"
|
||
|
|
||
|
COMMON_DEPEND="
|
||
|
dev-libs/libcdio
|
||
|
media-libs/xine-lib[v4l?,X,imagemagick]
|
||
3 years ago
|
virtual/libcrypt:=
|
||
8 years ago
|
curl? ( net-misc/curl )
|
||
|
dvb? ( media-libs/xine-lib[v4l] )
|
||
|
joystick? ( media-libs/libjsw )
|
||
|
jpeg? (
|
||
|
media-gfx/imagemagick
|
||
3 years ago
|
media-libs/netpbm[jpeg,zlib(+)]
|
||
8 years ago
|
media-video/mjpegtools
|
||
|
)
|
||
|
lirc? ( app-misc/lirc )
|
||
|
nls? (
|
||
|
virtual/libintl
|
||
|
sys-devel/gettext
|
||
|
)
|
||
|
png? (
|
||
|
media-gfx/imagemagick
|
||
3 years ago
|
media-libs/netpbm[png,zlib(+)]
|
||
8 years ago
|
media-video/mjpegtools
|
||
|
)
|
||
|
X? (
|
||
|
x11-libs/libXext
|
||
|
x11-libs/libX11
|
||
|
)"
|
||
|
RDEPEND="${COMMON_DEPEND}
|
||
3 years ago
|
sys-apps/util-linux"
|
||
8 years ago
|
DEPEND="${COMMON_DEPEND}
|
||
|
virtual/pkgconfig"
|
||
|
|
||
|
HTML_DOCS=( doc/README.html )
|
||
|
|
||
|
src_configure() {
|
||
|
# Fix underlinking by falling back to
|
||
|
# GNU89 inline semantics, bug 590946
|
||
|
append-cflags -std=gnu89
|
||
|
|
||
|
# Note on images: Image support will be automatically disabled if
|
||
|
# netpbm, imagemagick or mjpegtools is not installed, regardless
|
||
|
# of what the USE flags are set to.
|
||
|
# If one of the image USE flags is unset, disable image support
|
||
|
local myconf=()
|
||
|
if use !png || use !jpeg; then
|
||
|
myconf+=( --disable-images )
|
||
|
fi
|
||
|
|
||
|
econf \
|
||
|
--disable-hal \
|
||
|
--disable-rpath \
|
||
|
--disable-extractor \
|
||
|
$(use_with curl) \
|
||
|
$(use_enable debug) \
|
||
|
$(use_enable dvb) \
|
||
|
$(use_enable exif) \
|
||
|
$(use_enable joystick) \
|
||
|
$(use_enable lirc) \
|
||
|
$(use_enable nls) \
|
||
|
$(use_enable v4l) \
|
||
|
$(use_with X x) \
|
||
|
"${myconf[@]}"
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
dodoc doc/keymapping.pdf
|
||
|
}
|