mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
media-video/avisynth+: new package, add 9999
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
50
media-video/avisynth+/avisynth+-9999.ebuild
Normal file
50
media-video/avisynth+/avisynth+-9999.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
11
media-video/avisynth+/metadata.xml
Normal file
11
media-video/avisynth+/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user