diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-10-03 15:43:29 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-10-04 10:54:44 +0200 |
commit | 55ae8f6bb23f7a4a0087f2dbe2e2d935de8b421e (patch) | |
tree | 522edf9cae8d9a379c3e96ef4c7d976b28ed1f5d /packages | |
parent | 7585380541f3bfb58560362bf6a816991ff84c26 (diff) |
packages: create a new package for crypto base dependencies
https://bugzilla.gnome.org/show_bug.cgi?id=709364
Diffstat (limited to 'packages')
-rw-r--r-- | packages/base-crypto.recipe | 19 | ||||
-rw-r--r-- | packages/gstreamer-1.0-codecs.package | 2 | ||||
-rw-r--r-- | packages/gstreamer-1.0-net.package | 19 |
3 files changed, 26 insertions, 14 deletions
diff --git a/packages/base-crypto.recipe b/packages/base-crypto.recipe new file mode 100644 index 00000000..fa648b95 --- /dev/null +++ b/packages/base-crypto.recipe @@ -0,0 +1,19 @@ +# vi:si:et:sw=4:sts=4:ts=4:syntax=python +# -*- Mode: Python -*- + + +class Package(package.Package): + + name = 'base-crypto-1.0' + shortdesc = 'Crypto base dependencies' + longdesc = 'Crypto base dependencies' + url = "http://gstreamer.freedesktop.org" + version = '1.3.0' + codename = 'Congo' + license = License.LGPL + vendor = 'GStreamer Project' + org = 'org.freedesktop.gstreamer' + uuid = 'b3a6046d-5a39-4d54-93ee-3770d2f316f5' + + files = ['gmp:libs', 'gnutls:libs:libs_extra:lang', + 'libtasn1:libs', 'nettle:libs'] diff --git a/packages/gstreamer-1.0-codecs.package b/packages/gstreamer-1.0-codecs.package index 482840cb..085a5b54 100644 --- a/packages/gstreamer-1.0-codecs.package +++ b/packages/gstreamer-1.0-codecs.package @@ -14,7 +14,7 @@ class Package(package.Package): vendor = 'GStreamer Project' org = 'org.freedesktop.gstreamer' uuid = 'a2e545d5-7819-4636-9e86-3660542f08e5' - deps = ['gstreamer-1.0-core'] + deps = ['gstreamer-1.0-core', 'base-crypto'] files = ['flac:libs', 'libkate:libs', 'libdv:libs', 'libogg:libs', 'schroedinger:libs', 'speex:libs', diff --git a/packages/gstreamer-1.0-net.package b/packages/gstreamer-1.0-net.package index ae615467..30748ee1 100644 --- a/packages/gstreamer-1.0-net.package +++ b/packages/gstreamer-1.0-net.package @@ -43,18 +43,11 @@ class Package(package.Package): def prepare(self): if self.config.target_platform != Platform.LINUX or \ - self.config.target_distro_version not in \ - [DistroVersion.DEBIAN_WHEEZY, - DistroVersion.DEBIAN_JESSIE, - DistroVersion.UBUNTU_NATTY, - DistroVersion.UBUNTU_ONEIRIC, - DistroVersion.UBUNTU_PRECISE, - DistroVersion.UBUNTU_QUANTAL, - DistroVersion.FEDORA_16, - DistroVersion.FEDORA_17]: - self.files += ['gmp:libs', 'gnutls:libs:libs_extra:lang', - 'libtasn1:libs', 'nettle:libs', - 'glib-networking', 'glib-networking-static' - ] + self.config.target_distro_version in \ + [DistroVersion.DEBIAN_SQUEEZE, + DistroVersion.UBUNTU_MAVERICK, + DistroVersion.UBUNTU_LUCID]: + self.files += ['glib-networking', 'glib-networking-static'] + self.deps += ['base-crypto'] elif self.config.target_platform == Platform.LINUX: self.sys_deps = {self.config.target_distro_version: ['glib-networking']} |