summaryrefslogtreecommitdiffstats
path: root/x11-libs/libafterimage
diff options
context:
space:
mode:
authorPieter Lenaerts2006-09-21 22:03:00 +0200
committerPieter Lenaerts2006-09-21 22:45:42 +0200
commit0bde5a8ace4ab1b8dec70639ac2821f8e97f7846 (patch)
tree51c714ab1bc44345d95eef2d161039d768f219fb /x11-libs/libafterimage
parent8951a27978e88845fcfcac2d5f0899647f855361 (diff)
libafterimage: should be pretty much ready
Diffstat (limited to 'x11-libs/libafterimage')
-rwxr-xr-xx11-libs/libafterimage/BUILD5
-rwxr-xr-xx11-libs/libafterimage/CONFIGURE2
-rwxr-xr-x[-rw-r--r--]x11-libs/libafterimage/DEPENDS50
-rwxr-xr-xx11-libs/libafterimage/PROVIDES1
-rw-r--r--x11-libs/libafterimage/WIP5
5 files changed, 41 insertions, 22 deletions
diff --git a/x11-libs/libafterimage/BUILD b/x11-libs/libafterimage/BUILD
new file mode 100755
index 0000000000..2d06067da9
--- /dev/null
+++ b/x11-libs/libafterimage/BUILD
@@ -0,0 +1,5 @@
+if [ "${LIBAFTERSTEP_SO}" == "y" ]
+then OPTS="${OPTS} --enable-sharedlibs --disable-staticlibs"
+else OPTS="${OPTS} --disable-sharedlibs --enable-staticlibs"
+fi &&
+default_build
diff --git a/x11-libs/libafterimage/CONFIGURE b/x11-libs/libafterimage/CONFIGURE
new file mode 100755
index 0000000000..a5dc035dde
--- /dev/null
+++ b/x11-libs/libafterimage/CONFIGURE
@@ -0,0 +1,2 @@
+config_query LIBAFTERSTEP_SO "Enable building shared library?" y &&
+config_query LIBAFTERSTEP_GIF "Use external provider of LIBGIF?" y
diff --git a/x11-libs/libafterimage/DEPENDS b/x11-libs/libafterimage/DEPENDS
index f19856e59e..76954e32b3 100644..100755
--- a/x11-libs/libafterimage/DEPENDS
+++ b/x11-libs/libafterimage/DEPENDS
@@ -1,26 +1,38 @@
-optional_depends jpeg \
- "--with-jpeg" \
- "--without-jpeg" \
- "Support jpeg image format?" &&
+optional_depends afterstep \
+ "--with-afterbase" \
+ "--without-afterbase" \
+ "Use afterstep's libafterbase?" &&
-optional_depends libpng \
- "--with-png" \
- "--without-png" \
- "Support png image format?" &&
+optional_depends freetype2 \
+ "--with-ttf" \
+ "--without-ttf" \
+ "Use freetype2 for True Type font support?" &&
+
+optional_depends jpeg \
+ "--with-jpeg" \
+ "--without-jpeg" \
+ "Support jpeg image format?" &&
+
+optional_depends libpng \
+ "--with-png" \
+ "--without-png" \
+ "Support png image format?" &&
+
+optional_depends tiff \
+ "--with-tiff" \
+ "--without-tiff" \
+ "Support tiff image format?" &&
if [ "${LIBAFTERSTEP_GIF}" == "y" ] ; then
- optional_depends LIBGIF \
- "--without-builtin-ungif" \
- "--with-builtin-ungif" \
+ optional_depends LIBGIF \
+ "--without-builtin-ungif" \
+ "--with-builtin-ungif" \
"Use external gif library?"
# test for which LIBGIF is picked go here.
+ if is_depends_enabled ${SPELL} giflib
+ then depends giflib '--with-gif'
+ elif is_depends_enabled ${SPELL} libungif
+ then depends libungif '--with-ungif'
+ fi
else OPTS="${OPTS} --without-gif --without-builtin-ungif"
fi
-
-if [ "${LIBAFTERSTEP_XPM}" == "y" ] ; then
- optional_depends libxpm \
- "--with-xpm --without-xpm-builtin" \
- "--with-xpm --with-xpm-builtin" \
- "Use external libxpm?"
-else OPTS="${OPTS} --without-xpm --without-xpm-builtin"
-fi
diff --git a/x11-libs/libafterimage/PROVIDES b/x11-libs/libafterimage/PROVIDES
new file mode 100755
index 0000000000..61084b7a4f
--- /dev/null
+++ b/x11-libs/libafterimage/PROVIDES
@@ -0,0 +1 @@
+LIBAFTERIMAGE
diff --git a/x11-libs/libafterimage/WIP b/x11-libs/libafterimage/WIP
index 68c8bc27c6..81d4e2fb6f 100644
--- a/x11-libs/libafterimage/WIP
+++ b/x11-libs/libafterimage/WIP
@@ -1,4 +1,3 @@
-DEPENDS: started, not finished yet
-needs CONFIGURE: some choices to be made
-needs PROVIDES: provides some afterstep stuff, don't forget to add it to as too
+as needs to provide LIBAFTERIMAGE
+aterm needs to depend on LIBAFTERIMAGE
needs HISTORY