Skip to content

Commit 94ab974

Browse files
author
Jason Mobarak
committed
Add custom ImageMagick package
1 parent 1fb710d commit 94ab974

File tree

8 files changed

+58
-0
lines changed

8 files changed

+58
-0
lines changed
4.47 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?xml version="1.0" encoding="utf-8"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="nuspec" ContentType="application/octet" /><Default Extension="ps1" ContentType="application/octet" /><Default Extension="ignore" ContentType="application/octet" /><Default Extension="psmdcp" ContentType="application/vnd.openxmlformats-package.core-properties+xml" /></Types>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.microsoft.com/packaging/2010/07/manifest" Target="/imagemagick.tool.nuspec" Id="R7c44564b8e414554" /><Relationship Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="/package/services/metadata/core-properties/81e169b5dd364cb08c2f166c42314706.psmdcp" Id="Rb2bf72fee88d4a38" /></Relationships>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3+
<metadata>
4+
<id>imagemagick.tool</id>
5+
<version>7.1.0</version>
6+
<title>ImageMagick (Portable)</title>
7+
<authors>ImageMagick Studio LLC</authors>
8+
<owners>Brian Dukes</owners>
9+
<licenseUrl>https://www.imagemagick.org/script/license.php</licenseUrl>
10+
<projectUrl>https://www.imagemagick.org/</projectUrl>
11+
<iconUrl>https://cdn.jsdelivr.net/gh/bdukes/Chocolatey-Packages@c8afd71590e0567e3c66e2a70bd6e4ca61f15715/icons/imagemagick.png</iconUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<description>ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
14+
15+
This package installs the static 16-bits-per-pixel portable version of ImageMagick.</description>
16+
<summary>ImageMagick® is a software suite to create, edit, compose, or convert bitmap images</summary>
17+
<releaseNotes>https://www.imagemagick.org/script/changelog.php</releaseNotes>
18+
<copyright>© ImageMagick Studio LLC</copyright>
19+
<tags>imagemagick images picture graphics convert</tags>
20+
<projectSourceUrl>https://github.com/ImageMagick/ImageMagick</projectSourceUrl>
21+
<packageSourceUrl>https://github.com/bdukes/Chocolatey-Packages</packageSourceUrl>
22+
<docsUrl>https://www.imagemagick.org/script/command-line-processing.php</docsUrl>
23+
<mailingListUrl>https://imagemagick.org/discourse-server/</mailingListUrl>
24+
<bugTrackerUrl>https://imagemagick.org/discourse-server/viewforum.php?f=3</bugTrackerUrl>
25+
<dependencies>
26+
<dependency id="vcredist2010" version="10.0.40219.1" />
27+
</dependencies>
28+
</metadata>
29+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="utf-8"?><coreProperties xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"><dc:creator>ImageMagick Studio LLC</dc:creator><dc:description>ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
2+
3+
This package installs the static 16-bits-per-pixel portable version of ImageMagick.</dc:description><dc:identifier>imagemagick.tool</dc:identifier><version>7.1.0</version><keywords>imagemagick images picture graphics convert</keywords><dc:title>ImageMagick (Portable)</dc:title><lastModifiedBy>choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb;Microsoft Windows NT 10.0.14393.0;.NET Framework 4</lastModifiedBy></coreProperties>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
$packageArgs = @{
2+
packageName = 'imagemagick.tool'
3+
url = 'https://github.com/swift-nav/swift-toolchains/releases/download/imagemagick-7.1.0/ImageMagick-7.1.0-portable-Q16-x86.zip'
4+
url64 = 'https://github.com/swift-nav/swift-toolchains/releases/download/imagemagick-7.1.0/ImageMagick-7.1.0-portable-Q16-x64.zip'
5+
fallbackUrl = 'https://download.imagemagick.org/ImageMagick/download/binaries/ImageMagick-7.1.0-portable-Q16-x86.zip'
6+
fallbackUrl64 = 'https://download.imagemagick.org/ImageMagick/download/binaries/ImageMagick-7.1.0-portable-Q16-x64.zip'
7+
checksum = '2CCCD00CD8E904FA749F13B40F5D22121C82395053DC07CC6327C9B408F8D513'
8+
checksum64 = 'E41595EBCB17267F0E9F52AEDB2B2DA37B0EBDEAB6722D15DF28949910E82E8E'
9+
unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
10+
checksumType = 'sha256'
11+
checksumType64 = 'sha256'
12+
}
13+
14+
try {
15+
Get-WebHeaders $packageArgs.url
16+
}
17+
catch {
18+
$packageArgs.url = $packageArgs.fallbackUrl
19+
$packageArgs.url64 = $packageArgs.fallbackUrl64
20+
}
21+
22+
Install-ChocolateyZipPackage @packageArgs

imagemagick/src/imagemagick.tool.7.1.0.nupkg/tools/ffmpeg.exe.ignore

Whitespace-only changes.

imagemagick/src/makepkg.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cd imagemagick.tool.7.1.0.nupkg
2+
7z -tzip a ..\..\imagemagick.tool.7.1.0.nupkg .

0 commit comments

Comments
 (0)