View | Details | Raw Unified | Return to bug 40310
Collapse All | Expand All

(-)glrp.spec~ (-5 / +6 lines)
Lines 9-18 Source0: greatlittleradioplayer_%version Link Here
9
9
10
Patch0:		greatlittleradioplayer_1.4.6_fix_phonon_includes.diff
10
Patch0:		greatlittleradioplayer_1.4.6_fix_phonon_includes.diff
11
Patch1:		greatlittleradioplayer_1.4.5_fix_desktop.diff
11
Patch1:		greatlittleradioplayer_1.4.5_fix_desktop.diff
12
Patch2:		alt-qt5.patch
12
13
13
BuildRequires:	gcc-c++ libqt4-devel
14
BuildRequires:	qt5-base-devel qt5-tools
14
15
15
Requires:	phonon-backend-5-gstreamer
16
Requires:	qt5-phonon-backend-gstreamer
16
17
17
%description
18
%description
18
A robust internet radio station streamer. It connects to web sites
19
A robust internet radio station streamer. It connects to web sites
Lines 24-35 from that locations. Link Here
24
chmod -R -x ./*.* ./language/*.* ./styles/*.* ./styles/images/* ./styles/thumbnails/*
25
chmod -R -x ./*.* ./language/*.* ./styles/*.* ./styles/images/* ./styles/thumbnails/*
25
%patch0 -p1
26
%patch0 -p1
26
%patch1 -p1
27
%patch1 -p1
27
28
%patch2 -p1
28
%build
29
# change ugly dir for files
29
# change ugly dir for files
30
find -type f -name \* -exec sed -i -r 's|/opt/extras.ubuntu.com|%_datadir|g' {} \;
30
find -type f -name \* -exec sed -i -r 's|/opt/extras.ubuntu.com|%_datadir|g' {} \;
31
31
32
qmake-qt4 "QMAKE_CFLAGS+=%optflags -I/usr/include/kde4" "QMAKE_CXXFLAGS+=%optflags -I/usr/include/kde4"
32
%build
33
%qmake_qt5
33
%make_build
34
%make_build
34
35
35
%install
36
%install

Return to bug 40310