summaryrefslogtreecommitdiff
path: root/media-libs/ffmpegsource
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-03-14 07:27:33 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-03-14 07:27:33 +0000
commit5f0ddf07f84a1ba3a9e5bd63f70faa2f9a9ef8a2 (patch)
treeec57ec78189db00c5f078042d9f054a49b16cfd7 /media-libs/ffmpegsource
parent0441a7dba7699646904390ef23e00815903bcd49 (diff)
downloadbaldeagleos-repo-5f0ddf07f84a1ba3a9e5bd63f70faa2f9a9ef8a2.tar.gz
baldeagleos-repo-5f0ddf07f84a1ba3a9e5bd63f70faa2f9a9ef8a2.tar.xz
baldeagleos-repo-5f0ddf07f84a1ba3a9e5bd63f70faa2f9a9ef8a2.zip
Adding metadata
Diffstat (limited to 'media-libs/ffmpegsource')
-rw-r--r--media-libs/ffmpegsource/Manifest1
-rw-r--r--media-libs/ffmpegsource/ffmpegsource-5.0.ebuild50
-rw-r--r--media-libs/ffmpegsource/ffmpegsource-9999.ebuild6
3 files changed, 54 insertions, 3 deletions
diff --git a/media-libs/ffmpegsource/Manifest b/media-libs/ffmpegsource/Manifest
index 58f673a2e731..41037fe68748 100644
--- a/media-libs/ffmpegsource/Manifest
+++ b/media-libs/ffmpegsource/Manifest
@@ -1 +1,2 @@
DIST ffmpegsource-2.40.tar.gz 140356 BLAKE2B 57fbc3d979f31108b257b6720045f4e157fca6714bf0f8601e8123c0026a14bb55d343549ff6b246b55a44b4f69c541c58f4b19f1051e338f1f97b2b7557b6de SHA512 407c4b0871f5046b9d364c2946eae88c46eec381b5748530d82918742fd4a36849de590024f8235af2785bd631c0299e591499dc43ae157ff2c6a6f2dab78b67
+DIST ffmpegsource-5.0.tar.gz 167985 BLAKE2B 57bf1ccfbc31a1bcefa54f6f7cdb4569b5baa2f6295b9f69691c9490e9ca0dac2e4b9564d19ac44ba6cb28cdd68edfc31e8dc870895bf5bb7f73f248686496c2 SHA512 0b75a0ad0a0ea466d1d19be55886eee5470e6b08ede8159a5099cd962ca0f41222044fc98119de64c72ecea8b64ec2e2abebb8c362f3f377b4d054ba77752348
diff --git a/media-libs/ffmpegsource/ffmpegsource-5.0.ebuild b/media-libs/ffmpegsource/ffmpegsource-5.0.ebuild
new file mode 100644
index 000000000000..43c2eb57b369
--- /dev/null
+++ b/media-libs/ffmpegsource/ffmpegsource-5.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+QA_PKGCONFIG_VERSION=$(ver_cut 1-2)
+inherit autotools
+
+DESCRIPTION="A libav/ffmpeg based source library for easy frame accurate access"
+HOMEPAGE="https://github.com/FFMS/ffms2"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/FFMS/ffms2.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/FFMS/ffms2/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}"/ffms2-${PV}
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0/5"
+
+RDEPEND="
+ >=media-video/ffmpeg-6.1:=
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ # Cheesy hack from autogen.sh
+ mkdir src/config || die
+ eautoreconf
+}
+
+src_configure() {
+ default
+
+ sed -i -e "s|@FFMS_VERSION@|${PV}|g" \
+ "${S}"/ffms2.pc.in || die
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/media-libs/ffmpegsource/ffmpegsource-9999.ebuild b/media-libs/ffmpegsource/ffmpegsource-9999.ebuild
index 1ea646b97aa7..dd3c4cc39349 100644
--- a/media-libs/ffmpegsource/ffmpegsource-9999.ebuild
+++ b/media-libs/ffmpegsource/ffmpegsource-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,10 +19,10 @@ else
fi
LICENSE="MIT"
-SLOT="0/4"
+SLOT="0/5"
RDEPEND="
- >=media-video/ffmpeg-2.4:=
+ >=media-video/ffmpeg-6.1:=
sys-libs/zlib
"
DEPEND="${RDEPEND}"