Ticket #46558: PBGS-482.diff
File PBGS-482.diff, 2.8 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
Portfile
old new 2 2 # $Id: 3 3 4 4 PortSystem 1.0 5 PortGroup qt4 1.06 PortGroup cmake 1.07 5 8 6 name phonon-backend-gstreamer 9 7 version 4.8.2 10 8 revision 2 11 categories audio kde kde412 9 license {LGPL-2.1 LGPL-3} 13 10 maintainers michaelld openmaintainer 14 11 description GStreamer backend for Phonon 15 long_description A GStreamer backend for the Phonon multimedia library.16 12 platforms darwin 17 13 homepage http://phonon.kde.org 18 14 master_sites kde:stable/phonon/${name}/${version}/src 19 15 use_xz yes 20 16 distname phonon-backend-gstreamer-${version} 17 #checksums rmd160 b85b2a248795d72087a9d50479f26f3a59b73e29 \ 18 # sha256 f819cbd6296e1e19579e365902f7930ec8571e8cbb08718484091a795f70587e 21 19 checksums rmd160 9c0ec7ef27e925c207e769edc225b1d7202c7e37 \ 22 20 sha256 20e0f71f2beb4f859db8385079a13aef5473863ee6f27aad7b065aa7bfe931e0 23 21 24 depends_lib-append port: phonon port:gstreamer1-gst-plugins-base22 depends_lib-append port:gstreamer1-gst-plugins-good 25 23 26 depends_build-append port:automoc 24 subport qt5-${name} { 25 replaced_by ${name}-qt5 26 PortGroup obsolete 1.0 27 } 28 29 subport ${name}-qt5 { 30 PortGroup qt5 1.0 31 PortGroup cmake 1.0 32 categories audio kde kf5 33 long_description A GStreamer backend for the Phonon4Qt5 multimedia library. 34 depends_lib-append port:phonon-qt5 35 36 configure.args-append -DPHONON_BUILD_PHONON4QT5:BOOL=ON 37 post-destroot { 38 delete ${destroot}${prefix}/share/icons 39 } 40 } 41 42 if {${subport} ne "${name}-qt5"} { 43 PortGroup qt4 1.0 44 PortGroup cmake 1.0 45 categories audio kde kde4 46 long_description A GStreamer backend for the Phonon multimedia library. 47 depends_lib-append port:phonon port:automoc 48 49 configure.args-append -DPhonon_DIR=${qt_cmake_module_dir}/phonon 50 post-destroot { 51 if {[file exists ${qt_plugins_dir}] && ![file exists ${qt_plugins_dir}/phonon_backend]} { 52 xinstall -m 755 -d ${destroot}${qt_plugins_dir} 53 ln -s ${prefix}/lib/kde4/plugins/phonon_backend ${destroot}${qt_plugins_dir} 54 } 55 } 56 } 27 57 28 # do VPATH (out of source tree) build 29 30 cmake.out_of_source yes 31 32 configure.args-append -DPhonon_DIR=${cmake_share_module_dir}/phonon 33 34 patchfiles phononBGSTr-avoid-x11renderer.patch 58 patchfiles-append phononBGSTr-avoid-x11renderer.patch 35 59 36 60 livecheck.type regex 37 61 livecheck.url http://www.gtlib.gatech.edu/pub/kde/stable/phonon/${name}/