diff options
4 files changed, 102 insertions, 0 deletions
diff --git a/media-libs/imlib2/files/digest-imlib2-1.1.0.20031225 b/media-libs/imlib2/files/digest-imlib2-1.1.0.20031225 new file mode 100644 index 000000000000..19e6db9c9545 --- /dev/null +++ b/media-libs/imlib2/files/digest-imlib2-1.1.0.20031225 @@ -0,0 +1 @@ +MD5 65f6e7693dcdc9ac62bb0708552e04e2 imlib2-1.1.0.20031225.tar.bz2 555606 diff --git a/media-libs/imlib2/imlib2-1.1.0.20031225.ebuild b/media-libs/imlib2/imlib2-1.1.0.20031225.ebuild new file mode 100644 index 000000000000..03bb42b9ac6e --- /dev/null +++ b/media-libs/imlib2/imlib2-1.1.0.20031225.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.1.0.20031225.ebuild,v 1.1 2003/12/25 05:28:22 vapier Exp $ + +inherit enlightenment flag-o-matic gcc + +DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm" +HOMEPAGE="http://www.enlightenment.org/pages/imlib2.html" +#SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86 ~ppc ~alpha ~mips ~arm ~hppa ~sparc amd64" +IUSE="${IUSE} mmx gif png jpeg tiff static X" + +DEPEND="${DEPEND} + =media-libs/freetype-2* + gif? ( media-libs/libungif + >=media-libs/giflib-4.1.0 ) + png? ( >=media-libs/libpng-1.2.1 ) + jpeg? ( media-libs/jpeg ) + tiff? ( >=media-libs/tiff-3.5.5 ) + X? ( virtual/x11 )" + +S=${WORKDIR}/${PN} # cvs +#S=${WORKDIR}/${P} # release + +src_compile() { + replace-flags k6-3 i586 + replace-flags k6-2 i586 + replace-flags k6 i586 + + [ "${ARCH}" = "amd64" ] && append-flags -fPIC + + if [ "${S}" == "${WORKDIR}/${PN}" ] ; then + # cvs only stuff + + # uhh, assumes x86 asm for mmx, doesn't work on amd64 + if [ "${ARCH}" = "amd64" ] + then + mmx="--disable-mmx" + else + mmx=`use_enable mmx` + fi + + export MY_ECONF=" + ${mmx} \ + `use_with X x` \ + --sysconfdir=/etc/X11/imlib + " + EHACKAUTOGEN=yes + EHACKLIBLTDL=yes + enlightenment_src_compile + else + econf \ + `use_enable mmx` \ + `use_with X x` \ + --sysconfdir=/etc/X11/imlib \ + || die "could not configure" + emake || die "could not make" + fi +} + +src_install() { + make prefix=${D}/usr sysconfdir=${D}/etc/X11/imlib install || die + dodoc AUTHORS ChangeLog README TODO + dohtml -r doc + docinto samples + dodoc demo/*.c +} diff --git a/media-libs/imlib2_loaders/files/digest-imlib2_loaders-1.0.4.20031225 b/media-libs/imlib2_loaders/files/digest-imlib2_loaders-1.0.4.20031225 new file mode 100644 index 000000000000..42e4e67ae6a8 --- /dev/null +++ b/media-libs/imlib2_loaders/files/digest-imlib2_loaders-1.0.4.20031225 @@ -0,0 +1 @@ +MD5 e32d766f18931704f3d91470f6746124 imlib2_loaders-1.0.4.20031225.tar.bz2 85406 diff --git a/media-libs/imlib2_loaders/imlib2_loaders-1.0.4.20031225.ebuild b/media-libs/imlib2_loaders/imlib2_loaders-1.0.4.20031225.ebuild new file mode 100644 index 000000000000..be9b26f9301e --- /dev/null +++ b/media-libs/imlib2_loaders/imlib2_loaders-1.0.4.20031225.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2_loaders/imlib2_loaders-1.0.4.20031225.ebuild,v 1.1 2003/12/25 05:29:41 vapier Exp $ + +inherit enlightenment flag-o-matic + +DESCRIPTION="image loader plugins for Imlib 2" +HOMEPAGE="http://www.enlightenment.org/pages/imlib2.html" + +IUSE="${IUSE} X" + +DEPEND="${DEPEND} + >=media-libs/imlib2-1.1.0 + >=dev-db/edb-1.0.4.20031013 + >=dev-libs/eet-0.9.0.20031013" + +src_compile() { + cp autogen.sh{,.old} + sed -e 's:.*configure.*::' autogen.sh.old > autogen.sh + env WANT_AUTOCONF_2_5=1 ./autogen.sh || die "could not autogen" + cd libltdl && env WANT_AUTOCONF_2_5=1 autoconf && cd .. + + use alpha && append-flags '-fPIC' + + econf \ + --enable-eet \ + --enable-edb \ + || die + emake || die +} |