source: trunk/dports/kde/amarok/Portfile @ 119769

Last change on this file since 119769 was 119769, checked in by nicos@…, 5 years ago

amarok: suppressing mysql5 dependency, adding standard db variants

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 119769 2014-05-06 09:11:38Z nicos@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4    1.1
6
7name                amarok
8conflicts           amarok-devel
9version             2.6.0
10revision            1
11categories          kde kde4
12maintainers         nomaintainer
13license             LGPL-2.1+ GPL-2+
14description         Amarok, the world-renowned media player.
15long_description    Amarok is a music player and manager with an intuitive \
16                    interface. It provides a variety of feature which helps \
17                    to discover and manage your music.
18platforms           darwin
19homepage            http://amarok.kde.org
20master_sites        kde:stable/${name}/${version}/src/
21use_bzip2           yes
22
23checksums           rmd160  89b8e3a56390dc240efc7dddd8e97ac9e4a03127 \
24                    sha256  a91280e588181cf9363d7146f339ef527220fe0c8057f26f010f592b01fdd2c0
25
26configure.args-append   -DKDE4_BUILD_TESTS=OFF
27
28depends_lib-append  port:kde4-runtime port:kdelibs4 \
29                    port:qtscriptgenerator port:liblastfm \
30                    port:taglib port:taglib-extras \
31                    port:loudmouth port:qca port:libmtp port:libgpod
32
33patchfiles          patch-src-app_mac.cpp.diff \
34                    patch-TrayIcon.diff
35
36# prototype for 'Dynamic::BiasPtr Dynamic::AbstractBiasFactory::createFromXml(QCoreXmlStreamReader*)' does not match any in class 'Dynamic::AbstractBiasFactory'
37universal_variant   no
38
39variant mysql51 \
40   conflicts mysql55 mysql56 mariadb55 percona55 \
41   description {build with mysql51 port} {
42
43   depends_lib-append      port:mysql51
44}
45
46variant mysql55 \
47   conflicts mysql51 mysql56 mariadb55 percona55 \
48   description {build with mysql55 port} {
49
50   depends_lib-append      port:mysql55
51}
52
53variant mysql56 \
54   conflicts mysql51 mysql55 mariadb55 percona55 \
55   description {build with mysql56 port} {
56
57   depends_lib-append      port:mysql56
58}
59
60variant mariadb55 \
61   conflicts mysql51 mysql55 mysql56 percona55 \
62   description {build with mariadb port} {
63
64   depends_lib-append      port:mariadb
65}
66
67variant percona55 \
68   conflicts mysql51 mysql55 mysql56 mariadb55 \
69   description {build with percona55 port} {
70
71   depends_lib-append      port:percona
72}
73
74if {![variant_isset mysql51] && ![variant_isset mysql55] && ![variant_isset mysql56] \
75    && ![variant_isset mariadb55] && ![variant_isset percona55]} {
76    default_variants +mariadb55
77}
78
79livecheck.url       http://kde.mirrors.hoobly.com/stable/${name}
80livecheck.regex     (\\d+\\.\\d+\\.\\d+)
Note: See TracBrowser for help on using the repository browser.