View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/media-gfx/gphoto2/gphoto2-2.1.6.ebuild (-23 / +7 lines)
 Lines 17-23    Link Here 
# aalib -> needs libjpeg
# aalib -> needs libjpeg
RDEPEND=">=dev-libs/libusb-0.1.8
RDEPEND=">=dev-libs/libusb-0.1.8
	dev-libs/popt
	dev-libs/popt
	>=media-libs/libgphoto2-2.1.6
	>=media-libs/libgphoto2-2.2.0
	ncurses? ( dev-libs/cdk )
	ncurses? ( dev-libs/cdk )
	aalib? ( media-libs/aalib
	aalib? ( media-libs/aalib
		media-libs/jpeg )
		media-libs/jpeg )
 Lines 29-57    Link Here 
src_compile() {
src_compile() {
	eautoreconf
	eautoreconf
	# -pipe does no work
	# liquidx: why doesn't it work? bug #?
	# filter-flags -pipe
	local myconf
	local myconf
	use nls \
	myconf="${myconf} `use_enable nls` \
		|| myconf="${myconf} --disable-nls"
		`use_with exif` \
		`use_with readline` \
	# command-line frontend
		`use_with aalib jpeg` \
	use ncurses \
		`use_with aalib` \
		&& myconf="${myconf} --with-cdk-prefix=/usr" \
		`use_with cdk`"
		|| myconf="${myconf} --without-cdk"
	use aalib \
		&& myconf="${myconf} --with-jpeg-prefix=/usr" \
		|| myconf="${myconf} --without-aalib --without-jpeg"
	use exif \
		&& myconf="${myconf} --with-exif-prefix=/usr" \
		|| myconf="${myconf} --without-exif"
	use readline \
		||  myconf="${myconf} --without-readline"
	econf ${myconf} || die "econf failed"
	econf ${myconf} || die "econf failed"
	emake || die
	emake || die