| 1 |
kensington |
1.1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
pesa |
1.2 |
# $Header: /var/cvsroot/gentoo-x86/app-cdr/acetoneiso/acetoneiso-2.3.ebuild,v 1.1 2012/05/07 22:41:40 kensington Exp $
|
| 4 |
kensington |
1.1 |
|
| 5 |
|
|
EAPI=4
|
| 6 |
|
|
MY_P=${PN}_${PV}
|
| 7 |
|
|
|
| 8 |
|
|
inherit flag-o-matic qt4-r2
|
| 9 |
|
|
|
| 10 |
|
|
DESCRIPTION="a feature-rich and complete software application to manage CD/DVD images"
|
| 11 |
|
|
HOMEPAGE="http://www.acetoneteam.org/"
|
| 12 |
|
|
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
| 13 |
|
|
|
| 14 |
|
|
LICENSE="GPL-3"
|
| 15 |
|
|
SLOT="0"
|
| 16 |
|
|
KEYWORDS="~amd64 ~x86"
|
| 17 |
|
|
IUSE="kde"
|
| 18 |
|
|
|
| 19 |
|
|
DEPEND="x11-libs/qt-core:4
|
| 20 |
|
|
x11-libs/qt-dbus:4
|
| 21 |
|
|
x11-libs/qt-gui:4
|
| 22 |
|
|
x11-libs/qt-webkit:4
|
| 23 |
|
|
kde? ( media-libs/phonon )
|
| 24 |
|
|
!kde? ( || ( x11-libs/qt-phonon:4 media-libs/phonon ) )"
|
| 25 |
|
|
RDEPEND="${DEPEND}
|
| 26 |
|
|
sys-fs/fuseiso"
|
| 27 |
|
|
|
| 28 |
|
|
S=${WORKDIR}/${MY_P}/${PN}
|
| 29 |
pesa |
1.2 |
DOCS=(../AUTHORS ../CHANGELOG ../FEATURES ../README)
|
| 30 |
kensington |
1.1 |
|
| 31 |
|
|
src_prepare() {
|
| 32 |
|
|
sed -i -e 's:unrar-nonfree:unrar:g' sources/compress.h locale/*.ts || die
|
| 33 |
|
|
sed -i -e 's:include <Phonon/:include <:' sources/* || die "phonon sed failed"
|
| 34 |
|
|
}
|
| 35 |
|
|
|
| 36 |
|
|
src_configure() {
|
| 37 |
pesa |
1.2 |
append-cxxflags -I/usr/include/KDE/Phonon
|
| 38 |
|
|
|
| 39 |
kensington |
1.1 |
qt4-r2_src_configure
|
| 40 |
|
|
}
|