summaryrefslogtreecommitdiff
path: root/media-video/bomi/bomi-0.9.11.ebuild
blob: 942964c8d0f48acff5d687e002718d1a7cad1342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit eutils qmake-utils

DESCRIPTION="Powerful and easy-to-use multimedia player"
HOMEPAGE="http://bomi.github.io/"
SRC_URI="https://github.com/xylosper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="aacs bdplus cdda jack pulseaudio samba systemd vaapi vdpau youtube-dl"

RDEPEND="dev-libs/fribidi
	dev-libs/icu
	dev-libs/libchardet
	dev-qt/linguist-tools
	dev-qt/qtchooser
	>=dev-qt/qtcore-5.3
	>=dev-qt/qtdbus-5.3
	>=dev-qt/qtdeclarative-5.3[-gles2]
	>=dev-qt/qtgui-5.3[-gles2]
	>=dev-qt/qtnetwork-5.3
	>=dev-qt/qtopengl-5.3[-gles2]
	>=dev-qt/qtquickcontrols-5.3
	>=dev-qt/qtsql-5.3
	>=dev-qt/qtsvg-5.3
	>=dev-qt/qtwidgets-5.3[-gles2]
	>=dev-qt/qtx11extras-5.3
	>=dev-qt/qtxml-5.3
	media-libs/alsa-lib
	>=media-video/ffmpeg-2.4
	media-libs/glew
	>=media-libs/libass-0.12.1
	youtube-dl? ( net-misc/youtube-dl )
	media-libs/libbluray
	bdplus? ( media-libs/libbdplus )
	aacs? ( media-libs/libaacs )
	>=media-libs/libquvi-0.9
	media-libs/libdvdread
	media-libs/libdvdnav
	media-sound/mpg123
	x11-libs/libva
	cdda? (
		dev-libs/libcdio
		dev-libs/libcdio-paranoia )
	jack? ( media-sound/jack-audio-connection-kit )
	pulseaudio? ( media-sound/pulseaudio )
	samba? ( net-fs/samba[client] )
	systemd? ( sys-apps/systemd )
	virtual/opengl"
DEPEND="${RDEPEND}
	dev-lang/python
	media-libs/mesa
	sys-apps/sed
	>=sys-devel/gcc-4.9"

src_configure() {
	./configure --prefix=/usr \
		--qmake=/usr/$(get_libdir)/qt5/bin/qmake \
		--lrelease=/usr/$(get_libdir)/qt5/bin/lrelease \
		$(use_enable cdda) \
		$(use_enable jack) \
		$(use_enable pulseaudio) \
		$(use_enable samba) \
		$(use_enable systemd) \
		$(use_enable vaapi) \
		$(use_enable vdpau) \
		|| die
}

src_install() {
	emake DEST_DIR="${D}" install
	dodoc CHANGES.txt README.md
}