Lines 7-13
Link Here
|
7 |
VALA_USE_DEPEND="vapigen" |
7 |
VALA_USE_DEPEND="vapigen" |
8 |
VALA_MIN_API_VERSION="0.16" |
8 |
VALA_MIN_API_VERSION="0.16" |
9 |
|
9 |
|
10 |
inherit gnome2 vala virtualx |
10 |
inherit gnome2 vala virtualx autotools |
11 |
|
11 |
|
12 |
DESCRIPTION="Manages, extracts and handles media art caches" |
12 |
DESCRIPTION="Manages, extracts and handles media art caches" |
13 |
HOMEPAGE="https://github.com/curlybeast/libmediaart" |
13 |
HOMEPAGE="https://github.com/curlybeast/libmediaart" |
Lines 35-48
Link Here
|
35 |
" |
35 |
" |
36 |
|
36 |
|
37 |
src_prepare() { |
37 |
src_prepare() { |
|
|
38 |
epatch ${FILESDIR}/${PN}-qt-version-automagic-fix.patch || die "Patching failed" |
39 |
eautoconf |
38 |
use vala && vala_src_prepare |
40 |
use vala && vala_src_prepare |
39 |
gnome2_src_prepare |
41 |
gnome2_src_prepare |
40 |
} |
42 |
} |
41 |
|
43 |
|
42 |
src_configure() { |
44 |
src_configure() { |
43 |
local myconf="" |
45 |
local myconf="" |
44 |
if use qt4 -o use qt5 ; then |
46 |
if use qt4; then |
45 |
myconf="${myconf} --enable-qt" |
47 |
myconf="${myconf} --enable-qt --with-qt-version=4" |
|
|
48 |
elif use qt5; then |
49 |
myconf="${myconf} --enable-qt --with-qt-version=5" |
46 |
else |
50 |
else |
47 |
myconf="${myconf} --disable-qt" |
51 |
myconf="${myconf} --disable-qt" |
48 |
fi |
52 |
fi |