Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37766295
en ru br
ALT Linux repos
5.0: 4.3.1-alt2
4.1: 4.2.0-alt0.M41.2

Group :: Graphical desktop/KDE
RPM: phonon

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 


Name: phonon
Version: 4.3.1
Release: alt2

Group: Graphical desktop/KDE
Summary: KDE4 Multimedia Framework
Url: http://phonon.kde.org/
License: LGPLv2+

#Source: ftp://ftp.kde.org/pub/kde/stable/%name/%version/%name-%version.tar.bz2

Source: %name-%version.tar.bz2
# MDK
Patch1: phonon-4.2.0-ogg-mime-type.patch
Patch2: phonon-4.3.1-set-glib-application-name.patch
Patch3: phonon-4.3.1-stream-extract-metadata.patch
Patch4: phonon-4.2.80-fix-url-parsing.patch
# ALT
Patch100: phonon-4.3.1-alt-pcspeaker-id.patch


# Automatically added by buildreq on Wed Jul 30 2008 (-bi)

#BuildRequires: automoc cmake gcc-c++ gst-plugins-devel libXScrnSaver-devel libXcomposite-devel libXpm-devel libXtst-devel libXv-devel libXxf86misc-devel libalsa-devel libbfd-devel libqt3-devel libqt4-devel libxkbfile-devel rpm-build-ruby xorg-xf86vidmodeproto-devel
BuildRequires(pre): libqt4-devel
BuildRequires: automoc cmake gcc-c++
BuildRequires: glib2-devel gstreamer-devel gst-plugins-devel
BuildRequires: xorg-devel libalsa-devel libbfd-devel
BuildRequires: kde-common-devel libxml2-devel
BuildRequires: libxine-devel

%description
Phonon is the KDE4 Multimedia Framework

%package -n libphononexperimental
Group: System/Libraries
Summary: Phonon library
Requires: libphonon = %version-%release
Conflicts: kde4libs < 4.0.81
%description -n libphononexperimental
Phonon library.

%package -n libphonon
Group: System/Libraries
Summary: Phonon library
Conflicts: kde4libs < 4.0.81
Requires: libqt4-core >= %{get_version libqt4-core}
%description -n libphonon
Phonon library.

%package -n phonon-gstreamer
Group: Sound
Summary: GStreamer backend for Phonon
Requires: libphonon = %version-%release
Requires: gst-plugins-good
Provides: phonon-backend = %version
%description -n phonon-gstreamer
GStreamer backend to Phonon.

%package -n phonon-xine
Group: Sound
Summary: Xine backend for Phonon
Requires: libphonon = %version-%release
Provides: phonon-backend = %version
Conflicts: kde4base-runtime < 4.1.50
%description -n phonon-xine
Xine backend to Phonon.

%package devel
Group: Development/KDE and QT
Summary: Header files and documentation for compiling KDE applications
#Requires: libphononexperimental = %version-%release
#Requires: libphonon = %version-%release
Conflicts: kde4libs-devel < 4.0.81
%description devel
This package includes the header files you will need to compile applications
for KDE. Also included is the KDE API documentation in HTML format for easy
browsing.


%prep
%setup -q
%patch1 -p0
%patch2 -p0
%patch3 -p0
%patch4 -p0


%build
#    -DINCLUDE_INSTALL_DIR:PATH=%_includedir \
%K4cmake \
   -DPLUGIN_INSTALL_DIR:PATH=%_qt4dir
%K4make

%install
%K4install


%files -n libphononexperimental
%_K4libdir/libphononexperimental.so.*

%files -n libphonon
%dir %_qt4dir/plugins/phonon_backend/
%_K4libdir/libphonon.so.*

%files -n phonon-gstreamer
%_qt4dir/plugins/phonon_backend/phonon_gstreamer.so
%_K4srv/phononbackends/gstreamer.desktop

%files -n phonon-xine
%_qt4dir/plugins/phonon_backend/phonon_xine.so
%_K4srv/phononbackends/xine.desktop
%_iconsdir/oxygen/*/apps/phonon-xine.*

%files devel
%_K4includedir/phonon
%_K4includedir/KDE
%_K4libdir/libphonon.so
%_K4libdir/libphononexperimental.so
%_pkgconfigdir/phonon.pc
%_K4dbus_interfaces/org.kde.Phonon.AudioOutput.xml

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin