summaryrefslogtreecommitdiff
path: root/packages/media-libs/imlib2
diff options
context:
space:
mode:
authorAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2008-10-26 10:58:44 +0100
committerAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2008-10-26 11:13:47 +0100
commitc850e6d52e6dfa003b53635a0e6247f6beb65dce (patch)
treeca55e652b763bbdce28701f351f70522dfc0df8d /packages/media-libs/imlib2
parent754c4230a0608cc13b20a24443fd11cb3ce6026c (diff)
downloadmedia-c850e6d52e6dfa003b53635a0e6247f6beb65dce.tar.gz
media-c850e6d52e6dfa003b53635a0e6247f6beb65dce.tar.xz
Move imlib2 to media.git.
Diffstat (limited to 'packages/media-libs/imlib2')
-rw-r--r--packages/media-libs/imlib2/imlib2-1.4.1.exheres-045
1 files changed, 45 insertions, 0 deletions
diff --git a/packages/media-libs/imlib2/imlib2-1.4.1.exheres-0 b/packages/media-libs/imlib2/imlib2-1.4.1.exheres-0
new file mode 100644
index 00000000..db7c7e57
--- /dev/null
+++ b/packages/media-libs/imlib2/imlib2-1.4.1.exheres-0
@@ -0,0 +1,45 @@
+# Copyright 2008 Richard Brown
+# Distributed under the terms of the GNU General Public License v2
+# Based in part upon 'imlib2-1.4.0.ebuild' from Gentoo, which is:
+# Copyright 1999-2008 Gentoo Foundation
+
+SUMMARY="Image Processing Library"
+HOMEPAGE="http://docs.enlightenment.org/api/imlib2/html/pages.html"
+DOWNLOADS="mirror://sourceforge/enlightenment/${PNV}.tar.bz2"
+
+LICENCES="Fast image library"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+MYOPTIONS="platform_amd64 bzip2 gif jpeg png tiff visibility platform_x86 X zlib"
+
+DEPENDENCIES="
+ build+run:
+ media-libs/freetype:=
+ bzip2? ( app-arch/bzip2 )
+ gif? ( media-libs/giflib )
+ jpeg? ( media-libs/jpeg )
+ png? ( media-libs/libpng )
+ tiff? ( media-libs/tiff )
+ X? ( x11-proto/xextproto )
+ zlib? ( sys-libs/zlib )
+ run:
+ X? ( x11-libs/libXext )
+"
+DEFAULT_SRC_CONFIGURE_PARAMS=( "--without-id3" )
+DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( bzip2 gif jpeg png tiff zlib )
+
+src_configure() {
+ if option platform_amd64; then
+ # --enable-amd64 segfaults
+ myconf="--disable-amd64 --disable-mmx"
+ elif option platform_x86; then
+ myconf="--disable-amd64 --enable-mmx"
+ else
+ myconf="--disable-amd64 --disable-mmx"
+ fi
+
+ econf ${myconf} \
+ $(option_with X x) \
+ $(option_enable visibility visibility-hiding)
+}
+