diff options
| author | Mark Weiman <mark.weiman@markzz.com> | 2016-01-02 01:22:31 -0500 |
|---|---|---|
| committer | Mark Weiman <mark.weiman@markzz.com> | 2016-01-02 01:22:31 -0500 |
| commit | 5c3b7276abf0d01b53662f38db5b4d52377343ed (patch) | |
| tree | 8286ac3539ed49a2a1e9a65f8b7fca0976a06de6 /jhbuild | |
| download | markzz-5c3b7276abf0d01b53662f38db5b4d52377343ed.tar.gz markzz-5c3b7276abf0d01b53662f38db5b4d52377343ed.zip | |
initial commit
Signed-off-by: Mark Weiman <mark.weiman@markzz.com>
Diffstat (limited to 'jhbuild')
| -rw-r--r-- | jhbuild/.SRCINFO | 24 | ||||
| -rw-r--r-- | jhbuild/PKGBUILD | 43 | ||||
| -rw-r--r-- | jhbuild/jhbuild.install | 7 | ||||
| -rw-r--r-- | jhbuild/module_autogenargs.patch | 21 |
4 files changed, 95 insertions, 0 deletions
diff --git a/jhbuild/.SRCINFO b/jhbuild/.SRCINFO new file mode 100644 index 0000000..be28b99 --- /dev/null +++ b/jhbuild/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = jhbuild + pkgdesc = Tool to build the whole GNOME desktop from sources + pkgver = 3.12.0 + pkgrel = 2 + url = https://live.gnome.org/Jhbuild/ + install = jhbuild.install + arch = i686 + arch = x86_64 + license = GPL + makedepends = rsync + makedepends = subversion + makedepends = gnome-common + makedepends = git + makedepends = intltool + makedepends = gnome-doc-utils + makedepends = yelp-tools + depends = python2 + source = https://git.gnome.org/browse/jhbuild/snapshot/jhbuild-3.12.0.tar.xz + source = module_autogenargs.patch + sha256sums = e84676f6a6b327abddc7d606abe103517c25bd4bc017973913bd37c3b5f9d7e1 + sha256sums = f92dd2735e47d0032f4069fbf1c4d1207c83eabd0a6317ea78f39d6157e854b2 + +pkgname = jhbuild + diff --git a/jhbuild/PKGBUILD b/jhbuild/PKGBUILD new file mode 100644 index 0000000..6125d87 --- /dev/null +++ b/jhbuild/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Mark Weiman <mark dot weiman at markzz dot com> +# Contributor: Kerrick Staley <mail@kerrickstaley.com> +# Contributor: Thijs Vermeir <thijsvermeir@gmail.com> + +pkgname=jhbuild +pkgver=3.12.0 +pkgrel=2 +pkgdesc='Tool to build the whole GNOME desktop from sources' +arch=('i686' 'x86_64') +license=('GPL') +depends=(python2) +makedepends=(rsync + subversion + gnome-common + git + intltool + gnome-doc-utils + yelp-tools) +install=jhbuild.install +source=('https://git.gnome.org/browse/jhbuild/snapshot/jhbuild-3.12.0.tar.xz' + 'module_autogenargs.patch') +sha256sums=('e84676f6a6b327abddc7d606abe103517c25bd4bc017973913bd37c3b5f9d7e1' + 'f92dd2735e47d0032f4069fbf1c4d1207c83eabd0a6317ea78f39d6157e854b2') +url='https://live.gnome.org/Jhbuild/' + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -p1 < ../module_autogenargs.patch + + ./autogen.sh --prefix=/usr PYTHON=/usr/bin/python2 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="$pkgdir" install + install -d "$pkgdir/usr/share/jhbuild" + cp -dr modulesets "$pkgdir/usr/share/jhbuild" + + sed -i "s|${srcdir}|${HOME}/jhbuild|g" "${pkgdir}"/usr/bin/jhbuild +} diff --git a/jhbuild/jhbuild.install b/jhbuild/jhbuild.install new file mode 100644 index 0000000..2a6ad20 --- /dev/null +++ b/jhbuild/jhbuild.install @@ -0,0 +1,7 @@ +post_install() { + echo 'Now, look at' + echo + echo ' http://git.gnome.org/browse/jhbuild/tree/examples/sample.jhbuildrc' + echo + echo 'and create your ~/.config/jhbuildrc file.' +} diff --git a/jhbuild/module_autogenargs.patch b/jhbuild/module_autogenargs.patch new file mode 100644 index 0000000..2341e5d --- /dev/null +++ b/jhbuild/module_autogenargs.patch @@ -0,0 +1,21 @@ +diff --git a/jhbuild/defaults.jhbuildrc b/jhbuild/defaults.jhbuildrc +index e467a49..de715c4 100644 +--- a/jhbuild/defaults.jhbuildrc ++++ b/jhbuild/defaults.jhbuildrc +@@ -78,7 +78,15 @@ repos = {} + cvsroots = {} + svnroots = {} + branches = {} +-module_autogenargs = {} ++# Arch-specific setting: we need to pass PYTHON=/usr/bin/python2 when building some modules. ++module_autogenargs = { ++ 'cairo': autogenargs + ' ac_cv_prog_RANLIB=gcc-ranlib RANLIB=gcc-ranlib AR=gcc-ar', ++ 'evolution-data-server': autogenargs + ' PYTHON=/usr/bin/python2', ++ 'gobject-introspection': autogenargs + ' PYTHON=/usr/bin/python2', ++ 'itstool': autogenargs + ' PYTHON=/usr/bin/python2', ++ 'telepathy-mission-control': autogenargs + ' PYTHON=/usr/bin/python2', ++ 'WebKit': autogenargs + ' PYTHON=/usr/bin/python2', ++} + module_cmakeargs = {} + module_makeargs = {} + module_extra_env = {} |
