-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Obsession: import from MacPorts upstream
- Loading branch information
1 parent
6e23e68
commit a1d54f4
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# -*- 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 github 1.0 | ||
|
||
# The current upstream uses Qt4, however our qt4-mac at the moment is broken on aarch64. | ||
# We revert to an older version for it. Notice also, PowerPC systems should stay on Qt4. | ||
if {${os.arch} eq "arm"} { | ||
PortGroup qmake5 1.0 | ||
|
||
qt5.depends_component qtmultimedia | ||
|
||
github.setup tjohnman Obsession 8c31bea6d25c685ebaba8afb4922e3ca7f667549 | ||
version 2020.08.08 | ||
revision 0 | ||
|
||
checksums rmd160 eded338200211a3e39c576ab7be612c33be7fe6d \ | ||
sha256 54bae6e4186a354aacb0e78b76763ddc291ee6cfbf380764fb24c742226349f2 \ | ||
size 21703059 | ||
} else { | ||
PortGroup qmake 1.0 | ||
|
||
github.setup tjohnman Obsession c33eebc782d152fe88bdc9794f28c139b5c527b4 | ||
version 2023.07.12 | ||
revision 0 | ||
|
||
checksums rmd160 2857a5c3b028faa14de3908a43333d570f439207 \ | ||
sha256 56932965a3ef04ee3dbfbb2eeeea6db68acc93f4f3260d3a3a8d1f5081e4c377 \ | ||
size 21656604 | ||
|
||
depends_build port:qt4-mac | ||
} | ||
|
||
categories www hotline | ||
license GPL-3 | ||
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer | ||
|
||
description A Hotline client written in Qt featuring Shift-JIS support and other stuff. | ||
long_description The Obsession Hotline client aims to be a modern alternative for macOS, Linux and Windows users. \ | ||
It supports Shift-JIS encoding for Japanese users or for browsing Japanese servers. \ | ||
It is written using Qt and should compile and work out of the box on macOS, Linux and Windows. | ||
|
||
# error: ISO C++ forbids initialization of member ‘encryption’ | ||
# https://github.com/tjohnman/Obsession/issues/41 | ||
compiler.cxx_standard 2011 | ||
|
||
destroot { | ||
move ${worksrcpath}/Obsession.app ${destroot}${applications_dir} | ||
} |