Diff baka-mplayer-2.0.4-r2 with a baka-mplayer-9999
/usr/portage/media-video/baka-mplayer/baka-mplayer-9999.ebuild 2023-10-09 14:52:31.816368409 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit qmake-utils xdg-utils |
|
6 |
inherit qmake-utils git-r3 xdg-utils |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Cross-platform libmpv-based multimedia player with uncluttered design" |
9 | 9 |
HOMEPAGE="http://bakamplayer.u8sand.net/" |
10 |
SRC_URI="https://github.com/u8sand/Baka-MPlayer/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
10 |
EGIT_REPO_URI="https://github.com/u8sand/Baka-MPlayer.git" |
|
11 | 11 | |
12 | 12 |
LICENSE="GPL-2" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" |
|
14 |
KEYWORDS="" |
|
15 | 15 |
IUSE="" |
16 | 16 | |
17 | 17 |
BDEPEND=" |
... | ... | |
30 | 30 |
" |
31 | 31 |
DEPEND="${RDEPEND}" |
32 | 32 | |
33 |
S="${WORKDIR}/Baka-MPlayer-${PV}" |
|
34 | ||
35 |
PATCHES=( |
|
36 |
"${FILESDIR}/${P}-gcc5.patch" |
|
37 |
"${FILESDIR}/${P}-mpv23.patch" |
|
38 |
"${FILESDIR}/${P}-playlist-regression.patch" |
|
39 |
"${FILESDIR}/${P}-libmpv-api2.patch" |
|
40 |
) |
|
33 |
S="${WORKDIR}/baka-mplayer-${PV}" |
|
41 | 34 | |
42 | 35 |
src_prepare() { |
43 | 36 |
default |
44 | 37 |
# don't install license, man.gz, install the latter manually |
45 |
sed -e "/^INSTALLS/s:\sman\slicense::" \ |
|
46 |
-e '/^manual.path/s:'${PN}':'${PF}':' \ |
|
47 |
-i src/Baka-MPlayer.pro || die |
|
38 |
sed -e "/^INSTALLS/s/\sman\slicense//" -i src/Baka-MPlayer.pro || die |
|
48 | 39 |
gunzip DOCS/baka-mplayer.1.gz || die |
49 | 40 |
} |
50 | 41 |