From: "Thomas Raschbacher" <lordvan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/kino/files/, media-video/kino/
Date: Sat, 10 Apr 2021 10:05:40 +0000 (UTC) [thread overview]
Message-ID: <1618049134.9debdf067fc58ecac4977b619dbd5a28515caf5c.lordvan@gentoo> (raw)
commit: 9debdf067fc58ecac4977b619dbd5a28515caf5c
Author: Thomas Raschbacher <lordvan <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 10 10:04:46 2021 +0000
Commit: Thomas Raschbacher <lordvan <AT> gentoo <DOT> org>
CommitDate: Sat Apr 10 10:05:34 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9debdf06
media-video/kino: patching .desktop file
Closes: https://bugs.gentoo.org/751706
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Raschbacher <lordvan <AT> gentoo.org>
media-video/kino/files/kino-1.3.4-desktop.patch | 14 ++++
media-video/kino/kino-1.3.4-r2.ebuild | 104 ++++++++++++++++++++++++
2 files changed, 118 insertions(+)
diff --git a/media-video/kino/files/kino-1.3.4-desktop.patch b/media-video/kino/files/kino-1.3.4-desktop.patch
new file mode 100644
index 00000000000..03267e35b48
--- /dev/null
+++ b/media-video/kino/files/kino-1.3.4-desktop.patch
@@ -0,0 +1,14 @@
+--- kino-1.3.4/Kino.desktop_orig 2021-04-10 11:55:07.696950138 +0200
++++ kino-1.3.4/Kino.desktop 2021-04-10 11:55:19.621863615 +0200
+@@ -41,9 +41,9 @@
+ Encoding=UTF-8
+ TryExec=kino
+ Exec=kino %F
+-Icon=kino.png
++Icon=kino
+ Terminal=false
+ StartupNotify=true
+ Type=Application
+-Categories=Application;AudioVideo;AudioVideoEditing;
++Categories=AudioVideo;AudioVideoEditing;
+ MimeType=video/dv;application/smil
diff --git a/media-video/kino/kino-1.3.4-r2.ebuild b/media-video/kino/kino-1.3.4-r2.ebuild
new file mode 100644
index 00000000000..da4e9f6edd0
--- /dev/null
+++ b/media-video/kino/kino-1.3.4-r2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools ltprune udev xdg
+
+DESCRIPTION="Kino is a non-linear DV editor for GNU/Linux"
+HOMEPAGE="http://www.kinodv.org/"
+SRC_URI="mirror://sourceforge/kino/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="alsa dvdr gpac lame quicktime sox vorbis"
+
+# Optional dependency on cinelerra-cvs (as a replacement for libquicktime)
+# dropped because kino may run with it but won't build anymore.
+
+CDEPEND="
+ >=x11-libs/gtk+-2.6.0:2
+ >=gnome-base/libglade-2.5.0
+ >=dev-libs/glib-2:2
+ x11-libs/libXv
+ dev-libs/libxml2:2
+ media-libs/audiofile
+ >=sys-libs/libraw1394-1.0.0
+ >=sys-libs/libavc1394-0.4.1
+ >=media-libs/libdv-0.103
+ media-libs/libsamplerate
+ media-libs/libiec61883
+ media-libs/libv4l:0=
+ alsa? ( >=media-libs/alsa-lib-1.0.9 )
+ >=media-video/ffmpeg-3:0=
+ quicktime? ( >=media-libs/libquicktime-0.9.5 )
+"
+DEPEND="${CDEPEND}
+ dev-util/intltool
+"
+RDEPEND="${CDEPEND}
+ media-video/mjpegtools
+ media-sound/rawrec
+ dvdr? ( media-video/dvdauthor
+ app-cdr/dvd+rw-tools )
+ gpac? ( media-video/gpac )
+ lame? ( media-sound/lame )
+ sox? ( media-sound/sox )
+ vorbis? ( media-sound/vorbis-tools )
+"
+
+src_prepare() {
+ default
+
+ # Deactivating automagic alsa configuration, bug #134725
+ if ! use alsa ; then
+ sed -i -e "s:HAVE_ALSA 1:HAVE_ALSA 0:" configure || die
+ fi
+
+ # Fix bug #169590
+ sed -i \
+ -e '/\$(LIBQUICKTIME_LIBS) \\/d' \
+ -e '/^[[:space:]]*\$(SRC_LIBS)/ a\
+ \$(LIBQUICKTIME_LIBS) \\' \
+ src/Makefile.in || die
+
+ # Fix test failure discovered in bug #193947
+ sed -i -e '$a\
+\
+ffmpeg/libavcodec/ps2/idct_mmi.c\
+ffmpeg/libavcodec/sparc/dsputil_vis.c\
+ffmpeg/libavcodec/sparc/vis.h\
+ffmpeg/libavutil/bswap.h\
+ffmpeg/libswscale/yuv2rgb_template.c\
+src/export.h\
+src/message.cc\
+src/page_bttv.cc' po/POTFILES.in || die
+
+ sed -i -e 's:^#include <quicktime.h>:#include <lqt/quicktime.h>:' src/filehandler.h || die
+ eapply "${FILESDIR}/${P}-v4l1.patch"
+ eapply "${FILESDIR}/${P}-libav-0.7.patch"
+ eapply "${FILESDIR}/${P}-libav-0.8.patch"
+ eapply "${FILESDIR}/${P}-libavcodec-pkg-config.patch"
+ eapply "${FILESDIR}/${P}-ffmpeg3.patch"
+ eapply "${FILESDIR}/${P}-ffmpeg4.patch"
+ eapply "${FILESDIR}/${P}-desktop.patch"
+
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-local-ffmpeg \
+ $(use_enable quicktime) \
+ $(use_with sparc dv1394) \
+ --with-udev-rules-dir="$(get_udevdir)"/rules.d \
+ CPPFLAGS="-I${ROOT}usr/include/libavcodec -I${ROOT}usr/include/libavformat -I${ROOT}usr/include/libswscale"
+}
+
+src_install() {
+ default
+ mv "${ED}/$(get_udevdir)"/rules.d/{,99-}kino.rules
+ fowners root:root -R /usr/share/kino/help #177378
+ prune_libtool_files --all #385361
+}
next reply other threads:[~2021-04-10 10:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-10 10:05 Thomas Raschbacher [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-06-17 9:28 [gentoo-commits] repo/gentoo:master commit in: media-video/kino/files/, media-video/kino/ Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1618049134.9debdf067fc58ecac4977b619dbd5a28515caf5c.lordvan@gentoo \
--to=lordvan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox