| 21 | | checksums rmd160 cd98d20f90972899018649fdb2c8a7ed32d6b437 \ |
| 22 | | sha256 80b72a9092f540dd0a2abd2898328f3d5f9febfa073b0b1d44592a050a99d2b1 |
| | 16 | #checksums rmd160 b85b2a248795d72087a9d50479f26f3a59b73e29 \ |
| | 17 | # sha256 f819cbd6296e1e19579e365902f7930ec8571e8cbb08718484091a795f70587e |
| | 18 | checksums rmd160 9c0ec7ef27e925c207e769edc225b1d7202c7e37 \ |
| | 19 | sha256 20e0f71f2beb4f859db8385079a13aef5473863ee6f27aad7b065aa7bfe931e0 |
| | 20 | |
| | 21 | depends_lib-append port:gstreamer1-gst-plugins-good |
| | 22 | |
| | 23 | subport qt5-${name} { |
| | 24 | replaced_by ${name}-qt5 |
| | 25 | PortGroup obsolete 1.0 |
| | 26 | } |
| | 27 | |
| | 28 | subport ${name}-qt5 { |
| | 29 | PortGroup qt5 1.0 |
| | 30 | PortGroup cmake 1.0 |
| | 31 | categories audio kde kf5 |
| | 32 | long_description A GStreamer backend for the Phonon4Qt5 multimedia library. |
| | 33 | depends_lib-append port:phonon-qt5 |
| | 34 | |
| | 35 | configure.args-append -DPHONON_BUILD_PHONON4QT5:BOOL=ON |
| | 36 | post-destroot { |
| | 37 | delete ${destroot}${prefix}/share/icons |
| | 38 | } |
| | 39 | } |
| | 40 | |
| | 41 | if {${subport} ne "${name}-qt5"} { |
| | 42 | PortGroup qt4 1.0 |
| | 43 | PortGroup cmake 1.0 |
| | 44 | categories audio kde kde4 |
| | 45 | long_description A GStreamer backend for the Phonon multimedia library. |
| | 46 | depends_lib-append port:phonon port:automoc |
| | 47 | |
| | 48 | configure.args-append -DPhonon_DIR=${qt_cmake_module_dir}/phonon |
| | 49 | post-destroot { |
| | 50 | if {[file exists ${qt_plugins_dir}] && ![file exists ${qt_plugins_dir}/phonon_backend]} { |
| | 51 | xinstall -m 755 -d ${destroot}${qt_plugins_dir} |
| | 52 | ln -s ${prefix}/lib/kde4/plugins/phonon_backend ${destroot}${qt_plugins_dir} |
| | 53 | } |
| | 54 | } |
| | 55 | } |