-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
36 lines (29 loc) · 1.51 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- 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
PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0
PortGroup qt4 1.0
# This is the last version to support Qt4.
# Please keep it pegged, or consider forward-porting Qt4 support into 1.3.x.
name libqtxdg-legacy
github.setup lxqt libqtxdg 1.2.0
revision 0
categories devel
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
license LGPL-2.1
conflicts libqtxdg
description Qt implementation of freedesktop.org xdg specs
long_description {*}${description}
checksums rmd160 fe28aaea91e52e8c8a4e0dd026e8f222679ca753 \
sha256 88c9b01b56fea205226b53642833963e4f27471de3b90e93e9b650ca28d098d9 \
size 55704
github.tarball_from releases
use_xz yes
# Alternative option is to use libmagic, but QtMimeTypes is the recommended one.
depends_lib-append port:qt4-mimetypes
# qt_mac_get_scalefactor() is not found; uncommenting cocoa header fixes compilation, but linking still fails.
# Anyway, it seems to have been introduced as a backport patch to support HDI displays,
# which is not of a particular concern on old systems: https://lists.qt-project.org/pipermail/development/2012-September/006624.html
patchfiles patch-qiconloader_qt4.diff
configure.args-append \
-DUSE_QT4:BOOL=ON