diff options
Diffstat (limited to 'media-libs/gd')
-rw-r--r-- | media-libs/gd/Manifest | 7 | ||||
-rw-r--r-- | media-libs/gd/gd-2.2.4.ebuild | 62 | ||||
-rw-r--r-- | media-libs/gd/gd-2.2.5.ebuild | 62 | ||||
-rw-r--r-- | media-libs/gd/metadata.xml | 37 |
4 files changed, 168 insertions, 0 deletions
diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest new file mode 100644 index 000000000000..ac03557dc748 --- /dev/null +++ b/media-libs/gd/Manifest @@ -0,0 +1,7 @@ +DIST libgd-2.2.4.tar.xz 2478528 SHA256 137f13a7eb93ce72e32ccd7cebdab6874f8cf7ddf31d3a455a68e016ecd9e4e6 SHA512 07903f322c4f6ab392508b0f60c38ca133699111ea92995dc6cd9379210d598bcb24a46c19657884d9e252f8663d0ee8c89c600e3a382a5ae598198c190f39b5 WHIRLPOOL eb00e684e8db02e649b3e6e2e76e7eff1e7aaa08995d78cef429b2b2053798aa1a44cd5b5eed5d3bc042394e72096d90ccc238ab3759e11fd543c80b697d0d91 +DIST libgd-2.2.5.tar.xz 2594092 SHA256 8c302ccbf467faec732f0741a859eef4ecae22fea2d2ab87467be940842bde51 SHA512 e4598e17a277a75e02255402182cab139cb3f2cffcd68ec05cc10bbeaf6bc7aa39162c3445cd4a7efc1a26b72b9152bbedb187351e3ed099ea51767319997a6b WHIRLPOOL 0ca5f05ebf03ec38caa028862379c3ad78da0a28b933a150b7635135807aa0a7d6bb85f4e9c206dd0ba0d3ce8ef64cc1ba1a3d929f0aad737a6b48d4453e33ef +EBUILD gd-2.2.4.ebuild 2084 SHA256 f709f9ebeb496a6e5fd32fa829e7ef358531a348baefcfae2cb8336df86a5944 SHA512 aac99cf6d28eda87185f48387607635dd9a4edebcd7b17cdeb403ed5360356d51fbcea1836d93eda72c1edbc1509161139481246034835a6e82e737f33eb0f12 WHIRLPOOL c4641734ece27ac3476cc7173a5daa0e3dd3c75f8e9bb741991fee665a5335c14b9d6a05dbb2f21dbe7b0a8dffab294652ae915945710300d69616fe142e7e7d +EBUILD gd-2.2.5.ebuild 2059 SHA256 e2cc1c57d7e2277800fc82e71888a33b6f2e0d5299b72e1a8e29e60b81843a34 SHA512 5b144d82cdb20dd6c3c9c7adc3c386b10637feddfd38c203a4e0206967a1086707ae6b643d824d0900ea9248e5a7811781ab9490138d58cebd0099e28cf1db20 WHIRLPOOL 2e01bd6dc310cea2f7a29944401c2d7a0430739efc53e359d4198e14fd1a670982d7289be9d357becd39f32a6013a1cf24a7f6b1815f8d6403b3e15dc25f1e97 +MISC ChangeLog 11439 SHA256 4f51ea32c218470ffab03124e18bd2991c7a44264b2c3e4bc5e34c3e46eeb838 SHA512 4359da5bdedab7a7ffd6b12ea40e5e94db02c0a26119bb0105b36ffc66e6a50a4a1db9fb3683881e39ca2d88a78cbcca6a16cc30126d47783d548b0a792fe3e3 WHIRLPOOL 209277f1fcfe61e15a1b93182d332b8fec7541302a36e8993feff1f5126f7492d51bfcefead90120c9af6cc8ccaddf3611258596d2593776740d4db9773e0b5d +MISC ChangeLog-2015 20092 SHA256 e7c76aba32580b9d1c023047fef0902ca083334af88282d3765719cb6be79f76 SHA512 3ba68dfb947f4f959cfcc1d518ef9e59d87b99a9268a90ae3da0d55a01951a16053be88db03303f88a94d120d05878d4846fd75916af012f7f336fe87e7f6693 WHIRLPOOL b424a773cf66bd121711c5b361fb7037c5ea4660545f0804c13f828185a4f202f4beff192053b3662da714994cc780dd79743a825740645bf35f103732a765d7 +MISC metadata.xml 1585 SHA256 0286478beeb511b10aa933e9adb32aa8ca1d5da104483b4969075e55efdb0fd2 SHA512 b153415e14980d822fd0fe3c70e132e9a7bee930da527d0181fa608d4f869cc678bdc06214bfd5187d631f82f821f997de4995d3f11e7621175d6628a2e40a7b WHIRLPOOL 93578f8d73438d58296805901f3e1550d07130249b1a256ab8b7efbd97cacde803c5a1ceb5b8bb407418b5f8043a8efd9d21d6fc65a801434c0539ff75603b9e diff --git a/media-libs/gd/gd-2.2.4.ebuild b/media-libs/gd/gd-2.2.4.ebuild new file mode 100644 index 000000000000..7cdcb905a456 --- /dev/null +++ b/media-libs/gd/gd-2.2.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit libtool multilib-minimal + +DESCRIPTION="A graphics library for fast image creation" +HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/" +SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz" + +LICENSE="gd IJG HPND BSD" +SLOT="2/3" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" + +# fontconfig has prefixed font paths, details see bug #518970 +REQUIRED_USE="prefix? ( fontconfig )" + +RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) + jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) + truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) + xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" + +S="${WORKDIR}/lib${P}" + +src_prepare() { + default + elibtoolize # for shared library on Solaris +} + +multilib_src_configure() { + # we aren't actually {en,dis}abling X here ... the configure + # script uses it just to add explicit -I/-L paths which we + # don't care about on Gentoo systems. + local myeconfargs=( + --disable-werror + --without-x + --without-liq + $(use_enable static-libs static) + $(use_with fontconfig) + $(use_with png) + $(use_with tiff) + $(use_with truetype freetype) + $(use_with jpeg) + $(use_with webp) + $(use_with xpm) + $(use_with zlib) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + dodoc README.md + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild new file mode 100644 index 000000000000..3db0e012734d --- /dev/null +++ b/media-libs/gd/gd-2.2.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit libtool ltprune multilib-minimal + +DESCRIPTION="A graphics library for fast image creation" +HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/" +SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz" + +LICENSE="gd IJG HPND BSD" +SLOT="2/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" + +# fontconfig has prefixed font paths, details see bug #518970 +REQUIRED_USE="prefix? ( fontconfig )" + +RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) + jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) + truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) + xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" + +S="${WORKDIR}/lib${P}" + +src_prepare() { + default + elibtoolize # for shared library on Solaris +} + +multilib_src_configure() { + # we aren't actually {en,dis}abling X here ... the configure + # script uses it just to add explicit -I/-L paths which we + # don't care about on Gentoo systems. + local myeconfargs=( + --disable-werror + --without-x + --without-liq + $(use_enable static-libs static) + $(use_with fontconfig) + $(use_with png) + $(use_with tiff) + $(use_with truetype freetype) + $(use_with jpeg) + $(use_with webp) + $(use_with xpm) + $(use_with zlib) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + dodoc README.md + prune_libtool_files +} diff --git a/media-libs/gd/metadata.xml b/media-libs/gd/metadata.xml new file mode 100644 index 000000000000..35f504c1b9be --- /dev/null +++ b/media-libs/gd/metadata.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vapier@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>graphics@gentoo.org</email> + <name>Gentoo Graphics Project</name> + </maintainer> + <longdescription> +gd is a graphics library. It allows your code to quickly draw images complete +with lines, arcs, text, multiple colors, cut and paste from other images, and +flood fills, and write out the result as a PNG or JPEG file. This is particularly +useful in World Wide Web applications, where PNG and JPEG are two of the formats +accepted for inline images by most browsers. + +gd is not a paint program. If you are looking for a paint program, you are +looking in the wrong place. If you are not a programmer, you are looking in the +wrong place, unless you are installing a required library in order to run an +application. + +gd does not provide for every possible desirable graphics operation. It is not +necessary or desirable for gd to become a kitchen-sink graphics package, but +version 2.0 does include most frequently requested features, including both +truecolor and palette images, resampling (smooth resizing of truecolor images) +and so forth. + </longdescription> + <upstream> + <remote-id type="github">libgd/libgd</remote-id> + <bugs-to>https://github.com/libgd/libgd/issues</bugs-to> + <remote-id type="bitbucket">libgd/gd-libgd</remote-id> + </upstream> + <use> + <flag name="webp">Enable support for the webp format</flag> + </use> +</pkgmetadata> |