summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2014-01-10 18:26:56 +0000
committerMatti Bickel <mabi@gentoo.org>2014-01-10 18:26:56 +0000
commit9ae13378dcf0f3d961b1ae9f7acebb163fbc6df3 (patch)
treeb6b4f027d19d4b4b7b954dd369f12e42303cc6be /x11-libs/fox/fox-1.7.45.ebuild
parentversion bump, cleanup (diff)
downloadgentoo-2-9ae13378dcf0f3d961b1ae9f7acebb163fbc6df3.tar.gz
gentoo-2-9ae13378dcf0f3d961b1ae9f7acebb163fbc6df3.tar.bz2
gentoo-2-9ae13378dcf0f3d961b1ae9f7acebb163fbc6df3.zip
version bump, cleanup
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xDDF971F118EEA5E6!)
Diffstat (limited to 'x11-libs/fox/fox-1.7.45.ebuild')
-rw-r--r--x11-libs/fox/fox-1.7.45.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/x11-libs/fox/fox-1.7.45.ebuild b/x11-libs/fox/fox-1.7.45.ebuild
new file mode 100644
index 000000000000..c5aac06fe533
--- /dev/null
+++ b/x11-libs/fox/fox-1.7.45.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fox/fox-1.7.45.ebuild,v 1.1 2014/01/10 18:26:56 mabi Exp $
+
+EAPI=5
+
+inherit fox
+
+LICENSE="LGPL-2.1"
+SLOT="1.7"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib"
+
+# newish autoconf needed for working mmap check
+RDEPEND="x11-libs/libXrandr
+ x11-libs/libXcursor
+ x11-libs/fox-wrapper
+ >=sys-devel/autoconf-2.67
+ bzip2? ( app-arch/bzip2 )
+ jpeg? ( virtual/jpeg )
+ opengl? ( virtual/glu virtual/opengl )
+ png? ( media-libs/libpng )
+ tiff? ( media-libs/tiff )
+ truetype? ( media-libs/freetype:2
+ x11-libs/libXft )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-libs/libXt"
+
+src_configure() {
+ FOXCONF="$(use_enable bzip2 bz2lib) \
+ $(use_enable jpeg) \
+ $(use_with opengl) \
+ $(use_enable png) \
+ $(use_enable tiff) \
+ $(use_with truetype xft) \
+ $(use_enable zlib)" fox_src_configure
+}
+
+src_install() {
+ fox_src_install
+ CP="${ED}/usr/bin/ControlPanel"
+ if [[ -f ${CP} ]] ; then
+ mv "${CP}" "${ED}/usr/bin/fox-ControlPanel-${SLOT}" || \
+ die "Failed to install ControlPanel"
+ fi
+}
+
+pkg_postinst() {
+ fox_pkg_postinst
+
+ einfo "ControlPanel has been installed to 'fox-ControlPanel-${SLOT}' to avoid conflicts"
+ einfo "with other packages."
+}