Lines 9-23
Link Here
|
9 |
LICENSE="GPL-2" |
9 |
LICENSE="GPL-2" |
10 |
SLOT="0" |
10 |
SLOT="0" |
11 |
KEYWORDS="~amd64 ~x86" |
11 |
KEYWORDS="~amd64 ~x86" |
12 |
IUSE="audiofile" |
12 |
IUSE="audiofile gcrypt" |
13 |
|
13 |
|
14 |
RDEPEND=">=app-emulation/libspectrum-0.5 |
14 |
RDEPEND=">=app-emulation/libspectrum-1.0.0 |
15 |
audiofile? ( >=media-libs/audiofile-0.2.3 )" |
15 |
audiofile? ( >=media-libs/audiofile-0.2.3 ) |
|
|
16 |
gcrypt? ( dev-libs/libgcrypt )" |
16 |
DEPEND="${RDEPEND} |
17 |
DEPEND="${RDEPEND} |
17 |
dev-util/pkgconfig" |
18 |
dev-util/pkgconfig" |
18 |
|
19 |
|
|
|
20 |
src_unpack () { |
21 |
unpack ${A} |
22 |
cd "${S}" |
23 |
epatch "${FILESDIR}/${P}-libgcrypt.patch" |
24 |
eautoreconf |
25 |
} |
26 |
|
19 |
src_compile() { |
27 |
src_compile() { |
20 |
econf $(use_with audiofile ) || die "Configure failed!" |
28 |
econf \ |
|
|
29 |
$(use_with audiofile ) \ |
30 |
$(use_with gcrypt libgcrypt) \ |
31 |
|| die "Configure failed!" |
21 |
emake || die "Make failed!" |
32 |
emake || die "Make failed!" |
22 |
} |
33 |
} |
23 |
|
34 |
|