summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-10-05 14:59:52 +0200
committerFlorian Schmaus <flow@gentoo.org>2024-10-05 15:15:27 +0200
commit40dd28ade54ab98409cd88a82e0e7a18206f8072 (patch)
treed3c3c3aef9617ee2964fc3629f8a431f63037668 /app-office/texstudio
parentsci-mathematics/gfan: new patch to fix out-of-bounds indexing (diff)
downloadgentoo-40dd28ade54ab98409cd88a82e0e7a18206f8072.tar.gz
gentoo-40dd28ade54ab98409cd88a82e0e7a18206f8072.tar.bz2
gentoo-40dd28ade54ab98409cd88a82e0e7a18206f8072.zip
app-office/texstudio: re-add IUSE=video making qtmultimedia dep optional
Thanks to hsk17 for pointing this out. Closes: https://bugs.gentoo.org/940901 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-office/texstudio')
-rw-r--r--app-office/texstudio/metadata.xml2
-rw-r--r--app-office/texstudio/texstudio-4.8.4-r2.ebuild (renamed from app-office/texstudio/texstudio-4.8.4-r1.ebuild)5
2 files changed, 5 insertions, 2 deletions
diff --git a/app-office/texstudio/metadata.xml b/app-office/texstudio/metadata.xml
index 6d59b3acc8f2..a92a8d4aef12 100644
--- a/app-office/texstudio/metadata.xml
+++ b/app-office/texstudio/metadata.xml
@@ -6,7 +6,7 @@
<name>Gentoo TeX Project</name>
</maintainer>
<use>
- <flag name="video">Use phonon for video embedding</flag>
+ <flag name="video">Enable video player in pdf files</flag>
</use>
<upstream>
<remote-id type="github">texstudio-org/texstudio</remote-id>
diff --git a/app-office/texstudio/texstudio-4.8.4-r1.ebuild b/app-office/texstudio/texstudio-4.8.4-r2.ebuild
index 43bd8a076684..cc3750320cfb 100644
--- a/app-office/texstudio/texstudio-4.8.4-r1.ebuild
+++ b/app-office/texstudio/texstudio-4.8.4-r2.ebuild
@@ -15,6 +15,8 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="video"
+
DEPEND="
app-text/hunspell:=
app-text/poppler:=[qt6]
@@ -22,11 +24,11 @@ DEPEND="
dev-qt/qt5compat:6
dev-qt/qtbase:6[concurrent,gui,network,widgets,xml]
dev-qt/qtdeclarative:6
- dev-qt/qtmultimedia:6
dev-qt/qtsvg:6
dev-qt/qttools:6[widgets]
sys-libs/zlib
x11-libs/libX11
+ video? ( dev-qt/qtmultimedia:6 )
"
RDEPEND="
${DEPEND}
@@ -56,6 +58,7 @@ src_configure() {
local mycmakeargs=(
-DQT_VERSION_MAJOR=6
)
+ use video && mycmakeargs+=( -DTEXSTUDIO_ENABLE_MEDIAPLAYER=ON )
cmake_src_configure
}