summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-01-04 14:49:59 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-01-04 14:49:59 +0000
commitc58af81a944a5d0b2eaa55e2257511262b0070c3 (patch)
tree1f957de4c532b67f4738b77bc726016c80ae1195 /dev-libs/DirectFB
parentadd useflag mask for dev-libs/DirectFB-1.7.1 version bump (diff)
downloadhistorical-c58af81a944a5d0b2eaa55e2257511262b0070c3.tar.gz
historical-c58af81a944a5d0b2eaa55e2257511262b0070c3.tar.bz2
historical-c58af81a944a5d0b2eaa55e2257511262b0070c3.zip
version bump wrt #476834
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r--dev-libs/DirectFB/ChangeLog10
-rw-r--r--dev-libs/DirectFB/DirectFB-1.7.1.ebuild196
-rw-r--r--dev-libs/DirectFB/Manifest30
-rw-r--r--dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch27
-rw-r--r--dev-libs/DirectFB/files/DirectFB-1.7.1-flags.patch63
-rw-r--r--dev-libs/DirectFB/metadata.xml33
6 files changed, 333 insertions, 26 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog
index 6cd8d2155120..fc98b16619eb 100644
--- a/dev-libs/DirectFB/ChangeLog
+++ b/dev-libs/DirectFB/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/DirectFB
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.132 2013/03/19 20:13:40 vapier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.133 2014/01/04 14:49:51 hasufell Exp $
+
+*DirectFB-1.7.1 (04 Jan 2014)
+
+ 04 Jan 2014; Julian Ospald <hasufell@gentoo.org> +DirectFB-1.7.1.ebuild,
+ +files/DirectFB-1.7.1-build.patch, +files/DirectFB-1.7.1-flags.patch:
+ version bump wrt #476834
19 Mar 2013; Mike Frysinger <vapier@gentoo.org> +files/DirectFB-1.6.3-atomic-f
ix-compiler-error-when-building-for-thumb2.patch, DirectFB-1.6.3-r1.ebuild:
diff --git a/dev-libs/DirectFB/DirectFB-1.7.1.ebuild b/dev-libs/DirectFB/DirectFB-1.7.1.ebuild
new file mode 100644
index 000000000000..6644e68229c5
--- /dev/null
+++ b/dev-libs/DirectFB/DirectFB-1.7.1.ebuild
@@ -0,0 +1,196 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.7.1.ebuild,v 1.1 2014/01/04 14:49:51 hasufell Exp $
+
+EAPI=5
+inherit autotools eutils toolchain-funcs
+
+# Map Gentoo IUSE expand vars to DirectFB drivers
+# echo `sed -n '/Possible gfxdrivers are:/,/^$/{/Possible/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in`
+I_TO_D_intel="i810,i830"
+I_TO_D_mga="matrox"
+I_TO_D_r128="ati128"
+I_TO_D_s3="unichrome"
+I_TO_D_sis="sis315"
+I_TO_D_via="cle266"
+# cyber5k davinci ep9x omap pxa3xx sh772x savage pvr2d
+IUSE_VIDEO_CARDS=" intel mach64 mga neomagic nsc nvidia r128 radeon s3 sis tdfx via vmware"
+IUV=${IUSE_VIDEO_CARDS// / video_cards_}
+# echo `sed -n '/Possible inputdrivers are:/,/^$/{/\(Possible\|^input\)/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in`
+I_TO_D_elo2300="elo-input"
+I_TO_D_evdev="linuxinput"
+I_TO_D_mouse="ps2mouse,serialmouse"
+# dbox2remote dreamboxremote gunze h3600_ts penmount sonypijogdial ucb1x00 wm97xx zytronic
+IUSE_INPUT_DEVICES=" dynapro elo2300 evdev joystick keyboard lirc mouse mutouch tslib"
+IUD=${IUSE_INPUT_DEVICES// / input_devices_}
+
+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="alsa bmp cddb debug divine drmkms dynload doc egl fbcon fusiondale fusionsound gif gles2 gstreamer imlib2 input_hub jpeg jpeg2k mad mmx mng mpeg2 mpeg3 multicore opengl oss png pnm sawman sdl sse static-libs svg swfdec tiff timidity tremor truetype v4l vdpau vorbis webp X xine zlib ${IUV} ${IUD}"
+REQUIRED_USE="gles2? ( opengl )"
+
+# ffmpeg useflag broken
+# ffmpeg? ( virtual/ffmpeg )
+# $(use_enable ffmpeg) \
+RDEPEND="
+ alsa? ( media-libs/alsa-lib )
+ cddb? ( media-libs/libcddb )
+ drmkms? ( x11-libs/libdrm[libkms] )
+ gif? ( media-libs/giflib )
+ gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 )
+ imlib2? ( media-libs/imlib2 )
+ jpeg? ( virtual/jpeg )
+ jpeg2k? ( media-libs/jasper[jpeg] )
+ mad? ( media-libs/libmad )
+ mng? ( media-libs/libmng )
+ mpeg3? ( media-libs/libmpeg3 )
+ opengl? ( media-libs/mesa[gbm,egl?,gles2?] x11-libs/libdrm )
+ png? ( media-libs/libpng:0 )
+ sdl? ( media-libs/libsdl )
+ svg? ( x11-libs/libsvg-cairo )
+ swfdec? ( media-libs/swfdec )
+ tiff? ( media-libs/tiff:0 )
+ timidity? (
+ media-libs/libtimidity
+ media-sound/timidity++
+ )
+ tremor? ( media-libs/tremor )
+ truetype? ( >=media-libs/freetype-2.0.1 )
+ vdpau? ( x11-proto/xproto x11-libs/libX11 x11-libs/libXext x11-libs/libvdpau )
+ vorbis? ( media-libs/libvorbis )
+ webp? ( media-libs/libwebp )
+ X? ( x11-libs/libXext x11-libs/libX11 )
+ xine? ( media-libs/xine-lib[vdpau?] )
+ zlib? ( sys-libs/zlib ) "
+DEPEND="${RDEPEND}
+ X? ( x11-proto/xextproto x11-proto/xproto )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-flags.patch \
+ "${FILESDIR}"/${PN}-1.6.3-pkgconfig.patch \
+ "${FILESDIR}"/${P}-build.patch \
+ "${FILESDIR}"/${PN}-1.6.3-setregion.patch \
+ "${FILESDIR}"/${PN}-1.6.3-atomic-fix-compiler-error-when-building-for-thumb2.patch
+
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+driver_list() {
+ local pfx=$1
+ local dev devs map
+ shift
+ for dev in "$@" ; do
+ use ${pfx}_${dev} || continue
+ map="I_TO_D_${dev}"
+ devs=${devs:+${devs},}${!map:-${dev}}
+ done
+ echo ${devs:-none}
+}
+
+src_configure() {
+ local myaudio="wave"
+ use alsa && myaudio+=",alsa"
+ use oss && myaudio+=",oss"
+
+ 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
+
+ # fix --with-gfxdrivers= logic, because opengl, vdpau and gles2 are no video_cards
+ local gfxdrivers="$(driver_list video_cards ${IUSE_VIDEO_CARDS})"
+ use opengl && gfxdrivers="${gfxdrivers},gl"
+ use vdpau && gfxdrivers="${gfxdrivers},vdpau"
+ use gles2 && gfxdrivers="${gfxdrivers},gles2"
+ gfxdrivers="$(echo ${gfxdrivers} | sed 's/none,//')"
+
+ # fix --with-inputdrivers= logic, don't know where to put "input_hub"
+ local inputdrivers="$(driver_list input_devices ${IUSE_INPUT_DEVICES})"
+ use input_hub && inputdrivers="${inputdrivers},input_hub"
+ inputdrivers="$(echo ${inputdrivers} | sed 's/none,//')"
+
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable X x11) \
+ $(use_enable divine) \
+ $(use_enable sawman) \
+ $(use_enable fusiondale) \
+ $(use_enable fusionsound) \
+ $(use_enable fbcon fbdev) \
+ $(use_enable mmx) \
+ $(use_enable sse) \
+ $(use_enable egl) \
+ $(use_enable egl idirectfbgl-egl) \
+ $(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable mng) \
+ $(use_enable gstreamer) \
+ $(use_enable gif) \
+ $(use_enable tiff) \
+ $(use_enable imlib2) \
+ $(use_enable pnm) \
+ $(use_enable svg) \
+ $(use_enable mpeg2) \
+ $(use_enable mpeg3 libmpeg3) \
+ --disable-flash \
+ $(use_enable xine) \
+ $(usex xine "$(use_enable vdpau xine-vdpau)" "--disable-xine-vdpau") \
+ --disable-ffmpeg \
+ $(use_enable bmp) \
+ $(use_enable jpeg2k jpeg2000) \
+ --disable-openquicktime \
+ --disable-avifile \
+ $(use_enable truetype freetype) \
+ $(use_enable webp) \
+ $(use_enable debug) \
+ $(use_enable zlib) \
+ --disable-video4linux \
+ $(use_enable v4l video4linux2) \
+ $(use_enable vdpau x11vdpau) \
+ $(use_enable multicore) \
+ $(use_enable dynload) \
+ $(use_enable opengl mesa) \
+ $(use_enable drmkms) \
+ --with-fs-drivers="${myaudio}" \
+ $(use_with timidity) \
+ --with-wave \
+ $(use_with vorbis) \
+ $(use_with tremor) \
+ $(use_with mad) \
+ $(use_with cddb cdda) \
+ --with-playlist \
+ ${sdlconf} \
+ --with-gfxdrivers="${gfxdrivers}" \
+ --with-inputdrivers="${inputdrivers}" \
+ --disable-vnc
+}
+
+src_install() {
+ default
+ dodoc fb.modes
+ use doc && dohtml -r docs/html/*
+}
+
+pkg_postinst() {
+ ewarn "Each DirectFB update 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 get your mouse"
+ ewarn "unexpectedly set in absolute mode in all DirectFB applications."
+ ewarn "This can be fixed by removing linuxinput from INPUT_DEVICES."
+}
diff --git a/dev-libs/DirectFB/Manifest b/dev-libs/DirectFB/Manifest
index 99eb8c2449e4..0b5d639632a3 100644
--- a/dev-libs/DirectFB/Manifest
+++ b/dev-libs/DirectFB/Manifest
@@ -10,26 +10,24 @@ AUX DirectFB-1.6.3-build.patch 991 SHA256 6bfdf49846df444d3fe7deb54a353c1de7de86
AUX DirectFB-1.6.3-flags.patch 389 SHA256 8217a2f5b4d5cefb47d9f7d01561de0e2e56a57c4a808420bf6f3ff7e9872268 SHA512 db3261f7d1e1c17fc5496920ea7ff6ecf18b11cf0898783298ff03e62a8b5b703a5e2f1ceb887a2276248bc9df49d10ed7b99a63ee31b3ad5e97a3b6d7ad6614 WHIRLPOOL 76885ca75c805b583792b23c8f9260e62562a7ee0988150789f4bb269742e1a8700a9e108c64bcb7f7cfc6938a4aa48172967db18ae967ee27279629cec3dd38
AUX DirectFB-1.6.3-pkgconfig.patch 664 SHA256 5e77090304e4096665728a1c24f251fff3e97a693692afb12986ba5565ac96f6 SHA512 1ce162ef7af5ab7b6efcdb786e9e89d569051f2009d1144744befed57ae36109771284b302438c882b550e09a3ced814b550fa039306b4f37c7e1b68675943a7 WHIRLPOOL f5185c2c4b5f1d1252b0067734a4f07299640cbeea67db06da63de96a1ec0d287c4c111e0b6f2621d3ab2a3775e57dd295dade01eecad3ea7ba133e6ff35b37f
AUX DirectFB-1.6.3-setregion.patch 3812 SHA256 35c1e46e49d8b9880e177272b83a2fb47b9eed5346bc1ac36697e23c3f0c967c SHA512 98510a4a40daa46c9d5aa824a09584ab2d1e4a0a5b885fc2893e8af99b16317e5c89279f2889d94545451b63039d24909e8ee051788bce704d403e3fb7ef46af WHIRLPOOL bc2b84641ce91eff97a87265a44aea7132dbe777a0ab9ddef701d706962879fcc390fff4a7194653f903d4a0a038b22f6bc125a4efdb3291a8d14edc35136a29
+AUX DirectFB-1.7.1-build.patch 839 SHA256 3705a87656ac9d3383a5a9296f9290fc6fe54d99f22747ad2a63116a89bca71a SHA512 51a3a88274de35798f93b76accdb345e015da0781218393d5271835ae7c64ff1e38b5b9fe96281511c0057f12e9a952bb6dbba2c54d3f940ace6e1f57d9d1114 WHIRLPOOL 432df15397af292527d9386c7805de4f926dafb06e8bf2df0282eea00a39b82657bde96c417006eabe2330fb1cf6936708b004610e05056d68d86b3cdd7e0865
+AUX DirectFB-1.7.1-flags.patch 1990 SHA256 bf551a1825d66850dbe14566ddde6ed028cf80401d6013a30e09cfd45201d16d SHA512 fa738fb1baa8483f30a9a15e20b2eaedaf2006b5e3faca97402c37ff82097fb64827e125e7fc8b46bf3d114245a9df7ef3042ff8e34a54cfd0884dcdd72c7b95 WHIRLPOOL 1911136e75339d2ed4a0896b4099ef833fc274c79d895b2466d17f78cd13718dcf964055a834b880c1397809ffa02cfa53d92aa9eeacb7934a3ec51bef9de1e2
DIST DirectFB-1.4.9.tar.gz 3095137 SHA256 988a40dbc81fe1ecaf69a3581ed49bf4f6bbb584cb54de24cba154d3ada7a228 SHA512 ec7e03f9f3bfffafd0d84676b79845fabe59d61ac278adf4e3cd03562638529a24ff76bd606c881926cae335da00f71541e2245d0aecd4af957b95ea66c7d969 WHIRLPOOL 310c079e0f396828ddfdec0695e26a04fbea2a8a9fd90066212cf70e94a371c8b0f8b29141374db788ac247a92d01e19b0d1ddc36c78beefb6cef5aeefd173e1
DIST DirectFB-1.6.3.tar.gz 4296908 SHA256 7a96aced0f69b2ec0810e9923068e61c21e6b19dd593e09394c872414df75e70 SHA512 86fb98951a4dc579b0d60e96976e6d85bf99e35f2fbd0d5f7cdc3d7c9ea0242052ff8dbb46bfb093e70439158cda37000e67d2a05265d3a6d2e7ac7231c2ebb7 WHIRLPOOL ce9d1f3a1e7e9aaed3572244390c0dec87faa5e8af1a58153ad849774e08be0037f42983852de323cab745dc6b3d018640ec2d5987270b6a4b5ab7595bbd97aa
+DIST DirectFB-1.7.1.tar.gz 5875460 SHA256 dd7de38b3cd1408411b37ca28ec73e14b7672e5e28256b7bf91826240c81f519 SHA512 caf24c04b8155b9b9dbea321c627925f60809aa7edd1ab4f9fcf28a40e14accdb2a4226f5de7a26ab5928b7df7fd85c616a966d036800ba2a675724314065982 WHIRLPOOL 9d1448b48e8fec0dac633e5afd6eb92d48edfa3874998d88d50a7dec99c89a20d738cfbcf0aef8cff346cffc0901bf5e675c6df92bbf97a35880add34877b90d
EBUILD DirectFB-1.4.9-r1.ebuild 4106 SHA256 0d929a96b66c51e6262104673ace0aeb913b3d014cb54df0ffdb5651be8abeaf SHA512 06bc862108effb7939e7428fcf725d39735ddbe5e1ceb902058dc055c52d9bf3ccb4cc4b9b307d3a8ce35e641746f3b429ac5604b4f674556b0f561dec9d6468 WHIRLPOOL 0a28e06359d23ef793ed91730d37ab25ee4f094c016f01308146dea9974ddab72c203bb6dfd5394ba35a5ae47b6490ceaee109fede823d69b361fa48481e8d9d
EBUILD DirectFB-1.6.3-r1.ebuild 5124 SHA256 583594db2858601a8d8941a3183bf067a1034aaa3fa04340258689f9575e6de1 SHA512 a4a71146240f0f3c589a97af3366e3b6948acfc2471d4d740c0d8f81dac363792694ee269131da4a779e95ac45b29a724f443b76fa48e220cb373b9dff2644c8 WHIRLPOOL 07b7d5e41ae298627266c8a7ebd40a95198c0b6a4bba6d0695c8669f424e5967280665bbb0a303c0e0408c4ee2a2a1eac3ab85b0652976dbee5786539a2891dd
-MISC ChangeLog 18672 SHA256 d2d2f1dbea88ae6ccc985905052943e85bdbd14a69893065a5ae05967f25bae2 SHA512 cb158ad051e12cea9f6963f0228eec953c3abe6417b9e298490530616c1a46230e7285a5c3d6036e63cbc5c59d1a55b48320f5dbcbc87bec3ecb0676fc86ca8e WHIRLPOOL a26b7ae5f4e3e3d09f47581d1dfd552291437d8874ca57a286fa71c25d2b918448202e930912625b0d55554830829605d3aa845f7cfb1fe0da286484be9657d3
-MISC metadata.xml 1240 SHA256 96d7a370455d9f063642951300909c5bcad226551a2e046de1798821b92d1293 SHA512 2a65df8f061b4e14e57c5a09d2578b7384d6eb6c5fbf09b46470706258982323577d0ff3ab72451637e05b9939561b0270ea5d69c385ffeaf9d9c34d4f62f1dc WHIRLPOOL f5149f43bc64b03fbc354e32f66fa0be1b5d6563492b6426124bb4baf6147c1ee2cee2f62ecb5807ce1e7528eab129d1274bfdaba47130a6111e74752785e1b8
+EBUILD DirectFB-1.7.1.ebuild 6470 SHA256 4f370ee8fa9582869836a9b4b3c1918edd82d19b2793bb84920e2a8fe61db6cc SHA512 46df49dc024a09dcfebcf85133664a53598ca59b094caacb7e5fee1cafc30eb599c840540773c2d18217eb5ac48a11d2fecf0a7ef7b4fa112a63b777dd90ee03 WHIRLPOOL 0b847e8830145e8558537659ed084b62fc544b8f1ebc2ce3399ab7b097fb1abee69998cff20a3a420f597f3a82f5636710f9c0be6c217156defb2afe0965fcba
+MISC ChangeLog 18880 SHA256 330d8e673a052c4311aa017c626bf037834e8aa97749a7c93c2468fa59793320 SHA512 9659ea6a467d0ce2ba6182fc213ab65d4dbc2fce5a1d5b49d12f7d9c3b797a4df89f2e1bba188184762715037b5ca445777476aacedf5832a2e8722fa3229abc WHIRLPOOL 64327170f0ec3aa3363f2320b9f79b0036820ecb4af2a16bc0477af720f6561e84e3d3375f138f23f709e90a399a916b829b661f3228b7b337187f7531fcd72f
+MISC metadata.xml 1848 SHA256 ceb59bbcbff7faaaf7a04baec47e99bde44770fea65ea3e15e41a3722386a899 SHA512 3f227a761730195ea0f543e1097b3fa5e6dc0636241fd1e186ec3698e4e1ea3d71ebd39aa1c65b215134f089861a8b65824285d1b43d6f9e4e0cddd718ebfe5d WHIRLPOOL fef24732d41919b683b13cedbe42ca351a126ec35cd86b262827ab3395510fe577bec2121d2ebca2054a98f9021c3581cf0290daa3a77b2c902a109ac50b485d
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJRSMfRAAoJELEHsLL7fEFWlcsP/0tT3pRdGMRnucZUpDJp/SQG
-W6xlHL6Vz+/Fk/H8OOhWnAwDG+LMLpPafNIDOaUoER7S8E8mQ2BPVaKY/J1sTp9h
-FdBz5CqJpxVTQKLBFGepcvztFjdRUDKu3R/XW5qqOdkPY/lPb8TKYLb1g4SWxVBD
-Gmqv7bk0iwfCfB8vLHBEwRL94DfgQXQtWT147lJNOT/Fgqo7toUo9OqZfacfz/01
-K6XHOit+HIrcRskJP5Yf9vGsemYswRtnbDaqkcgnmZT/LQe69VJJymvvJJlsncLh
-NXaWg1iZeK0PmumIZAgD+KoKqR3nD0xyl3SDxcUWeGYe98XX/maHl7HDraTMHlI6
-OYDq7LaOQqx3psnu2hxurYJnYXGX9KIDUVWpHPYs5wyVk2K5Br6XYFByosjg5eG0
-M/fb91h4mpuxUW+0s/zQKtlTe5KRnms253U8xMBD98V1xEkDSQRzp+nagJmv2eM4
-RxbKyZGfBwGSRfIzPrACuUjMG21bP8vQntnMTG9ooLd+xz1jAKtl52EumEeAZn6c
-x6bLwZQrhE6v7+LIgYN4JPLTuJedX0d+ADfCCS3jTvaQNk7li65FjJHvMffAp4lK
-eeLUok92WFcsVoqpVrS4WxuLPZXihPBVi7bzGRstte3AGGYBkorhbkd5jk6rs3Sn
-OMWcRSSUW5RKpL289fU4
-=CwZ5
+iQEcBAEBCAAGBQJSyB+WAAoJEFpvPKfnPDWzJS0IALOQdypUucCxEvNFrY9D46hf
+OW0PKTV+qm+20qdbqBn2MEmLTOv8Gk/JYsMN+9GLXMD0yS//yg84BtG8+hPKAOhl
+0cip13C5cmn7oIn+bZfiSt4/c4dRjQq9VXZLUcZ6q1mWmJtDPOnKoFDXzXp3QULk
+vUheFy74hDN4YY3NbNcKwtHZdf+QUr6HYjlfVnjP7uwxQJpQcHphpiMlK8BjR2PP
+9mwJRYzXo1anBEyIIWYmz0dckFCF8+FsDYmn8lX5feQyuT3EUVkAJmwS2e9TkZBc
+3vREGkVmrDLKJc1blhK0ud4sk8/m+plsgRfCow+xiVHtXtRA/LOrcyaJLJhjn18=
+=UNhM
-----END PGP SIGNATURE-----
diff --git a/dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch b/dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch
new file mode 100644
index 000000000000..28c92eb79b02
--- /dev/null
+++ b/dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch
@@ -0,0 +1,27 @@
+Author: hasufell <hasufell@gentoo.org>
+Date: Sat Dec 28 23:52:03 2013 +0100
+
+ * INCLUDES is deprecated, use AM_CPPFLAGS instead
+ * add missing SVG_CFLAGS
+
+--- a/interfaces/IDirectFBImageProvider/Makefile.am
++++ b/interfaces/IDirectFBImageProvider/Makefile.am
+@@ -77,15 +77,14 @@ else
+ FFMPEG_PROVIDER_LTLIB =
+ endif
+
+-INCLUDES = \
++AM_CPPFLAGS = \
+ -I$(top_builddir)/include \
+ -I$(top_builddir)/lib \
+ -I$(top_builddir)/src \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)/lib \
+- -I$(top_srcdir)/src
+-
+-AM_CPPFLAGS = -DDATADIR=\"${RUNTIME_SYSROOT}@DATADIR@\" $(LIBJPEG_CFLAGS) $(LIBPNG_CFLAGS) $(FFMPEG_CFLAGS)
++ -I$(top_srcdir)/src \
++ -DDATADIR=\"${RUNTIME_SYSROOT}@DATADIR@\" $(LIBJPEG_CFLAGS) $(LIBPNG_CFLAGS) $(FFMPEG_CFLAGS) $(SVG_CFLAGS)
+
+ idirectfbimageprovider_LTLIBRARIES = \
+ libidirectfbimageprovider_dfiff.la \
diff --git a/dev-libs/DirectFB/files/DirectFB-1.7.1-flags.patch b/dev-libs/DirectFB/files/DirectFB-1.7.1-flags.patch
new file mode 100644
index 000000000000..65221755cb01
--- /dev/null
+++ b/dev-libs/DirectFB/files/DirectFB-1.7.1-flags.patch
@@ -0,0 +1,63 @@
+Author: hasufell <hasufell@gentoo.org>
+Date: Sat Dec 28 23:48:53 2013 +0100
+
+ * respect system flags
+ * remove Werror, it breaks the build
+
+--- a/configure.in
++++ b/configure.in
+@@ -194,12 +194,7 @@ AM_CONDITIONAL(X11VDPAU_CORE, test "$enable_x11vdpau" = "yes")
+ AC_CHECK_HEADERS(linux/compiler.h linux/unistd.h asm/page.h signal.h)
+
+
+-dnl Clear default CFLAGS
+-if test x"$CFLAGS" = x"-g -O2"; then
+- CFLAGS=
+-fi
+-
+-CFLAGS="-ffast-math -pipe $CFLAGS"
++CFLAGS="-ffast-math $CFLAGS"
+
+ DFB_INTERNAL_CFLAGS="-D_GNU_SOURCE $DFB_INTERNAL_CFLAGS"
+
+@@ -467,7 +462,7 @@ AC_ARG_ENABLE(debug,
+ [enable debugging @<:@default=no@:>@]),
+ [], [enable_debug=no])
+ if test "$enable_debug" = "yes"; then
+- CFLAGS="-g3 -O0 -fno-inline -Wno-inline $CFLAGS"
++ CFLAGS="-fno-inline -Wno-inline $CFLAGS"
+ DIRECT_BUILD_DEBUG=1
+ else
+ DIRECT_BUILD_DEBUG=0
+@@ -483,13 +478,8 @@ AC_ARG_ENABLE(debug-support,
+ [], [enable_debug_support=yes])
+ if test "$enable_debug_support" = "yes" || test "$enable_debug" = "yes"; then
+ enable_debug_support=yes
+- if test "$enable_debug" = "no"; then
+- CFLAGS="-g2 $CFLAGS"
+- fi
+- CFLAGS="-O3 $CFLAGS"
+ DIRECT_BUILD_DEBUGS=1
+ else
+- CFLAGS="-O3 -g0 $CFLAGS"
+ DIRECT_BUILD_DEBUGS=0
+ fi
+ AM_CONDITIONAL(ENABLE_DEBUGS, test "$enable_debug_support" = "yes")
+@@ -2750,8 +2750,6 @@
+
+ AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
+
+-CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
+-
+ AC_ARG_ENABLE(extra-warnings,
+ AC_HELP_STRING([--enable-extra-warnings],
+ [enable extra warnings @<:@default=no@:>@]),
+@@ -2761,7 +2759,7 @@
+ fi
+
+ if test "$GCC" = "yes"; then
+- CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -Werror-implicit-function-declaration $CFLAGS"
++ CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing $CFLAGS"
+ CXXFLAGS="-Wall -Wno-strict-aliasing $CXXFLAGS"
+ fi
+
diff --git a/dev-libs/DirectFB/metadata.xml b/dev-libs/DirectFB/metadata.xml
index 1eb87809b84e..383c2631e4c6 100644
--- a/dev-libs/DirectFB/metadata.xml
+++ b/dev-libs/DirectFB/metadata.xml
@@ -3,22 +3,39 @@
<pkgmetadata>
<herd>games</herd>
<longdescription>
- DirectFB is a thin library that provides hardware graphics acceleration,
- input device handling and abstraction, integrated windowing system with
- support for translucent windows and multiple display layers on top of the
- Linux Framebuffer Device. It is a complete hardware abstraction layer with
- software fallbacks for every graphics operation that is not supported by the
- underlying hardware. DirectFB adds graphical power to embedded systems and
- sets a new standard for graphics under Linux
+ DirectFB is a thin library that provides hardware graphics
+ acceleration, input device handling and abstraction, integrated
+ windowing system with support for translucent windows and
+ multiple display layers on top of the Linux Framebuffer Device.
+ It is a complete hardware abstraction layer with software
+ fallbacks for every graphics operation that is not supported
+ by the underlying hardware. DirectFB adds graphical power to
+ embedded systems and sets a new standard for graphics under
+ Linux.
</longdescription>
<use>
<flag name="bmp">build BMP image provider</flag>
+ <flag name="divine">enable DiVine</flag>
+ <flag name="drmkms">build with DRM/KMS support</flag>
<flag name="dynload">enable dynload support</flag>
+ <flag name="egl">build with EGL support</flag>
+ <flag name="fusiondale">enable FusionDale</flag>
+ <flag name="fusionsound">enable FusionSound</flag>
<flag name="gles2">build gles2 gfxdriver</flag>
<flag name="imlib2">build Imlib2 image provider</flag>
- <flag name="input_hub">provides an asynchronous interface to the input devices available and those being added/removed</flag>
+ <flag name="input_hub">provides an asynchronous interface
+ to the input devices available and those being
+ added/removed</flag>
<flag name="mpeg2">build MPEG2 image provider</flag>
+ <flag name="mpeg3">build Libmpeg3 video provider</flag>
<flag name="multicore">enable multicore support</flag>
<flag name="pnm">build PNM (PBM/PGM/PPM) image provider</flag>
+ <flag name="sawman">enable SaWMan (window manager and
+ application manager)</flag>
+ <flag name="swfdec">build Swfdec (Flash decoder) video
+ provider</flag>
+ <flag name="tremor">build Ogg/Vorbis music provider using
+ Tremor</flag>
+ <flag name="webp">build WebP image provider</flag>
</use>
</pkgmetadata>