Skip to content

Commit af38682

Browse files
committed
wip
1 parent c2b4f84 commit af38682

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

brewkit/unarchive.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ export default async function (
4040
if (!url.endsWith(".zip")) {
4141
const [cmd, ...args] = mktar(url, stripComponents);
4242

43-
console.error("HI", Deno.env.get("PATH"));
44-
for await (const path of new Path(Deno.env.get("PKGX_BIN")!).ls()) {
45-
console.error("HII", path);
46-
}
47-
console.error(cmd, args);
43+
// console.error("HI", Deno.env.get("PATH"));
44+
// for await (const path of new Path(Deno.env.get("PKGX_BIN")!).ls()) {
45+
// console.error("HII", path);
46+
// }
47+
// console.error(cmd, args);
4848

4949
const tar = new Deno.Command(cmd, {
5050
args: args,

projects/simplesystems.org/libtiff/build.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,10 @@ export default async function ({ prefix, version, deps, tag, props }: BuildOptio
1313
--without-x
1414
`;
1515
run`make --jobs ${navigator.hardwareConcurrency} install`;
16+
17+
// the built-in cmake detection for libtiff is easily confused
18+
// we see this a lot in GitHub Actions
19+
prefix.lib.join("cmake/tiff/tiff-config.cmake").mkparent().write(
20+
props.join("tiff-config.cmake.in").read().replace("{{version}}", `${version}`)
21+
);
1622
}

projects/simplesystems.org/libtiff/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ programs:
1111

1212
dependencies:
1313
facebook.com/zstd: ^1
14-
libjpeg-turbo.org: ^2,^3
14+
libjpeg-turbo.org: ^3
1515

1616
linux:
1717
dependencies:
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include("${CMAKE_CURRENT_LIST_DIR}/TIFFTargets.cmake")
2+
set(TIFF_VERSION {{version}})

0 commit comments

Comments
 (0)