Alexander Neumann
b03d383e49
[libflac] Fix pc file ( #21675 )
...
* [libflac] fix pc file; remove m flag on windows and add version
* version stuff
2021-11-29 12:02: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
cbergemann
b24be705e9
[libflac] require NASM for libflac[asm] ( #14465 )
...
* require NASM for libflac[asm]
* Increment port version number
* Update ports/libflac/portfile.cmake
Co-authored-by: BergemannC <CBergemann@nordex-online.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-10 09:34:50 -08:00
NancyLi1013
27268c700a
[libflac] Fix build error ( #14230 )
2020-10-27 20:34:03 -07:00
Long Nguyen
80ef2a3455
[flac] Disable stack smash protection and FORTIFY_SOURCE for mingw ( #12761 )
...
* [flac] Disable stack smash protection and FORTIFY_SOURCE for mingw
* Change flag injection + copyright install
2020-08-07 11:42:21 -07:00
Kevin Lu
62d4320409
[sdl2-mixer] Fix FLAC symbol export when static linking, add nativemidi default feature ( #12374 )
...
* [sdl2-mixer] Fix FLAC symbol export when static linking
Fix regression introduced by #11152
* [sdl2-mixer] Add nativemidi default feature
Closes #10318
* [libsndfile] Revert to port version 8 as version 10
* [libflac] Use BUILD_SHARED_LIBS to properly export FLAC__NO_DLL via CMake
* [libflac] Force FLAC__NO_DLL in installed headers in static triplets
* [libflac] Modify headers on installation
2020-07-31 11:23:27 -07:00
evpobr
875821cd80
[libflac] Update to 1.3.3-1 ( #11152 )
...
Update to ce6dd6b which has the following benign changes compared to 1.3.3 proper
* `std::`-ify a bunch of C library stuff
* C-cast -> `static_cast` or `reinterpret_cast`
* build system changes
* `unsigned` -> `uint32_t`
* removing UB in some shifts
* better support for powerPC and Windows
* Change out `cos(double)` for `cosf(float)` in C
* Correct `%d` to `%u` in printf
2020-05-21 11:19:21 -07:00
Michał Janiszewski
bfaf18478f
[libflac] Update libflac to 1.3.3 ( #8988 )
...
* [libflac] Update libflac to 1.3.3
* Update portfile.cmake
2019-11-21 17:03:32 -08:00
pravic
18b029a5e3
[WIP] Add a Homepage URL entry for vcpkg ports ( #2933 )
...
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
Alexander Karatarakis
0fe2068a56
[libflac] Apply patch for flac_max and flac_min
2018-10-03 22:54:39 -07:00
Robert Schumacher
827c893b8e
[sfml] Support Linux
2018-04-30 16:00:29 -07:00
Aybe
38ae2f69b7
[libflac] using #ifdef for patches instead
2017-11-21 05:46:58 +01:00
Aybe
cb30c3fd00
[libflac] patches for UWP builds
2017-11-17 00:54:14 +01:00
Alexander Karatarakis
26516fe485
vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7)
2017-09-09 00:12:54 -07:00
codicodi
f3e520b2d7
[libflac] fix build with MSBuild generator
2017-04-27 14:17:29 +02:00
Anonymous Maarten
ae57ea52f9
Escape PROJECT_SOURCE_DIR since it can contain spaces
...
fixes: nasm: error: more than one input file specified
2017-04-24 02:30:47 +02:00
codicodi
c24afa97a2
[flac] use nasm
2017-03-09 23:52:45 +01:00
codicodi
099df5267e
[libflac] bum version in CONTROL file
2017-02-25 15:28:48 +01:00
codicodi
533c60fcca
[libflac] update to 1.3.2
2017-02-25 15:25:20 +01:00
codicodi
abc8c37520
[libflac] bump version
2016-12-07 17:50:56 +01:00
codicodi
764563457f
[libflac] remove unused flags
2016-12-07 17:49:28 +01:00
codicodi
7927112acb
[libflac] link to correct version of ogg
2016-12-07 17:48:01 +01:00
Alexander Karatarakis
59587d94c7
[libflac] Fix typo
2016-12-06 14:39:17 -08:00
codicodi
f1a3424c77
[libflac] update config in static builds
...
Now static libs can be used without defining FLAC__NO_DLL by user.
2016-12-06 22:38:25 +01:00
codicodi
175bb41f82
[libflac] initial commit
2016-12-06 12:14:31 +01:00