--- libgphoto2-2.4.11.ebuild 2011-07-13 16:50:27.757068824 +0000 +++ libgphoto2-2.4.11-r1.ebuild 2011-07-13 18:45:06.054838457 +0000 @@ -17,7 +17,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc examples exif nls kernel_linux zeroconf" +IUSE="doc examples exif jpeg nls kernel_linux zeroconf" # By default, drivers for all supported cameras will be compiled. # If you want to only compile for specific camera(s), set CAMERAS @@ -55,6 +55,7 @@ net-dns/avahi[mdnsresponder-compat] net-misc/mDNSResponder ) ) exif? ( >=media-libs/libexif-0.5.9 ) + jpeg? ( virtual/jpeg ) sys-devel/libtool" DEPEND="${RDEPEND} dev-util/pkgconfig @@ -98,6 +99,8 @@ # Increase max entries from 1024 to 8192 to fix bug #291049 epatch "${FILESDIR}/${PN}-2.4.8-increase_max_entries.patch" + epatch "${FILESDIR}/x.patch" + eautoreconf # Fix bug #216206, libusb detection @@ -134,6 +137,7 @@ --without-hal \ $(use_enable nls) \ $(use_with exif libexif auto) \ + $(use_with jpeg) \ --with-drivers=${cameras} \ --with-doc-dir=/usr/share/doc/${PF} \ --with-html-dir=/usr/share/doc/${PF}/html \