diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2014-03-24 19:51:24 +0100 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2014-06-16 14:44:40 +0200 |
commit | 134773ce1460bcfa1227e53bff1c6fe297eba03e (patch) | |
tree | 381d8c2be86802cde82839f2b402b54ba890583f | |
parent | e86a7888dab6b5225156883a5277463af577e790 (diff) |
package: Add pitivi package
And update the pitivi recipe to latest
-rw-r--r-- | packages/gtk-3.0.package | 26 | ||||
-rw-r--r-- | packages/pitivi.package | 31 | ||||
-rw-r--r-- | recipes/pitivi.recipe | 29 |
3 files changed, 78 insertions, 8 deletions
diff --git a/packages/gtk-3.0.package b/packages/gtk-3.0.package new file mode 100644 index 00000000..f009feca --- /dev/null +++ b/packages/gtk-3.0.package @@ -0,0 +1,26 @@ +# vi:si:et:sw=4:sts=4:ts=4:syntax=python +# -*- Mode: Python -*- + + +class Package(package.Package): + name = 'gtk-3.0' + shortdesc = 'Gtk3' + longdesc = 'Gtk3 and dependencies' + url = "http://gstreamer.freedesktop.org" + version = '1.3.0' + codename = 'Congo' + license = License.LGPL + vendor = 'Gtk Project' + org = 'org.gnome.gtk' + + files = ['gtk+3', + 'atk', + 'pango', + 'gdk-pixbuf', + 'cairo', + 'hicolor-icon-theme', + 'gnome-themes-standard', + 'gnome-icon-theme', + 'gnome-icon-theme-symbolic', + 'librsvg', + ] diff --git a/packages/pitivi.package b/packages/pitivi.package new file mode 100644 index 00000000..35440dae --- /dev/null +++ b/packages/pitivi.package @@ -0,0 +1,31 @@ +# vi:si:et:sw=4:sts=4:ts=4:syntax=python +# -*- Mode: Python -*- + + +class Package(package.App): + name = 'pitivi' + app_name = 'Pitivi' + app_recipe = 'pitivi' + version = '0.93-beta' + shortdesc = 'Pitivi video editor' + longdesc = 'An open source full featured video editing application' + url = "http://www.pitivi.org" + license = License.LGPL + vendor = 'Pitivi project' + org = 'org.pitivi' + uuid = 'd9626750-e8b7-4e40-944d-98b67ed0c6bf' + + deps = ['gstreamer-1.0', 'gtk-3.0', 'python3'] + files = ['shared-mime-info'] + + # Needed to bundle for linux + desktop_file='share/applications/pitivi.desktop' + commands=[('pitivi', 'bin/pitivi')] + + default_gtk_theme='Adwaita' + + def prepare(self): + if self.config.variants.python3 is False: + raise ConfigurationError("Pitivi needs python3. You should set " + "\"variants = ['python3']\" in your ~/.cerbero/cerbero.cbc " + "configuration file to build it.") diff --git a/recipes/pitivi.recipe b/recipes/pitivi.recipe index 2f5522c9..f1e04f5d 100644 --- a/recipes/pitivi.recipe +++ b/recipes/pitivi.recipe @@ -1,16 +1,29 @@ # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python +from cerbero.errors import ConfigurationError class Recipe(recipe.Recipe): name = 'pitivi' - version = '0.15.2' + version = '0.93' licenses = [License.GPLv2Plus] remotes = {'origin': 'git://git.gnome.org/pitivi'} - autoreconf = True - autoreconf_sh = 'sh autogen.sh' - commit = 'RELEASE-0_15_2' - deps = ['gnome-doc-utils', 'pygoocanvas', 'pygtk', - 'gst-python', 'pyxdg', 'glade', 'gnonlin', - 'frei0r-plugins'] + config_sh = 'sh ./autogen.sh --noconfigure && ./configure' + configure_options = "--disable-help" + commit = 'origin/master' + deps = ['gst-editing-services-1.0', + 'gst-python-1.0', + 'gst-libav-1.0', + 'gst-plugins-bad-1.0', + 'gst-plugins-ugly-1.0', + 'clutter-gtk', + 'clutter-gst', + 'numpy', + 'gnome-themes-standard', + 'gnome-icon-theme', + 'gnome-icon-theme-symbolic', + 'shared-mime-info'] # brings in gtk+ + files_bins = ['pitivi'] files_lang = ['pitivi'] - files_pitivi = ['lib/python/pitivi', 'share/pitivi', 'share/applications/pitivi.desktop'] + files_pitivi = ['lib/pitivi/python/pitivi', + 'share/pitivi/', + 'share/applications/pitivi.desktop'] |