public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: media-video/avisynth+/files/, media-video/avisynth+/
@ 2023-05-25  2:21 Haelwenn Monnier
  0 siblings, 0 replies; only message in thread
From: Haelwenn Monnier @ 2023-05-25  2:21 UTC (permalink / raw
  To: gentoo-commits

commit:     2d8b83cd850d59ee200ac458bb9a3ef9cd7eca19
Author:     Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail <DOT> com>
AuthorDate: Wed May 24 17:34:08 2023 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed May 24 18:03:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2d8b83cd

media-video/avisynth+: new package, add 9999

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail.com>

 media-video/avisynth+/avisynth+-9999.ebuild        | 50 ++++++++++++++++++++++
 .../files/avisynth+-9999-return-type-warning.patch | 12 ++++++
 media-video/avisynth+/metadata.xml                 | 11 +++++
 3 files changed, 73 insertions(+)

diff --git a/media-video/avisynth+/avisynth+-9999.ebuild b/media-video/avisynth+/avisynth+-9999.ebuild
new file mode 100644
index 000000000..43c72c7d2
--- /dev/null
+++ b/media-video/avisynth+/avisynth+-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+SCM=""
+if [ "${PV#9999}" != "${PV}" ] ; then
+	SCM="git-r3"
+	EGIT_REPO_URI="https://github.com/AviSynth/AviSynthPlus.git"
+fi
+
+inherit cmake-multilib ${SCM}
+
+DESCRIPTION="A powerful nonlinear scripting language for video"
+HOMEPAGE="https://github.com/AviSynth/AviSynthPlus"
+if [ "${PV#9999}" != "${PV}" ] ; then
+	SRC_URI=""
+else # TODO release
+	SRC_URI=""
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+if [ "${PV#9999}" = "${PV}" ] ; then
+	KEYWORDS="~amd64"
+fi
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+PATCHES=(
+	"${FILESDIR}/avisynth+-9999-return-type-warning.patch"
+)
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/avisynth/avs/arch.h
+)
+
+pkg_postinst() {
+	elog "Integration with some packages can be achieved by setting environment"
+	elog "variables and re-emerging the package:"
+	elog ""
+	elog "media-video/ffmpeg:"
+	elog "  - add \"--enable-avisynth\" to EXTRA_FFMPEG_CONF"
+	elog ""
+	elog "media-libs/ffmpegsource:"
+	elog "  - add \"--enable-avisynth\" to EXTRA_ECONF"
+	elog "  - add \"-I/usr/include/avisynth\" to CXXFLAGS"
+}

diff --git a/media-video/avisynth+/files/avisynth+-9999-return-type-warning.patch b/media-video/avisynth+/files/avisynth+-9999-return-type-warning.patch
new file mode 100644
index 000000000..c4f7d8571
--- /dev/null
+++ b/media-video/avisynth+/files/avisynth+-9999-return-type-warning.patch
@@ -0,0 +1,12 @@
+--- avisynth+-9999/avs_core/core/parser/script.cpp.orig	2023-05-24 19:09:20.896164496 +0200
++++ avisynth+-9999/avs_core/core/parser/script.cpp	2023-05-24 19:11:50.755632346 +0200
+@@ -1941,6 +1941,9 @@
+ 
+     return PROCESS_32_ON_32;
+   }
++#else
++  else
++    return PROCESS_UNKNOWN;
+ #endif
+ }
+ 

diff --git a/media-video/avisynth+/metadata.xml b/media-video/avisynth+/metadata.xml
new file mode 100644
index 000000000..462ddc7c1
--- /dev/null
+++ b/media-video/avisynth+/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>falbrechtskirchinger@gmail.com</email>
+    <name>Florian Albrechtskirchinger</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">AviSynth/AviSynthPlus</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-25  2:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-25  2:21 [gentoo-commits] repo/proj/guru:master commit in: media-video/avisynth+/files/, media-video/avisynth+/ Haelwenn Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox