diff options
Diffstat (limited to 'build-aux/osx/build/config/jhbuildrc-gedit')
-rw-r--r-- | build-aux/osx/build/config/jhbuildrc-gedit | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/build-aux/osx/build/config/jhbuildrc-gedit b/build-aux/osx/build/config/jhbuildrc-gedit new file mode 100644 index 0000000..46ca950 --- /dev/null +++ b/build-aux/osx/build/config/jhbuildrc-gedit @@ -0,0 +1,40 @@ +# -*- mode: python -*- + +import sys, os + +_gsdk = os.environ.get('GEDIT_SDK', None) + +if not _gsdk: + sys.stderr.write("No GEDIT_SDK environment given. Please provide 10.x\n") + sys.exit(1) + +_basedir = os.environ['GEDIT_OSX_BUILD_BASE'] + +if not _basedir: + sys.stderr.write("No GEDIT_OSX_BASE environment given. Please provide the base build directory\n") + sys.exit(1) + +_sourcedir = os.environ['GEDIT_OSX_SOURCE_BASE'] + +if not _sourcedir: + sys.stderr.write("No GEDIT_OSX_SOURCE_BASE environment given. Please provide the base source directory\n") + sys.exit(1) + +checkoutroot = os.path.join(_basedir, _gsdk, "source") +prefix = os.path.join(_basedir, _gsdk, "inst") +tarballdir = os.path.join(_basedir, "pkgs") + +# Main setup +setup_sdk(target=_gsdk, sdk_version=_gsdk, architectures=['x86_64']) + +if 'GEDIT_OSX_DEBUG' in os.environ: + setup_debug() +else: + setup_release() + +# Main module set +modulesets_dir = os.path.join(_sourcedir, "modulesets") +moduleset = "gedit.modules" +modules = ["gedit-meta"] + +os.environ['HOME'] = os.environ['__GEDIT_OSX_OLD_HOME'] |