1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name phonon-backend-gstreamer |
---|
7 | version 4.8.2 |
---|
8 | license {LGPL-2.1 LGPL-3} |
---|
9 | maintainers michaelld openmaintainer |
---|
10 | description GStreamer backend for Phonon |
---|
11 | platforms darwin |
---|
12 | homepage http://phonon.kde.org |
---|
13 | master_sites kde:stable/phonon/${name}/${version}/src |
---|
14 | use_xz yes |
---|
15 | distname phonon-backend-gstreamer-${version} |
---|
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 | } |
---|
56 | |
---|
57 | patchfiles-append phononBGSTr-avoid-x11renderer.patch |
---|
58 | |
---|
59 | livecheck.type regex |
---|
60 | livecheck.url http://www.gtlib.gatech.edu/pub/kde/stable/phonon/${name}/ |
---|
61 | livecheck.regex "\(\\d+(?:\\.\\d+)*)\/" |
---|