1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # kate: backspace-indents true; indent-pasted-text true; indent-width 4; keep-extra-spaces true; remove-trailing-spaces modified; replace-tabs true; replace-tabs-save true; syntax Tcl/Tk; tab-indents true; tab-width 4; |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | fetch.type bzr |
---|
7 | bzr.url lp:qarte |
---|
8 | bzr.revision 146 |
---|
9 | |
---|
10 | name qarte |
---|
11 | version 2.1.0 |
---|
12 | |
---|
13 | categories python kde kde4 |
---|
14 | |
---|
15 | description Qarte allow you to browse the archives of the Arte+7 and ArteLiveWeb \ |
---|
16 | sites and download the available videos. |
---|
17 | long_description ${description} |
---|
18 | |
---|
19 | platforms darwin |
---|
20 | license GPL-3 |
---|
21 | maintainers gmail.com:rjvbertin |
---|
22 | |
---|
23 | homepage https://launchpad.net/qarte |
---|
24 | |
---|
25 | depends_run-append port:python27 port:py27-pykde4 port:rtmpdump |
---|
26 | |
---|
27 | variant notify description {Runtime support for desktop notifications} { |
---|
28 | # specify py27-pygtk as an explicit dependency so interested users |
---|
29 | # know they will potentially be pulling in GTk2 |
---|
30 | depends_run-append port:py27-pygtk port:py27-notify-python |
---|
31 | } |
---|
32 | |
---|
33 | use_configure no |
---|
34 | |
---|
35 | patchfiles-append fix_unicode_issues.diff |
---|
36 | |
---|
37 | post-patch { |
---|
38 | reinplace -W ${build.dir} "s|/usr/bin/qarte|${prefix}/bin/qarte|g" differedTask.py |
---|
39 | reinplace -W ${build.dir} "s|#\!/usr/bin/env python|#\!${prefix}/bin/python2.7|" qarte.py |
---|
40 | reinplace -W ${build.dir} "s|#\! /usr/bin/python|#\!${prefix}/bin/python2.7|" qarte |
---|
41 | reinplace -W ${build.dir} "s|\"/usr/share|\"${prefix}/share|" qarte |
---|
42 | reinplace -W ${build.dir} "s|'/usr/share|'${prefix}/share|" qarte qarte.py |
---|
43 | } |
---|
44 | |
---|
45 | build {} |
---|
46 | |
---|
47 | destroot { |
---|
48 | copy ${build.dir} ${destroot}${prefix}/share/qarte |
---|
49 | delete ${destroot}${prefix}/share/qarte/qarte |
---|
50 | delete -force ${destroot}${prefix}/share/qarte/.bzr |
---|
51 | xinstall -m 0755 ${build.dir}/qarte ${destroot}${prefix}/bin |
---|
52 | } |
---|
53 | |
---|
54 | livecheck.type regex |
---|
55 | livecheck.url https://code.launchpad.net/~vincent-vandevyvre/qarte/trunk |
---|
56 | livecheck.version ${bzr.revision} |
---|
57 | livecheck.regex >(\\d+)< |
---|