add media-video/qtcam package

This commit is contained in:
Alexander Miroshnichenko 2024-04-05 13:36:03 +03:00
parent 97682afe3d
commit 8f4c38eb05
Signed by: alex
GPG Key ID: E93720C6C73A77F4
4 changed files with 2604 additions and 0 deletions

2509
media-video/qtcam/Makefile Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,3 @@
EBUILD qtcam-25.0.23.ebuild 1039 BLAKE2B 908e9ab3c511b7ceb2e0749a423b3ec778fe47b9ff2f8fe6389d3e702db8090c21b1d138aa1eb1f2bf6993d798be980bc2284ff62eaad5fb7c529a5fbd57c4c5 SHA512 694ba1c59394af0a9ed1c1b79140c67a577437df497e90e69f597874584b883bc3669abbbc24e250ce2c44459696c2ccfd306a1b6cbe5e1b9520f24525a7e26f
EBUILD qtcam-9999.ebuild 966 BLAKE2B 6675ee81de2b89e815853587f6505798aae504da1b0af61b4c57f2de4e04282d4bd4376165433f5873a97b35a1292089debb91db0df0a03bc757e51dcf3bba7d SHA512 f18151258387eacec85396561ae79f28dc8cc8b9c8800c42cd75c32e856eb7a357697a895eb80eabc51a495f7f2633d9489d35c345a8d15ff997e342c1ec632c
MISC Makefile 217504 BLAKE2B d299e12581de0f92a1dacc2b0091ac1d1f8fe3d953f66f7a3432557e39d1f9e5884cd81923fb52da4422adee37f82b0dd8bc9d50e333fc070935b4947ff0c731 SHA512 5453040a0a47b1c2763da595293f094638a4f68b2b60ca92b549b8241deefe917d2e5224b030116b33f17035257d0818c12b32ad51b9da29f7f637adad11bab2

View File

@ -0,0 +1,47 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop qmake-utils git-r3
DESCRIPTION="Qt Quick Based Camera Application"
HOMEPAGE="http://www.e-consystems.com/opensource-linux-webcam-software-application.asp"
EGIT_COMMIT="a83b46ce8926f136e05e2ca461445a9c3f26f3f9"
EGIT_REPO_URI="https://github.com/econsysqtcam/qtcam.git"
KEYWORDS="~amd64"
LICENSE="GPL-3"
SLOT="0"
DEPEND="dev-qt/qtdeclarative:5
dev-qt/qtmultimedia:5
media-video/ffmpeg
virtual/libusb"
RDEPEND="${DEPEND}"
BDEPEND="app-arch/dpkg
sys-apps/lsb-release"
S="${S}/src"
src_prepare() {
default
sed -i 's|target.path = /usr/|target.path = /usr/share/|' qtcam.pro
}
src_configure() {
eqmake5 PREFIX="${EPREFIX}"/usr
}
src_install() {
emake INSTALL_ROOT="${D}" install
dobin "${D}"/usr/share/Qtcam
rm -f "${D}"/usr/share/Qtcam
insinto /usr/share
doins -r "${D}"/usr/share/qml
domenu "${S}"/Qtcam_16.04.desktop
}

View File

@ -0,0 +1,45 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop qmake-utils git-r3
DESCRIPTION="Qt Quick Based Camera Application"
HOMEPAGE="http://www.e-consystems.com/opensource-linux-webcam-software-application.asp"
EGIT_REPO_URI="https://github.com/econsysqtcam/qtcam.git"
LICENSE="GPL-3"
SLOT="0"
DEPEND="dev-qt/qtdeclarative:5
dev-qt/qtmultimedia:5
media-video/ffmpeg
virtual/libusb"
RDEPEND="${DEPEND}"
BDEPEND="app-arch/dpkg
sys-apps/lsb-release"
S="${S}/src"
src_prepare() {
default
sed -i 's|target.path = /usr/|target.path = /usr/share/|' qtcam.pro
}
src_configure() {
eqmake5 PREFIX="${EPREFIX}"/usr
}
src_install() {
emake INSTALL_ROOT="${D}" install
dobin "${D}"/usr/share/Qtcam
rm -f "${D}"/usr/share/Qtcam
insinto /usr/share
doins -r "${D}"/usr/share/qml
domenu "${S}"/Qtcam_16.04.desktop
}