Skip to content

Commit

Permalink
media-video: fix building issues
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Kulyov <kulyov.pavel@gmail.com>
  • Loading branch information
pkulev committed Dec 14, 2019
1 parent 25fb973 commit c003ccc
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions media-video/baka-mplayer/baka-mplayer-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit git-r3 eutils qmake-utils
inherit git-r3 eutils qmake-utils xdg-utils


DESCRIPTION="Cross-platform libmpv-based multimedia player with uncluttered design"
HOMEPAGE="http://bakamplayer.u8sand.net/"
Expand All @@ -13,24 +14,29 @@ SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND="dev-qt/qtcore:5
BDEPEND="
dev-qt/linguist-tools:5
virtual/pkconfig
"
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
media-video/mpv[libmpv]
x11-libs/libX11"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DEPEND="${RDEPEND}"

S="${WORKDIR}/Baka-MPlayer-${PV}"
S="${WORKDIR}/${PF}"

src_prepare() {
# no need to install license
sed -e '/^INSTALLS/s:license::' -i src/Baka-MPlayer.pro || die
# put manual in our docdir
sed -e '/^manual.path/s:'${PN}':'${PF}':' -i src/Baka-MPlayer.pro || die
eapply_user
}

src_configure() {
Expand All @@ -41,3 +47,13 @@ src_configure() {
lupdate="$(qt5_get_bindir)"/lupdate \
src/Baka-MPlayer.pro
}

pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}

pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

0 comments on commit c003ccc

Please sign in to comment.