diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-12-08 17:31:44 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-12-08 17:31:44 +0000 |
commit | f72bfc66fa56eeddb4d8f52589c41420032e189a (patch) | |
tree | c149d8e7eb10efcb5b67b3dba50c88b1644a86ce /dev-libs/DirectFB | |
parent | old (diff) | |
download | gentoo-2-f72bfc66fa56eeddb4d8f52589c41420032e189a.tar.gz gentoo-2-f72bfc66fa56eeddb4d8f52589c41420032e189a.tar.bz2 gentoo-2-f72bfc66fa56eeddb4d8f52589c41420032e189a.zip |
old
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r-- | dev-libs/DirectFB/DirectFB-1.2.9.ebuild | 145 | ||||
-rw-r--r-- | dev-libs/DirectFB/Manifest | 12 |
2 files changed, 0 insertions, 157 deletions
diff --git a/dev-libs/DirectFB/DirectFB-1.2.9.ebuild b/dev-libs/DirectFB/DirectFB-1.2.9.ebuild deleted file mode 100644 index 07590089a9f3..000000000000 --- a/dev-libs/DirectFB/DirectFB-1.2.9.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.2.9.ebuild,v 1.1 2009/09/29 20:53:09 vapier Exp $ - -inherit eutils toolchain-funcs - -IUSE_VIDEO_CARDS="ati128 cle266 cyber5k i810 i830 mach64 matrox neomagic none nsc nvidia radeon savage sis315 tdfx unichrome" -IUSE_INPUT_DEVICES="dbox2remote elo-input gunze h3600_ts joystick keyboard dreamboxremote linuxinput lirc mutouch none permount ps2mouse serialmouse sonypijogdial wm97xx" - -DESCRIPTION="Thin library on top of the Linux framebuffer devices" -HOMEPAGE="http://www.directfb.org/" -SRC_URI="http://directfb.org/downloads/Core/${PN}-${PV:0:3}/${P}.tar.gz - http://directfb.org/downloads/Old/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh -sparc ~x86" -IUSE="debug fbcon fusion gif jpeg mmx png sdl sse sysfs truetype v4l v4l2 X zlib" - -# fusion? ( >=dev-libs/linux-fusion-8.0.0 ) -RDEPEND="sdl? ( media-libs/libsdl ) - gif? ( media-libs/giflib ) - png? ( media-libs/libpng ) - jpeg? ( media-libs/jpeg ) - sysfs? ( sys-fs/sysfsutils ) - zlib? ( sys-libs/zlib ) - truetype? ( >=media-libs/freetype-2.0.1 ) - X? ( x11-libs/libXext x11-libs/libX11 )" -DEPEND="${RDEPEND} - X? ( x11-proto/xextproto x11-proto/xproto )" - -pkg_setup() { - if [[ -z ${VIDEO_CARDS} ]] ; then - ewarn "All video drivers will be built since you did not specify" - ewarn "via the VIDEO_CARDS variable what video card you use." - ewarn "DirectFB supports: ${IUSE_VIDEO_CARDS} all none" - echo - fi - if [[ -z ${INPUT_DEVICES} ]] ; then - ewarn "All input drivers will be built since you did not specify" - ewarn "via the INPUT_DEVICES variable which input drivers to use." - ewarn "DirectFB supports: ${IUSE_INPUT_DEVICES} all none" - echo - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-1.2.7-CFLAGS.patch - epatch "${FILESDIR}"/${PN}-1.2.0-headers.patch - epatch "${FILESDIR}"/${PN}-1.1.1-pkgconfig.patch - - # This is only a partial fix to the X11 order issue #201626. It's just - # the only part we need in order to make the issue go away. Upstream - # bug tracker is currently broken, so list things to do here: - # configure.in: - # - only add -I/usr/X11R6/include to X11_CFLAGS as needed - # - only add -L/usr/X11R6/lib to X11_LIBS as needed - # systems/x11/Makefile.am: - # - add $(X11_LIBS) to end of _LIBADD variables - sed -i \ - -e '/X11_LIBS/s:-L/usr/X11R6/lib::' \ - -e '/CFLAGS/s:-I/usr/X11R6/include::' \ - configure -} - -src_compile() { - local vidcards card input inputdrivers - if [[ ${VIDEO_CARDS+set} == "set" ]] ; then - for card in ${VIDEO_CARDS} ; do - has ${card} ${IUSE_VIDEO_CARDS} && vidcards="${vidcards},${card}" - #use video_cards_${card} && vidcards="${vidcards},${card}" - done - [[ -z ${vidcards} ]] \ - && vidcards="none" \ - || vidcards=${vidcards:1} - else - vidcards="all" - fi - if [[ ${INPUT_DEVICES+set} == "set" ]] ; then - for input in ${INPUT_DEVICES} ; do - has ${input} ${IUSE_INPUT_DEVICES} && inputdrivers="${inputdrivers},${input}" - #use input_devics_${input} && inputdrivers="${inputdrivers},${input}" - done - [[ -z ${inputdrivers} ]] \ - && inputdrivers="none" \ - || inputdrivers=${inputdrivers:1} - else - inputdrivers="all" - fi - - local sdlconf="--disable-sdl" - if use sdl ; then - # since SDL can link against DirectFB and trigger a - # dependency loop, only link against SDL if it isn't - # broken #61592 - echo 'int main(){}' > sdl-test.c - $(tc-getCC) sdl-test.c -lSDL 2>/dev/null \ - && sdlconf="--enable-sdl" \ - || ewarn "Disabling SDL since libSDL.so is broken" - fi - - econf \ - --enable-static \ - $(use_enable X x11) \ - $(use_enable fbcon fbdev) \ - $(use_enable mmx) \ - $(use_enable sse) \ - $(use_enable jpeg) \ - $(use_enable png) \ - $(use_enable gif) \ - $(use_enable truetype freetype) \ - $(use_enable fusion multi) \ - $(use_enable debug) \ - $(use_enable sysfs) \ - $(use_enable zlib) \ - $(use_enable v4l video4linux) \ - $(use_enable v4l2 video4linux2) \ - ${sdlconf} \ - --with-gfxdrivers="${vidcards}" \ - --with-inputdrivers="${inputdrivers}" \ - --disable-vnc \ - || die - emake || die -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - dodoc fb.modes AUTHORS ChangeLog NEWS README* TODO - dohtml -r docs/html/* -} - -pkg_postinst() { - ewarn "Each DirectFB update in the 0.9.xx series" - ewarn "breaks DirectFB related applications." - ewarn "Please run \"revdep-rebuild\" which can be" - ewarn "found by emerging the package 'gentoolkit'." - ewarn - ewarn "If you have an ALPS touchpad, then you might" - ewarn "get your mouse unexpectedly set in absolute" - ewarn "mode in all DirectFB applications." - ewarn "This can be fixed by removing linuxinput from" - ewarn "INPUT_DEVICES." -} diff --git a/dev-libs/DirectFB/Manifest b/dev-libs/DirectFB/Manifest index ac93782a2710..7d95e247848e 100644 --- a/dev-libs/DirectFB/Manifest +++ b/dev-libs/DirectFB/Manifest @@ -1,21 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX DirectFB-1.1.1-pkgconfig.patch 637 RMD160 b560f0cb45ab3e8938bce474f1331562ba3a96a1 SHA1 aa202a8452f48f1a8ce087201bcc26ef17c97faa SHA256 f824293e1ae8ed2e632ba0196cf760459006a1e110abac348476b3982a0db036 AUX DirectFB-1.2.0-headers.patch 430 RMD160 a783b9d0169241d92504ceb9a41545afa986384a SHA1 78f0b76da583702e730fed19288eb5b94be996f2 SHA256 f1c3c6f420ca7864435d8c69a80c239c4ff9ed6d46ac9ba14b59c6ffa6970b45 AUX DirectFB-1.2.7-CFLAGS.patch 430 RMD160 814bb14c60732dab762303e8a6d356bc59950424 SHA1 5b9e3220493f182ceb0b13747e8199cf0f82c319 SHA256 8b1520f87b5ece3d3694cc1fd5b7bb943ab746a55d423b4593213be2b3bd13e7 DIST DirectFB-1.2.7.tar.gz 2771039 RMD160 5230e8090938b4c8e9713d174dc62944da3cebab SHA1 1f0c7f3a020d095b78abc1adcc11e34e7b1b07fb SHA256 80ab8e34246a280bc380020cf331bcc0014cf816380cee3935ad455c108e661e -DIST DirectFB-1.2.9.tar.gz 2780048 RMD160 330d66b8af8b6a4ec58bc5dff403dbe4d187040a SHA1 0cd56a76b215b91cff39356063caf6c39e5e6383 SHA256 362ee93c0e669e2450935feec955ee6c49faa21934c366e49e35a5cea2eb2404 DIST DirectFB-1.4.2.tar.gz 2900292 RMD160 44ead9b32a2583b79690b1cc1536a4df17361078 SHA1 29a5e5a82b1a9e2cbfe31af127a54767fffae975 SHA256 051847e21e88a9c32ee78f8920014602d8b21928602075c5266433cd58addbc6 EBUILD DirectFB-1.2.7.ebuild 4762 RMD160 14ed83117bb3e61f7475b85b29faed13fad76b17 SHA1 027fe225aad1e013600b5534c5d1ad416711642c SHA256 7f7d7714a0f2c1b607acc363e3d96294081cf09af83a2fcac0fd515d7414fbe0 -EBUILD DirectFB-1.2.9.ebuild 4790 RMD160 bcbc10957c0dd0975c29d02cb6af6db7dda45a6e SHA1 659941c184613a17f4bb8248afea8474013678df SHA256 c8cba3a92c78ff73dc8210a88a8152cf4957ddac10cac9a2492177f551380765 EBUILD DirectFB-1.4.2.ebuild 4477 RMD160 5473f78f17774b951d67a73c63f427c61b89feb3 SHA1 b5667ab23a9f9b56253336147794916e17c9af5c SHA256 c5edb1959e61bc8d800fd556a4c749c7348af4bcf13ce8c3172b8542a7583ced MISC ChangeLog 12850 RMD160 d5dc10c7578b36b14375ff0509d8c8b525a6ae36 SHA1 8e4ff4820eb34fe52b956ba20ad0870974bfd7ff SHA256 98d02a09f6a0697c5196f8d34cb124936fcd8e2bdc47c577f607d95d2d1ce14b MISC metadata.xml 874 RMD160 602100ad1d1d3d5882f64144024636eea56a89a9 SHA1 35a43722612b96313f79c7d431c00068eef6cc95 SHA256 81a0a55f0059aa1f51089edadd145016aa6f2c0dfd986bea718afb4e9900860f ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAkrCiuIACgkQlPl3HsVfCDqeggCeM1Et99XPDHJv+PKkPlyzYHg7 -tucAnRbM18ctm+RHZgWaqp2jcg9O4BmB -=NcKi ------END PGP SIGNATURE----- |