Skip to content

Commit

Permalink
media-video/avidemux: Drop USE=qt4
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/549818
Package-Manager: Portage-2.3.17, Repoman-2.3.6
  • Loading branch information
a17r committed Dec 8, 2017
1 parent 299c831 commit bba32a6
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions media-video/avidemux/avidemux-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="6"
EAPI=6

PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"

Expand All @@ -13,7 +13,7 @@ HOMEPAGE="http://fixounet.free.fr/${PN}"
# Multiple licenses because of all the bundled stuff.
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
SLOT="2.6"
IUSE="debug opengl nls nvenc qt4 qt5 sdl vaapi vdpau xv"
IUSE="debug opengl nls nvenc qt5 sdl vaapi vdpau xv"

if [[ ${PV} == *9999* ]] ; then
MY_P="${P}"
Expand All @@ -29,7 +29,6 @@ fi
DEPEND="
~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,xv?,nvenc?]
opengl? ( virtual/opengl:0 )
qt4? ( >=dev-qt/qtgui-4.8.3:4 )
qt5? ( dev-qt/qtgui:5 )
vaapi? ( x11-libs/libva:0 )
nvenc? ( amd64? ( media-video/nvidia_video_sdk:0 ) )
Expand All @@ -38,15 +37,15 @@ RDEPEND="
$DEPEND
nls? ( virtual/libintl:0 )
"
PDEPEND="~media-libs/avidemux-plugins-${PV}:${SLOT}[opengl?,qt4?,qt5?]"
PDEPEND="~media-libs/avidemux-plugins-${PV}:${SLOT}[opengl?,qt5?]"

S="${WORKDIR}/${MY_P}"

src_prepare() {
default

processes="buildCli:avidemux/cli"
if use qt4 || use qt5 ; then
if use qt5 ; then
processes+=" buildQt4:avidemux/qt4"
fi

Expand Down Expand Up @@ -139,10 +138,6 @@ src_install() {
cd "${S}" || die "Can't enter source folder."
newicon ${PN}_icon.png ${PN}-2.6.png

if [[ -f "${ED}"/usr/bin/avidemux3_qt4 ]] ; then
fperms +x /usr/bin/avidemux3_qt4
fi

if [[ -f "${ED}"/usr/bin/avidemux3_qt5 ]] ; then
fperms +x /usr/bin/avidemux3_qt5
fi
Expand All @@ -151,7 +146,7 @@ src_install() {
fperms +x /usr/bin/avidemux3_jobs_qt5
fi

if use qt4 || use qt5 ; then
if use qt5 ; then
domenu ${PN}-2.6.desktop
fi
}
Expand Down

0 comments on commit bba32a6

Please sign in to comment.