Commit Graph

9 Commits

Author SHA1 Message Date
fwcd
3d6032468a
[libmad] Add aso to default features (#37154)
A small follow-up to #37088, which unintentionally disabled asm
optimizations on non-WASM platforms.

This PR adds `aso` to the set of default features, which should fix
this.

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-03-05 23:36:39 -08:00
fwcd
431aa71ec4
[libmad] Fix WASM build by disabling asm-based optimizations (#37088)
Fixes #37087

This disables architecture-specific optimizations when targeting WASM.
The root issue is that `libmad`'s CMake configuration seems to detect
WASM as an Intel CPU (via `CMAKE_SYSTEM_PROCESSOR`) and then tries to
use arch-specific assembly, which results in the build errors from the
linked issue.

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-03-05 02:03:30 -08:00
MonicaLiu
89c0f688b8
[libmad] Fix hash (#36375)
* fix libmad hash

* update version

* use vcpkg_from_git

* update git-tree

* undo vcpkg_from_git

* update git-tree

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-01-31 14:45:22 -08:00
Avery King
e5e9f2f145
[libmad] update to 0.16.4 (#35898)
* [libmad] update to 0.16.4

Switches libmad to Tenacity's maintained version.

Signed-off-by: Avery King <avery98@pm.me>

* update filename

Co-authored-by: Kai Pastor <dg0yt@darc.de>

* update version db

---------

Signed-off-by: Avery King <avery98@pm.me>
Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
Co-authored-by: Kai Pastor <dg0yt@darc.de>
Co-authored-by: Javier Matos Denizac <javiermat@microsoft.com>
2024-01-24 13:31:39 -08:00
Daniel Schürmann
4d2e0b1a70
[libmad] Detect the FPM flag according to the CMAKE_SYSTEM_PROCESSOR (#33490) 2023-09-20 10:10:28 -07:00
d10sfan
acdc823534
[libmad] Add dynamic support (#31350)
* [libmad] Add dynamic building

* Update version

* Fix version

* Fixes to use vcpkg concepts

* Update version

* change to mad

* Update version

* PR fixes

* Update version

* Add version

* Update version
2023-05-11 11:16:10 -07:00
autoantwort
5b11232d00
[many-ports] Don't use deprecated functions (autogenerated) (#26981)
* [libuvc,qt5-virtualkeyboard] remove duplicated dependency entry

* [many-ports] don't use deprecated functions (autogenerated)

* atkmm: Fix license.
gperftools: Reformat vcpkg_check_features call.
gsl: Fix license.
libpff: Fix license.
pangomm: Fix license.
qtbase: Revert, only comment changes.
type-lite: Reformat vcpkg_check_features and actually use the feature options.

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-04-13 09:13:15 -07:00
Jack·Boos·Yu
8ead9c2674
[many ports]switch to vcpkg-cmake / vckg-cmake-config part 3 (#29883)
* [many ports]switch to vcpkg-cmake / vckg-cmake-config part 3

* version

* typo

* version

* typo

* version

* Fix params

* version

* deprecated vcpkg_extract_source_archive_ex

* version

* fix arguments

* version

* Rename argument

* version

* Deprecate vcpkg_extract_source_archive_ex

* version

---------

Co-authored-by: jyu49 <yu_jack@apple.com>
2023-03-07 14:14:52 -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