diff options
Diffstat (limited to '')
-rw-r--r-- | packaging/macos/modulesets/gtk-osx-bootstrap.modules | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/packaging/macos/modulesets/gtk-osx-bootstrap.modules b/packaging/macos/modulesets/gtk-osx-bootstrap.modules new file mode 100644 index 0000000..6127d99 --- /dev/null +++ b/packaging/macos/modulesets/gtk-osx-bootstrap.modules @@ -0,0 +1,119 @@ +<?xml version="1.0"?> +<!DOCTYPE moduleset SYSTEM "moduleset.dtd"> +<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?> +<moduleset> + + <repository type="tarball" name="ftp.gnome.org" default="yes" + href="http://download.gnome.org/sources/"/> + <repository type="tarball" name="ftp.gnu.org" href="https://ftp.gnu.org/gnu/"/> + <repository type="tarball" name="sourceforge" + href="http://downloads.sourceforge.net/sourceforge/"/> + <repository type="tarball" name="jpeg" + href="https://www.fossies.org/"/> + <repository type="tarball" name="libtiff" + href="http://download.osgeo.org/"/> + <repository type="tarball" name="icon-theme" + href="http://icon-theme.freedesktop.org/releases/"/> + <repository type="tarball" name="xmlsoft.org" + href="ftp://xmlsoft.org/libxml2/"/> + <repository type="git" name="git.gnome.org" + href="https://gitlab.gnome.org/GNOME"/> + <repository type="tarball" name="itstool" href="http://files.itstool.org/"/> + <repository type="tarball" name="github-tarball" href="https://github.com/"/> + + <autotools id="libpng" autogenargs="--enable-shared" autogen-sh="configure"> + <branch version="1.6.37" module="libpng/libpng-1.6.37.tar.xz" + hash="sha256:505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca" + repo="sourceforge"/> + <dependencies> + <dep package="zlib"/> + </dependencies> + </autotools> + + <autotools id="libjpeg" autogen-sh="configure"> + <branch module="linux/misc/jpegsrc.v9e.tar.gz" version="9e" + repo="jpeg" checkoutdir="jpeg-9e" + hash="sha256:4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d"> + </branch> + </autotools> + + <autotools id="libtiff" autogen-sh="configure" autogenargs="--without-x"> + <branch version="4.2.0" module="libtiff/tiff-4.2.0.tar.gz" + repo="libtiff" + hash="sha256:eb0484e568ead8fa23b513e9b0041df7e327f4ee2d22db5a533929dfc19633cb"> + <patch file="tiff-nohtml.patch" strip="1" /> + </branch> + <dependencies> + <dep package="libjpeg"/> + </dependencies> + </autotools> + + <!-- The python package is in gtk-osx-python.modules. If you're + building "native" you can safely add python to the skip list, but + otherwise the links in the SDKs are messed up and libxml's python + module won't link. In case you're wondering, itstool + needs libxml2's python module. --> + + <autotools id="libxml2" autogen-sh="autoreconf" + autogenargs='--libdir="$JHBUILD_LIBDIR" --with-python'> + <branch version="2.9.12" module="libxml2-2.9.12.tar.gz" + repo="xmlsoft.org" + hash="sha256:c8d6681e38c56f172892c85ddc0852e1fd4b53b4209e7f4ebf17f7e2eae71d92"> + <patch file="libxml2-python-config.patch" strip="1"/> + </branch> + <after> + <dep package="python3"/> + </after> + </autotools> + + <autotools id="libxslt" autogen-sh="configure"> + <branch version="1.1.34" module="libxslt-1.1.34.tar.gz" + hash="sha256:98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f" + repo="xmlsoft.org"/> + <dependencies> + <dep package="libxml2"/> + </dependencies> + </autotools> + + <autotools id="itstool" autogen-sh="configure"> + <branch module="itstool/itstool-2.0.6.tar.bz2" version="2.0.6n" + repo="itstool" + hash="sha256:6233cc22726a9a5a83664bf67d1af79549a298c23185d926c3677afa917b92a9"> + <patch file="itstool-config-python.patch" strip="1"/> + </branch> + <dependencies> + <dep package="libxml2"/> + </dependencies> + </autotools> + + <meson id="gtk-doc" mesonargs="-Dyelp_manual=false -Dtests=false"> + <branch version="1.33.2" module="gtk-doc/1.33/gtk-doc-1.33.2.tar.xz" + hash="sha256:cc1b709a20eb030a278a1f9842a362e00402b7f834ae1df4c1998a723152bf43"/> + <dependencies> + <dep package="libxml2"/> + <dep package="libxslt"/> + <dep package="itstool"/> + </dependencies> + <after> + <dep package="python3"/> + <dep package="pygments"/> + </after> + </meson> + + <autotools id="icu" autogen-sh="source/configure" autogenargs="--enable-rpath" + makeargs='CFLAGS="$CFLAGS -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0"'> + <branch repo="github-tarball" version="68.2" checkoutdir="icu" + module="unicode-org/icu/releases/download/release-68-2/icu4c-68_2-src.tgz" + hash="sha256:c79193dee3907a2199b8296a93b52c5cb74332c26f3d167269487680d479d625"/> + </autotools> + + <metamodule id="meta-gtk-osx-bootstrap"> + <dependencies> + <dep package="libpng"/> + <dep package="libjpeg"/> + <dep package="libtiff"/> + <dep package="gtk-doc"/> + </dependencies> + </metamodule> + +</moduleset> |