summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-06-13 17:28:13 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-06-21 11:36:48 +0200
commit1bf845388c441b742e0e2d7fe0d284f92b70b289 (patch)
tree21df4e998fc8d35af896350e5c90a865095855cd
parent20b0fba06e05893986235a707a9309d88f2947b9 (diff)
Add pitivi and deps recipes
-rw-r--r--recipes/freior-plugins.recipe16
-rw-r--r--recipes/gconf.recipe9
-rw-r--r--recipes/glade2.recipe26
-rw-r--r--recipes/gnome-doc-utils.recipe9
-rw-r--r--recipes/gnome-mime-data.recipe18
-rw-r--r--recipes/gnome-vfs.recipe64
-rw-r--r--recipes/goocanvas.recipe17
-rw-r--r--recipes/libidl.recipe8
-rw-r--r--recipes/orbit2.recipe21
-rw-r--r--recipes/pitivi.recipe11
-rw-r--r--recipes/py2cairo.py14
-rw-r--r--recipes/pygoocanvas.recipe15
-rw-r--r--recipes/pyxdg.recipe32
13 files changed, 260 insertions, 0 deletions
diff --git a/recipes/freior-plugins.recipe b/recipes/freior-plugins.recipe
new file mode 100644
index 0000000..edee7a7
--- /dev/null
+++ b/recipes/freior-plugins.recipe
@@ -0,0 +1,16 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+from cerbero.utils import shell
+
+
+class Recipe(recipe.Recipe):
+ name = 'frei0r-plugins'
+ version = '1.4'
+ licenses = [License.LGPL]
+ stype = SourceType.TARBALL
+ url = 'http://files.dyne.org/frei0r/releases/frei0r-plugins-1.4.tar.gz'
+
+ files_plugins = ['lib/frei0r-1']
+ files_devel = [
+ 'lib/pkgconfig/frei0r.pc',
+ 'include/frei0r.h',
+ ]
diff --git a/recipes/gconf.recipe b/recipes/gconf.recipe
new file mode 100644
index 0000000..528639a
--- /dev/null
+++ b/recipes/gconf.recipe
@@ -0,0 +1,9 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+
+class Recipe(recipe.Recipe):
+ name = 'gconf'
+ version = '2.32.4'
+ licenses = [License.LGPL]
+ stype = SourceType.TARBALL
+ url = 'http://ftp.gnome.org/pub/GNOME/sources/GConf/2.32/GConf-2.32.4.tar.xz'
+ deps = ['orbit2', 'dbus-glib']
diff --git a/recipes/glade2.recipe b/recipes/glade2.recipe
new file mode 100644
index 0000000..a7afb0c
--- /dev/null
+++ b/recipes/glade2.recipe
@@ -0,0 +1,26 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+from cerbero.utils import shell
+
+
+class Recipe(recipe.Recipe):
+ version = '2.12.2'
+ name = 'glade'
+ licenses = [License.LGPL]
+ stype = SourceType.TARBALL
+ configure_options = '--without-x'
+ url = 'http://ftp.acc.umu.se/pub/GNOME/sources/glade/2.12/glade-2.12.2.tar.bz2'
+ deps = ['gtk+', 'pygtk']
+
+ files_libs = ['libglade-2']
+
+
+ def configure(self):
+ for f in ['glade/gbwidgets/gbclist.c',
+ 'glade/glade_keys_dialog.c',
+ 'glade/glade_menu_editor.c',
+ 'glade/glade_project_view.h']:
+ shell.replace(os.path.join(self.build_dir, f),
+ {'gtkclist.h': 'gtkctree.h'})
+ shell.replace(os.path.join(self.build_dir, 'configure'),
+ {'$X_PRE_LIBS -lX11': '$X_PRE_LIBS '})
+ super(recipe.Recipe, self).configure()
diff --git a/recipes/gnome-doc-utils.recipe b/recipes/gnome-doc-utils.recipe
new file mode 100644
index 0000000..3c3e132
--- /dev/null
+++ b/recipes/gnome-doc-utils.recipe
@@ -0,0 +1,9 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+
+
+class Recipe(recipe.Recipe):
+ name = 'gnome-doc-utils'
+ version = '0.20.9'
+ licenses = [License.LGPL]
+ stype = SourceType.TARBALL
+ url = 'ftp://ftp.gnome.org/pub/GNOME/sources/gnome-doc-utils/0.20/gnome-doc-utils-0.20.9.tar.xz'
diff --git a/recipes/gnome-mime-data.recipe b/recipes/gnome-mime-data.recipe
new file mode 100644
index 0000000..5e5b32a
--- /dev/null
+++ b/recipes/gnome-mime-data.recipe
@@ -0,0 +1,18 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+
+
+class Recipe(recipe.Recipe):
+ name = 'gnome-mime-data'
+ version = '2.18.0'
+ licenses = [License.LGPL]
+ stype = SourceType.TARBALL
+ url = 'http://ftp.acc.umu.se/pub/GNOME/sources/gnome-mime-data/2.18/gnome-mime-data-2.18.0.tar.bz2'
+ deps = ['glib']
+
+ files_etc = ['etc/gnome-vfs-mime-magic']
+ files_lang = ['gnome-mime-data']
+ files_mime = [
+ 'share/mime-info/gnome-vfs.keys',
+ 'share/mime-info/gnome-vfs.mime',
+ ]
+ files_devel = ['share/pkgconfig/gnome-mime-data-2.0.pc']
diff --git a/recipes/gnome-vfs.recipe b/recipes/gnome-vfs.recipe
new file mode 100644
index 0000000..f4b8619
--- /dev/null
+++ b/recipes/gnome-vfs.recipe
@@ -0,0 +1,64 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+from cerbero.utils import shell
+
+
+class Recipe(recipe.Recipe):
+ name = 'gnome-vfs'
+ version = '2.24.4'
+ licenses = [License.LGPL]
+ stype = SourceType.TARBALL
+ url = 'http://ftp.gnome.org/pub/GNOME/sources/gnome-vfs/2.24/gnome-vfs-2.24.4.tar.bz2'
+ force_configure = True
+ deps = ['libxml', 'zlib', 'glib', 'gconf', 'gnome-mime-data', 'dbus']
+
+ files_bins = [
+ 'gnomevfs-cat',
+ 'gnomevfs-copy',
+ 'gnomevfs-df',
+ 'gnomevfs-info',
+ 'gnomevfs-ls',
+ 'gnomevfs-mkdir',
+ 'gnomevfs-monitor',
+ 'gnomevfs-mv',
+ 'gnomevfs-rm',
+ ]
+ files_lang = ['gnome-vfs-2.0']
+ files_libs = ['libgnomevfs-2']
+ files_devel = [
+ 'lib/pkgconfig/gnome-vfs-2.0.pc',
+ 'lib/pkgconfig/gnome-vfs-module-2.0.pc',
+ 'include/gnome-vfs-2.0/',
+ 'include/gnome-vfs-module-2.0/',
+ ]
+ files_dbus = ['share/dbus-1/services/gnome-vfs-daemon.service']
+ files_daemon = ['libexec/gnome-vfs-daemon%(bext)s']
+ files_modules = [
+ 'lib/gnome-vfs-2.0/modules/libbzip2.so',
+ 'lib/gnome-vfs-2.0/modules/libcomputer.so',
+ 'lib/gnome-vfs-2.0/modules/libdns-sd.so',
+ 'lib/gnome-vfs-2.0/modules/libfile.so',
+ 'lib/gnome-vfs-2.0/modules/libftp.so',
+ 'lib/gnome-vfs-2.0/modules/libgzip.so',
+ 'lib/gnome-vfs-2.0/modules/libhttp.so',
+ 'lib/gnome-vfs-2.0/modules/libnetwork.so',
+ 'lib/gnome-vfs-2.0/modules/libnntp.so',
+ 'lib/gnome-vfs-2.0/modules/libsftp.so',
+ 'lib/gnome-vfs-2.0/modules/libtar.so',
+ 'lib/gnome-vfs-2.0/modules/libvfs-test.so',
+ ]
+ files_etc = [
+ 'etc/gconf/schemas/desktop_default_applications.schemas',
+ 'etc/gconf/schemas/desktop_gnome_url_handlers.schemas',
+ 'etc/gconf/schemas/system_dns_sd.schemas',
+ 'etc/gconf/schemas/system_http_proxy.schemas',
+ 'etc/gconf/schemas/system_smb.schemas',
+ 'etc/gnome-vfs-2.0/modules/default-modules.conf',
+ ]
+
+ def configure(self):
+ super(recipe.Recipe, self).configure()
+ for f in ['programs/Makefile', 'daemon/Makefile',
+ 'modules/Makefile', 'libgnomevfs/Makefile',
+ 'test/Makefile']:
+ shell.replace(os.path.join(self.build_dir, f),
+ {'-DG_DISABLE_DEPRECATED': ''})
diff --git a/recipes/goocanvas.recipe b/recipes/goocanvas.recipe
new file mode 100644
index 0000000..7f14b63
--- /dev/null
+++ b/recipes/goocanvas.recipe
@@ -0,0 +1,17 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+
+
+class Recipe(recipe.Recipe):
+ name = 'goocanvas'
+ version = '1.0.0'
+ licenses = [License.LGPL]
+ stype = SourceType.TARBALL
+ url = 'http://ftp.gnome.org/pub/GNOME/sources/goocanvas/1.0/goocanvas-1.0.0.tar.bz2'
+ deps = ['glib', 'atk', 'cairo', 'gtk+', 'pango', 'zlib']
+
+ files_libs = ['libgoocanvas']
+ files_lang = ['goocanvas']
+ files_devel = [
+ 'include/goocanvas-1.0',
+ 'lib/pkgconfig/goocanvas.pc',
+ ]
diff --git a/recipes/libidl.recipe b/recipes/libidl.recipe
new file mode 100644
index 0000000..8cc580b
--- /dev/null
+++ b/recipes/libidl.recipe
@@ -0,0 +1,8 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+
+class Recipe(recipe.Recipe):
+ name = 'libIDL'
+ version = '0.8.14'
+ licenses = [License.LGPL]
+ stype = SourceType.TARBALL
+ url = 'http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-0.8.14.tar.bz2'
diff --git a/recipes/orbit2.recipe b/recipes/orbit2.recipe
new file mode 100644
index 0000000..7dd898b
--- /dev/null
+++ b/recipes/orbit2.recipe
@@ -0,0 +1,21 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+from cerbero.utils import shell
+
+
+class Recipe(recipe.Recipe):
+ name = 'orbit2'
+ version = '2.14.19'
+ licenses = [License.LGPL]
+ stype = SourceType.TARBALL
+ url = 'http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/ORBit2-2.14.19.tar.bz2'
+ append_env = {'CFLAGS': '-Wno-error'}
+ autoreconf = True
+ deps = ['glib', 'libIDL']
+
+
+ def configure(self):
+ shell.replace(os.path.join(self.build_dir, 'configure.in'),
+ { '-DG_DISABLE_DEPRECATED': ''})
+ shell.replace(os.path.join(self.build_dir, 'linc2', 'src', 'Makefile.am'),
+ {'\\\n\t-DG_DISABLE_DEPRECATED': ''})
+ super(recipe.Recipe, self).configure()
diff --git a/recipes/pitivi.recipe b/recipes/pitivi.recipe
new file mode 100644
index 0000000..005a31c
--- /dev/null
+++ b/recipes/pitivi.recipe
@@ -0,0 +1,11 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+
+class Recipe(recipe.Recipe):
+ name = 'pitivi'
+ version = '0.15.2'
+ 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']
diff --git a/recipes/py2cairo.py b/recipes/py2cairo.py
new file mode 100644
index 0000000..70e4f7d
--- /dev/null
+++ b/recipes/py2cairo.py
@@ -0,0 +1,14 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+
+
+class Recipe(recipe.Recipe):
+ name = 'py2cairo'
+ version = '1.10.0'
+ licenses = [License.GPLv2]
+ stype = SourceType.TARBALL
+ url = 'http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2'
+ deps = ['cairo']
+
+ files_python = ['site-packages/cairo/_cairo%(pext)s',
+ 'site-packages/cairo/__init__.py',
+ ]
diff --git a/recipes/pygoocanvas.recipe b/recipes/pygoocanvas.recipe
new file mode 100644
index 0000000..7fa68f2
--- /dev/null
+++ b/recipes/pygoocanvas.recipe
@@ -0,0 +1,15 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+
+
+class Recipe(recipe.Recipe):
+ name = 'pygoocanvas'
+ version = '0.14.1'
+ licenses = [License.LGPL]
+ stype = SourceType.TARBALL
+ url = 'http://ftp.gnome.org/pub/GNOME/sources/pygoocanvas/0.14/pygoocanvas-0.14.1.tar.bz2'
+ deps = ['glib', 'goocanvas', 'pygobject', 'pygtk', 'pycairo']
+
+ files_devel = ['lib/pkgconfig/pygoocanvas.pc']
+ files_python = ['site-packages/goocanvasmodule%(pext)s']
+
+
diff --git a/recipes/pyxdg.recipe b/recipes/pyxdg.recipe
new file mode 100644
index 0000000..aba7bd1
--- /dev/null
+++ b/recipes/pyxdg.recipe
@@ -0,0 +1,32 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+from cerbero.utils import shell
+
+
+class Recipe(recipe.Recipe):
+ name = 'pyxdg'
+ version = '0.25'
+ licenses = [License.LGPL]
+ stype = SourceType.TARBALL
+ url = 'http://people.freedesktop.org/~takluyver/pyxdg-0.25.tar.gz'
+ btype = BuildType.CUSTOM
+
+ files_python = [
+ 'site-packages/pyxdg-0.25-py2.7.egg-info',
+ 'site-packages/xdg/BaseDirectory.pyc',
+ 'site-packages/xdg/Config.pyc',
+ 'site-packages/xdg/DesktopEntry.pyc',
+ 'site-packages/xdg/Exceptions.pyc',
+ 'site-packages/xdg/IconTheme.pyc',
+ 'site-packages/xdg/IniFile.pyc',
+ 'site-packages/xdg/Locale.pyc',
+ 'site-packages/xdg/Menu.pyc',
+ 'site-packages/xdg/MenuEditor.pyc',
+ 'site-packages/xdg/Mime.pyc',
+ 'site-packages/xdg/RecentFiles.pyc',
+ 'site-packages/xdg/__init__.pyc',
+ 'site-packages/xdg/util.pyc',
+ ]
+
+ def install(self):
+ shell.call('python setup.py install --prefix=%s' %
+ self.config.prefix, self.build_dir)