Commit Graph

15 Commits

Author SHA1 Message Date
LilyWangLL
1028f966a3
[irrlicht] Add the remind of libraries which needed by Linux (#21511)
* [irrlicht] Add the remind of libraries which needed by Linux

* update version

* [irrlicht] update mesa

* update version

* update version

* update portfile.cmake

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-01-20 10:30:30 -08:00
Billy O'Neal
b295670e4b
Bulk convert control files. (#19986)
```
function Convert-Control {
    Param($full)
    .\vcpkg.exe format-manifest $full
    $root = $full.Substring(0, $full.Length - 7) # CONTROL
    $new = $root + 'vcpkg.json'
    $content = Get-Content -Raw $new
    $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100
    $oldVersion = $asJson['port-version']
    if ($null -eq $oldVersion) {
        $oldVersionFull = $asJson['version-string']
        Write-Host "Got version $oldVersionFull"
        $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$')
        if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) {
            $newFullVersion = [string]$match.Groups[1].Value
            $oldVersion = [int]$match.Groups[2].Value
            Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion"
            $newVersion = $oldVersion + 1
            $asJson['version-string'] = $newFullVersion
            Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion"
        } else {
            Write-Host "No previous version for $full -- setting 1"
            $newVersion = 1
        }
    } else {
        $newVersion = [int]$oldVersion + 1
        Write-Host "New version for $full : $newVersion"
    }

    $asJson['port-version'] = $newVersion

    $content = ConvertTo-Json $asJson -Depth 100
    Set-Content -Path $new -Value $content
    .\vcpkg.exe format-manifest $new
}

Get-ChildItem ports\CONTROL -Recurse | Foreach-Object {
    Convert-Control $_.FullName
}

git commit -am "this message"
.\vcpkg.exe x-add-version -all
git commit -a --amend
```
2021-09-09 01:24:04 -07:00
Artem Shubovych
5fa8c717ea
[irrlicht] Add OSX support (#18725)
* Fix Irrlicht compilation on OSX

* Update port description

* Update portfile instructions

* Update version

* Fix patch files

* Add missing cmake dependencies

* Remove obsolete comment

* Update version

* Remove OBJCXX language from project definition to prevent Windows builds from failing

* Update versions

* Code review tweaks

* Update version

* Update versions/i-/irrlicht.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Fix qt5-3d build failure on OSX

* Update qt5-3d version

* Update port-version for qt5-3d

* Update version for qt5-3d

* [qt5-3d] Revert modification to previous version entry

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-07-06 13:51:11 -07:00
Jonas Karlsson
58fc7e5c01
[irrlicht] Patch moved sysctl.h header file (#13137)
Sysctl has been deprecated for a while and in newer versions of glibc it
is removed which leads to a compilation error on modern Linux. This is
fixed in SVN trunk of irrlich so I copied the include guards from there.
In this case sysctl headers are only loaded for OS X where they are also
actually used.
2020-08-25 14:47:28 -07:00
Jack·Boos·Yu
21b56d9929
[vcpkg_from_sourceforge] Add retry mirror function (2/2) (#12018) 2020-07-03 09:36:40 -07:00
Jack·Boos·Yu
a0e0c57f86
[vcpkg] Add vcpkg_from_sourceforge (1/2) (#11899) 2020-06-26 15:06:30 -07:00
Phoebe
cb97769f89
[irrlicht] Add Supports and fix environment variable reference (#11852) 2020-06-11 02:12:09 -07:00
DailyShana
1be75a28bf
[irrlicht] add feature to support unicode path on windows (#9902)
* [irrlicht] add feature to support unicode path on windows

* use vcpkg_check_features

* fix tools feature
2020-02-13 23:00:31 -08:00
Jonas Karlsson
17e9132f73 [irrlicht] do not build exisiting dependencies
Since libjpeg, libpng, zlib and bzlib are provided as dependencies
through vcpkg, we disable building them in irrlicht. This fixes a
runtime error steming from a version mismatch between the libjpeg
versions provided by irrlicht and vcpkg respectively
2019-10-09 22:06:32 +02:00
Jonas Karlsson
66cfb24adf [irrlicht] Reorder link libraries
Since libpng depends on zlib it needs to be linked before so that the needed zlib symbols are found
2019-10-08 14:34:30 +02:00
Phoebe
33f15e40e8 modernize many ports (#7986)
* modernize many ports

* Update the code to handle copyright

* Retriger to build qt5-gamepad
2019-09-05 10:43:09 -07:00
DailyShana
073e0e4306 Revert "[irrlicht] use unicode path on windows (#7354)"
This reverts commit 22be764ecc.
2019-08-16 16:19:18 +02:00
DailyShana
22be764ecc [irrlicht] use unicode path on windows (#7354) 2019-07-21 23:15:48 -07:00
DailyShana
835d3de78b add vcpkg-cmake-wrapper for irrlicht (#7296) 2019-07-17 16:26:18 -07:00
adrido
ecff2997f6 [Irrlicht] Add new port (#5431) 2019-02-25 13:51:13 -08:00