diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
commit | e68d405c5d712af4387159df07e226217bdda049 (patch) | |
tree | 009ab0f3d427f0813e62930d71802cb054c07e30 /app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild | |
parent | 401101f9c8077911929d3f2b60a37098460a5d89 (diff) |
gentoo resync : 06.04.2022
Diffstat (limited to 'app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild')
-rw-r--r-- | app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild b/app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild new file mode 100644 index 000000000000..d294019b2044 --- /dev/null +++ b/app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils vcs-snapshot + +GIT_COMMIT="65f0eab8ca0640447d2e84cdc5fadc66d2c07efb" + +DESCRIPTION="Cross-platform content manager assistant for the PS Vita" +HOMEPAGE="https://github.com/codestation/qcma" +SRC_URI="https://github.com/codestation/qcma/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="+ffmpeg" + +DEPEND=" + dev-libs/glib:2 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsql:5 + dev-qt/qtwidgets:5 + media-libs/vitamtp:0 + ffmpeg? ( media-video/ffmpeg:= ) + x11-libs/libnotify:0 +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-qt/linguist-tools:5 +" + +src_prepare() { + # http://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225051.html + sed -r \ + -e '/av_register_all/d' \ + -i "${S}"/common/avdecoder.h || die "Failed to fix ffmpeg stuff" + rm ChangeLog || die "Failed to rm changelog" # Triggers QA warn (symlink to nowhere) + default +} + +src_configure() { + $(qt5_get_bindir)/lrelease common/resources/translations/*.ts || die + eqmake5 PREFIX="${EPREFIX}"/usr qcma.pro CONFIG+="QT5_SUFFIX" $(usex ffmpeg "" CONFIG+="DISABLE_FFMPEG") +} + +src_install() { + emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install + einstalldocs + + insinto /usr/share/${PN}/translations + doins common/resources/translations/${PN}_*.qm +} |