Skip to content

Instantly share code, notes, and snippets.

@mvdbeek
Created October 11, 2015 14:48
Show Gist options
  • Save mvdbeek/9fdf008c010435087f4e to your computer and use it in GitHub Desktop.
Save mvdbeek/9fdf008c010435087f4e to your computer and use it in GitHub Desktop.
Pixman actions_group problems.
<?xml version="1.0"?>
<tool_dependency>
<package name="libpng" version="1.6.7">
<repository name="package_libpng_1_6_7" owner="iuc" prior_installation_required="True" />
</package>
<package name="pixman" version="0.32.6">
<install version="1.0">
<actions_group>
<actions architecture="x86_64" os="linux">
<action type="download_by_url" sha256sum="3dfed13b8060eadabf0a4945c7045b7793cc7e3e910e748a8bb0f0dc3e794904">http://cairographics.org/releases/pixman-0.32.6.tar.gz</action>
<action type="set_environment_for_install">
<repository name="package_libpng_1_6_7" owner="iuc" prior_installation_required="True">
<package name="libpng" version="1.6.7" />
</repository>
</action>
<action type="shell_command"><![CDATA[
export LDFLAGS="-Wl,-rpath,$LIBPNG_LIB_PATH"
./configure --prefix=$INSTALL_DIR
]]>
</action>
<action type="make_install" />
<action type="set_environment">
<environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
<environment_variable action="set_to" name="PIXMAN_LIB_PATH">$INSTALL_DIR/lib</environment_variable>
<environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
</action>
</actions>
<actions architecture="x86_64" os="darwin">
<action type="download_by_url" sha256sum="3dfed13b8060eadabf0a4945c7045b7793cc7e3e910e748a8bb0f0dc3e794904">http://cairographics.org/releases/pixman-0.32.6.tar.gz</action>
<action type="set_environment_for_install">
<repository name="package_libpng_1_6_7" owner="iuc" prior_installation_required="True">
<package name="libpng" version="1.6.7" />
</repository>
</action>
<action type="shell_command"><![CDATA[
export LDFLAGS="-Wl,-rpath,$LIBPNG_LIB_PATH"
./configure --prefix=$INSTALL_DIR --disable-mmx
]]>
</action>
<action type="make_install" />
<action type="set_environment">
<environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
<environment_variable action="set_to" name="PIXMAN_LIB_PATH">$INSTALL_DIR/lib</environment_variable>
<environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
</action>
</actions>
</actions_group>
</install>
<readme />
</package>
</tool_dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment