totem:new package

This commit is contained in:
2021-06-15 13:17:19 +03:00
parent b8a64d4d30
commit 77fe0259ef
8 changed files with 265524 additions and 265104 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools, get, mesontools, pisitools
def setup():
mesontools.configure("--libexecdir=/usr/lib \
-Denable-gtk-doc=true \
-Dgst-inspect=false \
-Dwith-plugins=all \
-Denable-python=yes")
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("AUTHORS", "COPYING", "README*", "NEWS")
@@ -0,0 +1,42 @@
From abb91b315f407b7e180bc00eb96f1cd6bb0ab25d Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <eva@gentoo.org>
Date: Thu, 7 Jun 2018 23:47:48 +0200
Subject: [PATCH] Make gst-inspect calls optional at build-time
Crashes on Gentoo due to plugins trying to access dri nodes which are sandboxed
---
meson_options.txt | 1 +
src/backend/meson.build | 2 ++
2 files changed, 3 insertions(+)
diff --git a/meson_options.txt b/meson_options.txt
index 7070fd5d0..678b8f588 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -3,3 +3,4 @@ option('enable-python', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'a
option('with-plugins', type: 'combo', choices: ['all', 'none', 'auto'], value: 'auto', description: 'Which Totem plugins to compile (default: auto; "all", "none" and "auto" are valid)')
option('enable-gtk-doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation')
option('profile', type: 'combo', choices: ['default', 'development'], value: 'default', description: 'Build profiles')
+option('gst-inspect', type: 'boolean', value: true, description: 'build-time test of available gstreamer plugins')
diff --git a/src/backend/meson.build b/src/backend/meson.build
index fbf74258b..1e025a5b9 100644
--- a/src/backend/meson.build
+++ b/src/backend/meson.build
@@ -1,5 +1,6 @@
backend_inc = include_directories('.')
+if get_option('gst-inspect')
gst_inspect = find_program(
'gst-inspect-1.0',
join_paths(gst_dep.get_pkgconfig_variable('toolsdir'), 'gst-inspect-1.0'),
@@ -31,6 +32,7 @@ foreach plugin: gst_good_plugins
assert(r.returncode() == 0,
'Cannot find required GStreamer-1.0 plugin "' + plugin + '". It should be part of gst-plugins-good. Please install it.')
endforeach
+endif
sources = files(
'bacon-time-label.c',
--
2.26.3
+116
View File
@@ -0,0 +1,116 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>totem</Name>
<Homepage>https://wiki.gnome.org/Apps/Videos</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Icon>totem</Icon>
<IsA>app:gui</IsA>
<Summary>Movie player for GNOME</Summary>
<Description>Movie player for GNOME</Description>
<Archive sha1sum="e706c9faa350788bae851fe86a5ba4695b4596dc" type="tarxz">mirrors://gnome/totem/3.38/totem-3.38.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>cairo</Dependency>
<Dependency>clutter-devel</Dependency>
<Dependency>clutter-gst-devel</Dependency>
<Dependency>clutter-gtk-devel</Dependency>
<Dependency>gnome-desktop-devel</Dependency>
<Dependency>gsettings-desktop-schemas-devel</Dependency>
<Dependency>gstreamer-devel</Dependency>
<Dependency>gst-plugins-base-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>libpeas-devel</Dependency>
<Dependency>totem-pl-parser-devel</Dependency>
<Dependency>gst-plugins-good</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>gtk-doc</Dependency>
<Dependency>itstool</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>vala</Dependency>
<Dependency>appstream-glib-devel</Dependency>
<Dependency>grilo-devel</Dependency>
<Dependency>grilo-plugins-devel</Dependency>
<Dependency>desktop-file-utils</Dependency>
<Dependency>python3-pylint</Dependency>
<Dependency>python3-pygobject3-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>3.38.0-gst-inspect-sandbox.patch</Patch>
</Patches>
</Source>
<Package>
<Name>totem</Name>
<RuntimeDependencies>
<Dependency>atk</Dependency>
<Dependency>cogl</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>cairo</Dependency>
<Dependency>glib2</Dependency>
<Dependency>grilo</Dependency>
<Dependency>pango</Dependency>
<Dependency>libX11</Dependency>
<Dependency>clutter</Dependency>
<Dependency>libpeas</Dependency>
<Dependency>gstreamer</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>clutter-gst</Dependency>
<Dependency>clutter-gtk</Dependency>
<Dependency>gnome-desktop</Dependency>
<Dependency>totem-pl-parser</Dependency>
<Dependency>gst-plugins-base</Dependency>
<Dependency>gobject-introspection</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/totem-gallery-thumbnailer</Path>
<Path fileType="library">/usr/lib/libtotem*</Path>
<Path fileType="library">/usr/lib/girepository-1.0</Path>
<Path fileType="library">/usr/lib/totem</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
<Path fileType="data">/usr/share/doc</Path>
<Path fileType="data">/usr/share/GConf</Path>
<Path fileType="data">/usr/share/glib-2.0</Path>
<Path fileType="data">/usr/share/gtk-doc</Path>
<Path fileType="data">/usr/share/help</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="localdata">/usr/share/locale</Path>
<Path fileType="data">/usr/share/man</Path>
<Path fileType="data">/usr/share/metainfo</Path>
<Path fileType="data">/usr/share/thumbnailers</Path>
<Path fileType="data">/usr/share/totem</Path>
</Files>
</Package>
<Package>
<Name>totem-devel</Name>
<RuntimeDependencies>
<Dependency release="current">totem</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>totem-pl-parser-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-06-15</Date>
<Version>3.38.0</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>totem</Name>
<Summary xml:lang="tr">GNOME için film oynatıcı</Summary>
<Description xml:lang="tr">GNOME için film oynatıcı</Description>
</Source>
<Package>
<Name>totem-devel</Name>
<Summary xml:lang="tr">totem için geliştirme dosyaları</Summary>
</Package>
</PISI>
+265329 -265102
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
d553c16b12415d884f82fad91203b0fb7ed3677a
a8d01a6326cc6647ef3776f9790c0936a84b5982
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
36e1ff5a621d9252918ff6a6556b3813104cc835
7e33c2f24158d23472c2e83c986e4a9af96c909c