summaryrefslogtreecommitdiff
path: root/x11-terms/ghostty
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-28 06:30:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-28 06:30:54 +0000
commit72fd2b48b7154274a1d2009cdaab54e7f49fb3aa (patch)
tree9c6ce981e8f924eb5f24e71e13c91b37aafb8616 /x11-terms/ghostty
parent721e451ec418e1712f6962404e111f0ebd487389 (diff)
gentoo auto-resync : 28:12:2024 - 06:30:54
Diffstat (limited to 'x11-terms/ghostty')
-rw-r--r--x11-terms/ghostty/Manifest37
-rw-r--r--x11-terms/ghostty/files/ghostty-1.0.0-bzip2-dependency.patch13
-rw-r--r--x11-terms/ghostty/files/ghostty-1.0.0-copy-terminfo-using-installdir.patch38
-rw-r--r--x11-terms/ghostty/ghostty-1.0.0-r1.ebuild150
-rw-r--r--x11-terms/ghostty/metadata.xml28
5 files changed, 266 insertions, 0 deletions
diff --git a/x11-terms/ghostty/Manifest b/x11-terms/ghostty/Manifest
new file mode 100644
index 000000000000..95cb7b3840a5
--- /dev/null
+++ b/x11-terms/ghostty/Manifest
@@ -0,0 +1,37 @@
+AUX ghostty-1.0.0-bzip2-dependency.patch 560 BLAKE2B f737d770da6e8a84098655d6983ccad70a22952b7bcabce9d9d34032ebb69c5427458347a4118944587b238854e1c579c923aac3e91d76f3f2660e8cf43afd35 SHA512 efde14f8d15afd7c169c30cbe5ab7ce4928ae6869e02cac4e2c8a6cac3f9604aed7bd43a40fcc975070c80802cfdcba10e63e1473e36ae2a65e9912dfee34b18
+AUX ghostty-1.0.0-copy-terminfo-using-installdir.patch 1665 BLAKE2B e657ecd41850487dfa86ac616d88eae057d8d691d4f0335dff423fb73a372f4b06c190bb1ce09ea68692e6335cec56dec3085093340189e5120ac889b0013a13 SHA512 69cf90b168c8025b918d9e289ceb6ca7a35a49919c10abc967811c8ec11bf4f8eeb9331d5c71a65a696468fc20252496ae676fe7a1b86e8c9aa477d0914cc59f
+DIST breakpad-12207fd37bb8251919c112dcdd8f616a491857b34a451f7e4486490077206dc2a1ea.tar.gz 5475126 BLAKE2B 67af8bc3227723e9056eb5d7e6f85809037d1b6f62c57bf447b04648c43c299a3840ac7a9ced2431343beb47332079c1827fd4d0a301fe0c6b24992f9b1b6fd9 SHA512 740b70daaf150a7619839f467eea6dc6d5dcd599861a977b1638c308b7902cb2de5d3927081143c2314e9b0c46c07d646ecec0e9e8d5097ddaa958766c07074d
+DIST fontconfig-12201149afb3326c56c05bb0a577f54f76ac20deece63aa2f5cd6ff31a4fa4fcb3b7.tar.gz 2122247 BLAKE2B c8f6a33b62141eb732e74194076627072fc7dca19eea797ae256e169f07e4722f47e20e65ffd3152bfb7c98eb5e8a5bc1b5d90b22640c911889c4f29fb2f7e34 SHA512 73287cc3f8f8261a27c2920b0f9430dd6e3ac8733fb2ba55e1b5934cee211023b6415e1d14ddad04ef3c7819727ed34d80aa503d2734bdfc2f1c733c4096463f
+DIST freetype-1220b81f6ecfb3fd222f76cf9106fecfa6554ab07ec7fdc4124b9bb063ae2adf969d.tar.gz 2480637 BLAKE2B 9538fe61d9255b272fb34d08adf18876f421b378a89ce13349d50a761c17b70a982588f6d94799b4229dcf850c0948e651a7acb515f61b2dccf2abdecb5f6128 SHA512 9d7600af7e981227e37585dca71fbd7bc78b367a54d7705fe03e0f5549ce49e420548fa09b21c6bb137830f779a0a0b965611f50b163297b79fdc5903b4dc11d
+DIST ghostty-1.0.0.tar.gz 24142832 BLAKE2B 205e6e3806b40c12c009332cd428518dcf49638a592561b3724b80ff6ece951a3198b9ada9ba3b13bc0b08a7571a4e23eeef1e77558d3deb04226f17d2f97a8c SHA512 3d9cf031a3441549abee35a34fa207b5d9c7829ea53d0d69f8aeaaf9f0435364fb0263e8a721a25b3b6a39941c4696211245d3f521fd314735eaed54b9ca40b1
+DIST glfw-1220736fa4ba211162c7a0e46cc8fe04d95921927688bff64ab5da7420d098a7272d.tar.gz 286801 BLAKE2B 04572843acee681ea9e83e6227602a02dee53c72ea55311c484312476511058de4341ea1f55e0204aea07930c951fd6f53ca7f4e85c5a4c5340f0bedd82cdce1 SHA512 958352bd2148fc4e349b5b4b8d7f6aae51566c1f28b56c498c9daad263806aea168b71f535ef38652e0933a102571c7a95b3bcb582ba5555d90a716042fc4495
+DIST glslang-12201278a1a05c0ce0b6eb6026c65cd3e9247aa041b1c260324bf29cee559dd23ba1.tar.gz 3842427 BLAKE2B e8eae5a6380332d437edc78447ff1c53185616adacea77d057b69488dd50caa251357cb5950349eb8355a9357b681367aa948dd178b33dd48b6d5be92451a897 SHA512 570d2ff15116f48e195c73d9be1517b05e7c37541af10f6c05779a001e2d0295725349c1f4dd0bcca6f0c7e7e48c5162a60726c3e76cf04619c8e14bd0636ab6
+DIST harfbuzz-1220b8588f106c996af10249bfa092c6fb2f35fbacb1505ef477a0b04a7dd1063122.tar.gz 36549985 BLAKE2B 541c17afc32bed24a628bb64fc8f25999c58c0877af8ee2e010b3e2d983fe8160873451d43f3eaa5b8aff3bb6514ea262effcf488a35f1da7c4356f8ccea1f26 SHA512 c90fc8f67ed6d75536a6a0d83434c51756863e51631f00fa390d124d721b003cba4739777b51ac2e9f107914eb5e2ab3daa00dab257435800bb60ff6d5dd45f6
+DIST highway-12205c83b8311a24b1d5ae6d21640df04f4b0726e314337c043cde1432758cbe165b.tar.gz 2162124 BLAKE2B e5514d9bd3187ea24bc3e612039e68014d2b16e90226e977365c72eab301174725e4a16f14ff68e2ea01da9132440884a67cbbbe9788ff2c601af1b5360efc86 SHA512 513718873ca5d1be5c781f92ef943432da4677582e15d25a247c1d3def087fdbd3fe787608d76f32a9b4f9253df88b40bd8ea570159f8106c338ba37e8a50a8d
+DIST imgui-1220bc6b9daceaf7c8c60f3c3998058045ba0c5c5f48ae255ff97776d9cd8bfc6402.tar.gz 1833808 BLAKE2B 1cde8c084b7b1ab40af78339f5af4f84895c723eb6f16bfb1657a2cccf1aff7833a15d93a7b8a3708c9cd34d39b84411573093b1d9fbaa08dbfca83414bac6c6 SHA512 d3b88faa8d0fbfbbf8f14ba06a615289b5271a5b8a191373a21c1c9f5ef87830ad2f71905e0c0083ef4709a5d599f43898e9c3d7f9558f8a15e8d25305e61819
+DIST iterm2_themes-12204358b2848ffd993d3425055bff0a5ba9b1b60bead763a6dea0517965d7290a6c.tar.gz 49324752 BLAKE2B d1b367538ebfb1566fc021ded5fd4311d6609657d64a0cc960383fcc1f683245f89bd7de59b84fa2daf12977741b0fd1efaaf8139509b4e8350556c3aaccd18a SHA512 59a2bc5cd29d04f770a92e022a98e01d0bae48bb6a6444b1e85e5acefc7cc5918b6984576260ecfa258d788d76ee98e9793ccbca1115ff1a69ba99d485d89411
+DIST libpng-1220aa013f0c83da3fb64ea6d327f9173fa008d10e28bc9349eac3463457723b1c66.tar.gz 1554715 BLAKE2B 5bce9b666030b696f6ad63885fac48a058b11a39c95fed48b582c54a28ddeeb8af553f24b857440f1bb65d318f23bcaafa40869c352c4b3f995fcb190c311cf1 SHA512 3bb2a7b73113be42b09c2116e6c6f5a7ddb4e2ab06e0b13e10b7314acdccc4bb624ff602e16140c0484f6cde80efa190296226be3da195c6926819f07c723c12
+DIST libxev-12206029de146b685739f69b10a6f08baee86b3d0a5f9a659fa2b2b66c9602078bbf.tar.gz 265341 BLAKE2B 840b43db380084fdac5c15837a00e0337803d351e98f4e1be3248a175fc3270cc538177acd2f167b1bc1d27bb77d2264a11072e5bd030ef599fdc1176f1bc663 SHA512 f614d3e54577d447b04ee8f2eded58662a809d735dad690916cccfb5b1f55f7f41ab668072991015914eb8ceb5799b35728c3a0a96baeb3df7b2db99295ab45b
+DIST libxml2-122032442d95c3b428ae8e526017fad881e7dc78eab4d558e9a58a80bfbd65a64f7d.tar.gz 3780877 BLAKE2B bf6c3732b1c7d5e7216a97662a78914bb481cb3ab0ae9999de583c8f72ce815d0e39d1176d4277a2f335d73b39bf0b5ca0f0453b394c2074798935eb974eb258 SHA512 303528ead0f020c8e172beca54d00bb1281f4080885c9f44b979158516b585d71bbcb024999a5712a850e48647b19b1f634a1428ea29f39a48e8e6cbf7c71936
+DIST mach-glfw-12206ed982e709e565d536ce930701a8c07edfd2cfdce428683f3f2a601d37696a62.tar.gz 65348 BLAKE2B 91fe56d99fa3cbe7688562f19a489628d6911b4c24db3318acf139c427058c497d38fd7c62b397886e3269da799ee74e84bf3bbc87269e26fa06cd68a28eb516 SHA512 db93baf40402e549f913630d2e9247fc3770f1e7d2ba8171dce5a01fbd23cddbe19dacf4de080a5cb76ee3702edbb48fa2006626fda14a1027d8200f7c6f3b4f
+DIST oniguruma-1220c15e72eadd0d9085a8af134904d9a0f5dfcbed5f606ad60edc60ebeccd9706bb.tar.gz 645616 BLAKE2B a2ab2e5fc99586e92d92152680043b29ee1a957fb107f2aa760b90ea141a139f41295733ddcc6d554b1e82bf33c08fc7b7a593e7c423cfd1fbd664218885caa7 SHA512 7c89247d8504c635687dc61b39b39b5afefa4851b24409a8eab31273f1cbc88f3db89095ae4b135bd034147d2616c2e18fc74887300b89532eedeab75677f437
+DIST sentry-1220446be831adcca918167647c06c7b825849fa3fba5f22da394667974537a9c77e.tar.gz 470991 BLAKE2B f299d2b87cf1f284cae20efea2bae19c9221508ee7556fe858a04bbf4f8f337f50a79b955b6601e0d86117b2018496e25f7f96082a0d970a4f8b3e03aed3af08 SHA512 28612a4358b5ec33e1e6ac434d04013dac746f8183c861afa9b6cf24e21db5f7531d8792442de83bffe56f33f7b56c5393a519b69a787501c06cdd60ece836e0
+DIST spirv_cross-1220fb3b5586e8be67bc3feb34cbe749cf42a60d628d2953632c2f8141302748c8da.tar.gz 1797806 BLAKE2B ea780443aa76f6448bf70295eeaeaf97253c3437b62fc8ca42e4cf681462105ff208a70524130a0791a204b576534804e7b02ca016b8d45e9f265f1dd24d30e7 SHA512 45e951822e2bf630190a33f863b8e05e9f12f57047736bbf973840fd06c583ab0516096c51a041934ca162bc63cf3e48e64220ed4af7c602ca1cb18bd5fe74e9
+DIST utfcpp-1220d4d18426ca72fc2b7e56ce47273149815501d0d2395c2a98c726b31ba931e641.tar.gz 34139 BLAKE2B c2058dac06b7bbedb97c18fe8a2fdfa13e45afe180d6602e8c1347db313361c94abf06514c80a308bef6f72eea63b6a7aaeaa7985925d7f5754f5210ebf040cb SHA512 49ca33bfb2ee44515f555184b51191f7b706a228fb84ddc62e1e6b59c7d69a5ff836f38694daad0012a0f651b6199451974fe44ebe80081df00cf8c2759e3249
+DIST vaxis-12200df4ebeaed45de26cb2c9f3b6f3746d8013b604e035dae658f86f586c8c91d2f.tar.gz 1181245 BLAKE2B d55d271028c9f1bb60b7888fd34236b25a529e0c07b5b08ccbb45c2d572424790fb465fa3f71e9cbfa6826247f014889a30eb014e99e1b8bb1183948bd3ff076 SHA512 84f7261884d6685505c57b334816bb640aae78b95937376c77a74055f70f2aa67b2d1cda618c5cec9bf13ad626e8a2d19c6f9f1d9d65f0853249ed159095cbd5
+DIST vaxis-1220c72c1697dd9008461ead702997a15d8a1c5810247f02e7983b9f74c6c6e4c087.tar.gz 1181259 BLAKE2B 144afef4ea62b65e0f031f6ce0bba781346c2b87075987c009a50070c49420c0348ef95772628a6393410564928942bf172591399f34ac6aa40d8a79931f19e9 SHA512 5965b77b043229dd56147f5f0be8be73a5cfa7721c9a99354c87ae5d3074f4e09483ee76a395bdafda6c9098d66c46d85ebef287b490d7a1a8f9d9f921d4460d
+DIST vulkan_headers-122004bfd4c519dadfb8e6281a42fc34fd1aa15aea654ea8a492839046f9894fa2cf.tar.gz 1106978 BLAKE2B 18d6d3c50097daa79ff5357bd9b80ce28a74c21fcd0d20c6e20652cabdaae2d57337bc30d53d1202a22a0afebbc3913366b14296263fcbd8e7a7e0cd28981bdf SHA512 18763ca16dffcbcbcdfe560e093b3aaada1fd2dfaf8f4a7c276a918ad3b817f9903ce8e5d4d0c1943d070a8a8dcb22411da3d6250fec75f6a63a3726403dbb21
+DIST wayland_headers-1220b3164434d2ec9db146a40bf3a30f490590d68fa8529776a3138074f0da2c11ca.tar.gz 119955 BLAKE2B 8c255e843e4ea8c832d87c338593e7c9f666fd0de5e1732e6f4721e15be4d4ea4e4e59f5d066ab1dfb867dd6278465f8a935092f6ab2b8a023c08eed86581474 SHA512 f7ccec6c97165b76faebe381b733748c6c86c4a0a8a61704c7caf9fa349e7d2028569182f5b673ea1f9965e0cd547eefe13d33ce830063081ef8de3dcad822e6
+DIST wuffs-12200984439edc817fbcbbaff564020e5104a0d04a2d0f53080700827052de700462.tar.gz 15406224 BLAKE2B aa5f1010df9c50b1e01dc3467755489ba1ba28629eff13f3cf3156fdcca8f2d3630585de47e20ece87b77da6be2fc1653aed5e527d6b42a05707584860173f1c SHA512 d6d248a2f50d850d5d815e302a948e217d30643cfa25d3e609574af2d85b6cc07b7cab6304d682c9dfb9a429af3a1fee0aee6626487f8733169c4ed3487d57a6
+DIST x11_headers-122089c326186c84aa2fd034b16abc38f3ebf4862d9ae106dc1847ac44f557b36465.tar.gz 595080 BLAKE2B f580f463ab3942c3581f133d53be152ca2caedff9a77dadfe3cc662aa7de7ea1a4ff8bae8af86adb3416f4d1f6672a4756a71b1c69e7e6b754b8fa2169562c62 SHA512 dd0e088f1a8221892bd932d42b3ed659526ec91601c668506d99243644d088d277306d84e2bd5c4c71e1bad2d6e5cc7354c76d23b5fcd6708bc3ee8585356629
+DIST xcode_frameworks-12202adbfecdad671d585c9a5bfcbd5cdf821726779430047742ce1bf94ad67d19cb.tar.gz 16327818 BLAKE2B 72ea66808e22a9f3f5ab9eacea83f10e2bc14eff22f28b5f1800c4c1777a6bd5d1ca0c5bc45fc48a2445b8368e5107451f9794c24c095507f1512e50acb220a9 SHA512 1f23d71ab846eb32c84fa9f193b4109b24eb8100654e84100eb2edc919e0585f0a4446992bab4fd6098504dc9687bedfda7daafa3ab85bd71ecc86d845cc1b32
+DIST z2d-12201f0d542e7541cf492a001d4d0d0155c92f58212fbcb0d224e95edeba06b5416a.tar.gz 463720 BLAKE2B b75e8f0ba91bee76ba4e8f23b9dd595c99939496dbcf5b2e817f2b342184c3f433d86dcf3d64f4c012e9e8b776ecf09098428fa613e0583380be6790c56e5f09 SHA512 1477528246ae7dae95c585b6f3ba98b2de0a0d8674a8fd899c3463a560a447a9959c0d109338c5d884f933d6ea48a6d951c6c22df4ddc7de92ea8e637e5bcb9c
+DIST zf-1220edc3b8d8bedbb50555947987e5e8e2f93871ca3c8e8d4cc8f1377c15b5dd35e8.tar.gz 31718 BLAKE2B dd246e2843a446df094c59fc956651ce84d711b03a3193a5bc5954021672219ae5017d3b2f44210fe4cfb5e51210fdf9dda693c06c1dc719fc773638f6a58c65 SHA512 93ae28652143d83839926e678e75c8d72b9c9972abf19d22e0fe68ed2cc59296adfa768f041b74e159589db5a1e977cde389a5df35faf5d091b1daa2e10f966c
+DIST zg-122055beff332830a391e9895c044d33b15ea21063779557024b46169fb1984c6e40.tar.gz 19044404 BLAKE2B b30709585bc90f01a367225d900980e4fc4aa5ae433dd2ccaf2e2f1d1320ae442a5203a0a02c1c9c30f499aeabef32f8636ccd36943002754827532c8626a871 SHA512 24cfae5bf4a034c0975e858c096f734e529bef8c0e3178f3dba783c4f50ff10c190cbf66dde7f8f45742969c64bd840aa86099b9840b040e16002958425c159d
+DIST zig-objc-1220e17e64ef0ef561b3e4b9f3a96a2494285f2ec31c097721bf8c8677ec4415c634.tar.gz 18982 BLAKE2B 1394fb47f80c6d722491584fd4110dfa0bc4ec0cabe0050ad97977167a024a8b13c057010e62626ad8a1dffc596d084f7815865a55cffd4013bdd5d7d56ec685 SHA512 f8fa9884489a0f36038d0dccf9207dd001efce47fcded5a534e183622b54bb5259fe8539bc2e8a53f87708a033f88e4fbf35921936193d27267b53cc1cebf235
+DIST zig_js-12205a66d423259567764fa0fc60c82be35365c21aeb76c5a7dc99698401f4f6fefc.tar.gz 153910 BLAKE2B c94ef46699fa3c33755335b8132ebcc76e22075d3a2f6c515f849c769708bf1daf7eafe48d4d23a8c30ba403559ac1e6e7ba036447666ecdf1494cb7034bf82e SHA512 5c6d1162ab7ff77a66f7ad4663b5e80e0df6ccbfd84170d229b42f12adaeeda03146c82952bb8fe1d847f8cdd361507893f965a1f1a069d7beb59e84c28a3e3d
+DIST zigimg-1220dd654ef941fc76fd96f9ec6adadf83f69b9887a0d3f4ee5ac0a1a3e11be35cf5.tar.gz 132016 BLAKE2B ef50ad59811637d16b8eabfa4c16243fe48ff0de032f3de405af8cfea841d6320e34b9fb6e3c5bbdd8cb90681a69c7f82e6a8d2bce264de7e931b69998180560 SHA512 188173710eeeca319338c6d35fbfb6948f6ac5f8a354492db5d32d654e684c2f441676ea0160985969128aa0489a6ce841e700c721bd7d22c45d13b48f977c33
+DIST ziglyph-12207831bce7d4abce57b5a98e8f3635811cfefd160bca022eb91fe905d36a02cf25.tar.gz 562290 BLAKE2B bc5efc55442634c17357182d71881b3ae8d92b338abaaeb25d0ec548fa4d940d0c0efd5b281167a6d02d20213261799ba3008f4513a5014cf7d9f92c7b6f0322 SHA512 b7d5502bc03a0396a064080ddaebf503ab35e13384fe3e332832f64696c241d5f978997816c09d8e855173ccc7d312244397f5f8076a4d207b065bd6f304ff0e
+DIST zlib-1220fed0c74e1019b3ee29edae2051788b080cd96e90d56836eea857b0b966742efb.tar.gz 1572744 BLAKE2B 6d15d8f3c8feaf602043bb6e72316ee721c33ef24e110e3bf03fb12eac9703fd29e352268d202ecd2f18b526b4f1dbd90c8046e01ad8e64ddce3e55ad5db513e SHA512 8c9642495bafd6fad4ab9fb67f09b268c69ff9af0f4f20cf15dfc18852ff1f312bd8ca41de761b3f8d8e90e77d79f2ccacd3d4c5b19e475ecf09d021fdfe9088
+EBUILD ghostty-1.0.0-r1.ebuild 8790 BLAKE2B ebd5dd939aca8b3642291468afcac5cf1e58c29efd77ec4ce47b8560a0012f0e8c8accbcc157999f6352661a73749c94f640f52f81e6995685f72ea1ca5bdfbb SHA512 8990b3769930c189918dd6a3f5d07d48c109f54428ecb300034899f2b7aebfebe7bf6fe4d983f2c0e6942f3a645c334474594a61cbad27569ad480af449ccb2d
+MISC metadata.xml 1380 BLAKE2B b5a10f779b1460cc0670f9520c7656ab1b969078051afc2c70f522513a7da3907f0ff53989ebce40de41da7a3ffa03e04feb143673efc374bbca1655fea50639 SHA512 82fee914c23451d002093d33e442fedcd99eb1aa9e6ced4b25bed07026791d1aaa988d6b38a6c73232f63d4e109c624f8aad0dce3bea70c1c79e12565ef0f388
diff --git a/x11-terms/ghostty/files/ghostty-1.0.0-bzip2-dependency.patch b/x11-terms/ghostty/files/ghostty-1.0.0-bzip2-dependency.patch
new file mode 100644
index 000000000000..cb9dec4d57cb
--- /dev/null
+++ b/x11-terms/ghostty/files/ghostty-1.0.0-bzip2-dependency.patch
@@ -0,0 +1,13 @@
+diff --git a/build.zig b/build.zig
+index c3f73026..09965025 100644
+--- a/build.zig
++++ b/build.zig
+@@ -1064,7 +1064,7 @@ fn addDeps(
+ step.root_module.addImport("freetype", freetype_dep.module("freetype"));
+
+ if (b.systemIntegrationOption("freetype", .{})) {
+- step.linkSystemLibrary2("bzip2", dynamic_link_opts);
++ step.linkSystemLibrary2("bz2", dynamic_link_opts);
+ step.linkSystemLibrary2("freetype2", dynamic_link_opts);
+ } else {
+ step.linkLibrary(freetype_dep.artifact("freetype"));
diff --git a/x11-terms/ghostty/files/ghostty-1.0.0-copy-terminfo-using-installdir.patch b/x11-terms/ghostty/files/ghostty-1.0.0-copy-terminfo-using-installdir.patch
new file mode 100644
index 000000000000..961007d4ce72
--- /dev/null
+++ b/x11-terms/ghostty/files/ghostty-1.0.0-copy-terminfo-using-installdir.patch
@@ -0,0 +1,38 @@
+diff --git a/build.zig b/build.zig
+index c3f73026..983fb3a7 100644
+--- a/build.zig
++++ b/build.zig
+@@ -481,21 +481,21 @@ pub fn build(b: *std.Build) !void {
+ run_step.step.dependOn(&src_install.step);
+
+ {
+- const copy_step = RunStep.create(b, "copy terminfo db");
+- copy_step.addArgs(&.{ "cp", "-R" });
+- copy_step.addFileArg(path);
+- copy_step.addArg(b.fmt("{s}/share", .{b.install_prefix}));
+- b.getInstallStep().dependOn(&copy_step.step);
++ const install_dir_step = b.addInstallDirectory(.{
++ .source_dir = path,
++ .install_dir = .prefix,
++ .install_subdir = "share/terminfo",
++ });
++ b.getInstallStep().dependOn(&install_dir_step.step);
+ }
+
+ if (target.result.os.tag == .macos and exe_ != null) {
+- const copy_step = RunStep.create(b, "copy terminfo db");
+- copy_step.addArgs(&.{ "cp", "-R" });
+- copy_step.addFileArg(path);
+- copy_step.addArg(
+- b.fmt("{s}/Ghostty.app/Contents/Resources", .{b.install_prefix}),
+- );
+- b.getInstallStep().dependOn(&copy_step.step);
++ const install_dir_step = b.addInstallDirectory(.{
++ .source_dir = path,
++ .install_dir = .prefix,
++ .install_subdir = "Ghostty.app/Contents/Resources/terminfo",
++ });
++ b.getInstallStep().dependOn(&install_dir_step.step);
+ }
+ }
+ }
diff --git a/x11-terms/ghostty/ghostty-1.0.0-r1.ebuild b/x11-terms/ghostty/ghostty-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..9a7504bcf72d
--- /dev/null
+++ b/x11-terms/ghostty/ghostty-1.0.0-r1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Fast, feature-rich, and cross-platform terminal emulator"
+HOMEPAGE="https://ghostty.org/"
+
+declare -g -r -A ZBS_DEPENDENCIES=(
+ [breakpad-12207fd37bb8251919c112dcdd8f616a491857b34a451f7e4486490077206dc2a1ea.tar.gz]='https://github.com/getsentry/breakpad/archive/b99f444ba5f6b98cac261cbb391d8766b34a5918.tar.gz'
+ [fontconfig-12201149afb3326c56c05bb0a577f54f76ac20deece63aa2f5cd6ff31a4fa4fcb3b7.tar.gz]='https://deps.files.ghostty.org/fontconfig-2.14.2.tar.gz'
+ [freetype-1220b81f6ecfb3fd222f76cf9106fecfa6554ab07ec7fdc4124b9bb063ae2adf969d.tar.gz]='https://github.com/freetype/freetype/archive/refs/tags/VER-2-13-2.tar.gz'
+ [glfw-1220736fa4ba211162c7a0e46cc8fe04d95921927688bff64ab5da7420d098a7272d.tar.gz]='https://github.com/mitchellh/glfw/archive/b552c6ec47326b94015feddb36058ea567b87159.tar.gz'
+ [glslang-12201278a1a05c0ce0b6eb6026c65cd3e9247aa041b1c260324bf29cee559dd23ba1.tar.gz]='https://github.com/KhronosGroup/glslang/archive/refs/tags/14.2.0.tar.gz'
+ [harfbuzz-1220b8588f106c996af10249bfa092c6fb2f35fbacb1505ef477a0b04a7dd1063122.tar.gz]='https://github.com/harfbuzz/harfbuzz/archive/refs/tags/8.4.0.tar.gz'
+ [highway-12205c83b8311a24b1d5ae6d21640df04f4b0726e314337c043cde1432758cbe165b.tar.gz]='https://github.com/google/highway/archive/refs/tags/1.1.0.tar.gz'
+ [imgui-1220bc6b9daceaf7c8c60f3c3998058045ba0c5c5f48ae255ff97776d9cd8bfc6402.tar.gz]='https://github.com/ocornut/imgui/archive/e391fe2e66eb1c96b1624ae8444dc64c23146ef4.tar.gz'
+ [iterm2_themes-12204358b2848ffd993d3425055bff0a5ba9b1b60bead763a6dea0517965d7290a6c.tar.gz]='https://github.com/mbadolato/iTerm2-Color-Schemes/archive/d6c42066b3045292e0b1154ad84ff22d6863ebf7.tar.gz'
+ [libpng-1220aa013f0c83da3fb64ea6d327f9173fa008d10e28bc9349eac3463457723b1c66.tar.gz]='https://github.com/pnggroup/libpng/archive/refs/tags/v1.6.43.tar.gz'
+ [libxev-12206029de146b685739f69b10a6f08baee86b3d0a5f9a659fa2b2b66c9602078bbf.tar.gz]='https://github.com/mitchellh/libxev/archive/db6a52bafadf00360e675fefa7926e8e6c0e9931.tar.gz'
+ [libxml2-122032442d95c3b428ae8e526017fad881e7dc78eab4d558e9a58a80bfbd65a64f7d.tar.gz]='https://github.com/GNOME/libxml2/archive/refs/tags/v2.11.5.tar.gz'
+ [mach-glfw-12206ed982e709e565d536ce930701a8c07edfd2cfdce428683f3f2a601d37696a62.tar.gz]='https://github.com/mitchellh/mach-glfw/archive/37c2995f31abcf7e8378fba68ddcf4a3faa02de0.tar.gz'
+ [oniguruma-1220c15e72eadd0d9085a8af134904d9a0f5dfcbed5f606ad60edc60ebeccd9706bb.tar.gz]='https://github.com/kkos/oniguruma/archive/refs/tags/v6.9.9.tar.gz'
+ [sentry-1220446be831adcca918167647c06c7b825849fa3fba5f22da394667974537a9c77e.tar.gz]='https://github.com/getsentry/sentry-native/archive/refs/tags/0.7.8.tar.gz'
+ [spirv_cross-1220fb3b5586e8be67bc3feb34cbe749cf42a60d628d2953632c2f8141302748c8da.tar.gz]='https://github.com/KhronosGroup/SPIRV-Cross/archive/476f384eb7d9e48613c45179e502a15ab95b6b49.tar.gz'
+ [utfcpp-1220d4d18426ca72fc2b7e56ce47273149815501d0d2395c2a98c726b31ba931e641.tar.gz]='https://github.com/nemtrif/utfcpp/archive/refs/tags/v4.0.5.tar.gz'
+ [vaxis-12200df4ebeaed45de26cb2c9f3b6f3746d8013b604e035dae658f86f586c8c91d2f.tar.gz]='https://github.com/rockorager/libvaxis/archive/6d729a2dc3b934818dffe06d2ba3ce02841ed74b.tar.gz'
+ [vaxis-1220c72c1697dd9008461ead702997a15d8a1c5810247f02e7983b9f74c6c6e4c087.tar.gz]='https://github.com/rockorager/libvaxis/archive/dc0a228a5544988d4a920cfb40be9cd28db41423.tar.gz'
+ [vulkan_headers-122004bfd4c519dadfb8e6281a42fc34fd1aa15aea654ea8a492839046f9894fa2cf.tar.gz]='https://github.com/mitchellh/vulkan-headers/archive/04c8a0389d5a0236a96312988017cd4ce27d8041.tar.gz'
+ [wayland_headers-1220b3164434d2ec9db146a40bf3a30f490590d68fa8529776a3138074f0da2c11ca.tar.gz]='https://github.com/mitchellh/wayland-headers/archive/5f991515a29f994d87b908115a2ab0b899474bd1.tar.gz'
+ [wuffs-12200984439edc817fbcbbaff564020e5104a0d04a2d0f53080700827052de700462.tar.gz]='https://github.com/google/wuffs/archive/refs/tags/v0.4.0-alpha.8.tar.gz'
+ [x11_headers-122089c326186c84aa2fd034b16abc38f3ebf4862d9ae106dc1847ac44f557b36465.tar.gz]='https://github.com/mitchellh/x11-headers/archive/2ffbd62d82ff73ec929dd8de802bc95effa0ef88.tar.gz'
+ [xcode_frameworks-12202adbfecdad671d585c9a5bfcbd5cdf821726779430047742ce1bf94ad67d19cb.tar.gz]='https://github.com/mitchellh/xcode-frameworks/archive/69801c154c39d7ae6129ea1ba8fe1afe00585fc8.tar.gz'
+ [z2d-12201f0d542e7541cf492a001d4d0d0155c92f58212fbcb0d224e95edeba06b5416a.tar.gz]='https://github.com/vancluever/z2d/archive/4638bb02a9dc41cc2fb811f092811f6a951c752a.tar.gz'
+ [zf-1220edc3b8d8bedbb50555947987e5e8e2f93871ca3c8e8d4cc8f1377c15b5dd35e8.tar.gz]='https://github.com/natecraddock/zf/archive/ed99ca18b02dda052e20ba467e90b623c04690dd.tar.gz'
+ [zg-122055beff332830a391e9895c044d33b15ea21063779557024b46169fb1984c6e40.tar.gz]='https://codeberg.org/atman/zg/archive/v0.13.2.tar.gz'
+ [zig-objc-1220e17e64ef0ef561b3e4b9f3a96a2494285f2ec31c097721bf8c8677ec4415c634.tar.gz]='https://github.com/mitchellh/zig-objc/archive/9b8ba849b0f58fe207ecd6ab7c147af55b17556e.tar.gz'
+ [zig_js-12205a66d423259567764fa0fc60c82be35365c21aeb76c5a7dc99698401f4f6fefc.tar.gz]='https://github.com/mitchellh/zig-js/archive/d0b8b0a57c52fbc89f9d9fecba75ca29da7dd7d1.tar.gz'
+ [zigimg-1220dd654ef941fc76fd96f9ec6adadf83f69b9887a0d3f4ee5ac0a1a3e11be35cf5.tar.gz]='https://github.com/zigimg/zigimg/archive/3a667bdb3d7f0955a5a51c8468eac83210c1439e.tar.gz'
+ [ziglyph-12207831bce7d4abce57b5a98e8f3635811cfefd160bca022eb91fe905d36a02cf25.tar.gz]='https://deps.files.ghostty.org/ziglyph-b89d43d1e3fb01b6074bc1f7fc980324b04d26a5.tar.gz'
+ [zlib-1220fed0c74e1019b3ee29edae2051788b080cd96e90d56836eea857b0b966742efb.tar.gz]='https://github.com/madler/zlib/archive/refs/tags/v1.3.1.tar.gz'
+)
+
+ZIG_SLOT="0.13"
+inherit zig xdg
+
+SRC_URI="
+ https://release.files.ghostty.org/${PV}/ghostty-source.tar.gz -> ${P}.tar.gz
+ ${ZBS_DEPENDENCIES_SRC_URI}
+"
+S="${WORKDIR}/ghostty-source"
+
+LICENSE="
+ Apache-2.0 BSD BSD-2 BSD-4 Boost-1.0 MIT MPL-2.0
+ !system-freetype? ( || ( FTL GPL-2+ ) )
+ !system-harfbuzz? ( Old-MIT ISC icu )
+ !system-libpng? ( libpng2 )
+ !system-zlib? ( ZLIB )
+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# TODO: simdutf integration (missing Gentoo version)
+# TODO: spirv-cross integration (missing Gentoo package)
+# TODO: glfw integration (no option from upstream)
+# NOTE: gtk backend requires X right now since ghostty unconditionally
+# includes gdk/x11/gdkx.h.
+# https://github.com/ghostty-org/ghostty/issues/3477
+RDEPEND="
+ adwaita? ( gui-libs/libadwaita:1= )
+ gtk? ( gui-libs/gtk:4=[X] )
+
+ system-fontconfig? ( >=media-libs/fontconfig-2.14.2:= )
+ system-freetype? ( >=media-libs/freetype-2.13.2:=[bzip2] )
+ system-glslang? ( >=dev-util/glslang-1.3.296.0:= )
+ system-harfbuzz? ( >=media-libs/harfbuzz-8.4.0:= )
+ system-libpng? ( >=media-libs/libpng-1.6.43:= )
+ system-libxml2? ( >=dev-libs/libxml2-2.11.5:= )
+ system-oniguruma? ( >=dev-libs/oniguruma-6.9.9:= )
+ system-zlib? ( >=sys-libs/zlib-1.3.1:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ man? ( virtual/pandoc )
+"
+
+IUSE="+adwaita man +gtk glfw"
+# System integrations
+IUSE+="
+ +system-fontconfig +system-freetype +system-glslang +system-harfbuzz +system-libpng +system-libxml2
+ +system-oniguruma +system-zlib
+"
+
+REQUIRED_USE="
+ adwaita? ( gtk )
+ ^^ ( gtk glfw )
+"
+
+# XXX: Because we set --release=fast below, Zig will automatically strip
+# the binary. Until Ghostty provides a way to disable the banner while
+# having debug symbols we have ignore pre-stripped file warnings.
+QA_PRESTRIPPED="usr/bin/ghostty"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.0-bzip2-dependency.patch
+ "${FILESDIR}"/${PN}-1.0.0-copy-terminfo-using-installdir.patch
+)
+
+src_configure() {
+ local my_zbs_args=(
+ # XXX: Ghostty displays a banner saying it is a debug build unless ReleaseFast is used.
+ --release=fast
+
+ -Dfont-backend=fontconfig_freetype
+ -Drenderer=opengl
+ -Dgtk-adwaita=$(usex adwaita true false)
+ -Demit-docs=$(usex man true false)
+ -Dversion-string="${PV}"
+
+ -f$(usex system-fontconfig sys no-sys)=fontconfig
+ -f$(usex system-freetype sys no-sys)=freetype
+ -f$(usex system-glslang sys no-sys)=glslang
+ -f$(usex system-harfbuzz sys no-sys)=harfbuzz
+ -f$(usex system-libpng sys no-sys)=libpng
+ -f$(usex system-libxml2 sys no-sys)=libxml2
+ -f$(usex system-oniguruma sys no-sys)=oniguruma
+ -f$(usex system-zlib sys no-sys)=zlib
+ )
+
+ if use gtk; then
+ my_zbs_args+=(
+ -Dapp-runtime=gtk
+ )
+ elif use glfw; then
+ my_zbs_args+=(
+ -Dapp-runtime=glfw
+ )
+ fi
+
+ zig_src_configure
+}
+
+src_install() {
+ zig_src_install
+
+ # HACK: Zig 0.13.0 build system's InstallDir step has a bug where it
+ # fails to install symbolic links, so we manually create it
+ # here.
+ dosym -r /usr/share/terminfo/x/xterm-ghostty /usr/share/terminfo/g/ghostty
+}
diff --git a/x11-terms/ghostty/metadata.xml b/x11-terms/ghostty/metadata.xml
new file mode 100644
index 000000000000..264c58bdd6c6
--- /dev/null
+++ b/x11-terms/ghostty/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>sin-ack@protonmail.com</email>
+ <name>sin-ack</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ghostty-org/ghostty</remote-id>
+ </upstream>
+ <use>
+ <flag name="adwaita">Use <pkg>gui-libs/libadwaita</pkg> for better GNOME integration</flag>
+ <flag name="gtk">Use the GTK 4 backend for windowing</flag>
+ <flag name="glfw">Use the GLFW backend for windowing</flag>
+ <flag name="system-fontconfig">Use system fontconfig instead of the bundled one</flag>
+ <flag name="system-freetype">Use system freetype instead of the bundled one</flag>
+ <flag name="system-glslang">Use system glslang instead of the bundled one</flag>
+ <flag name="system-harfbuzz">Use system harfbuzz instead of the bundled one</flag>
+ <flag name="system-libpng">Use system libpng instead of the bundled one</flag>
+ <flag name="system-libxml2">Use system libxml2 instead of the bundled one</flag>
+ <flag name="system-oniguruma">Use system oniguruma instead of the bundled one</flag>
+ <flag name="system-zlib">Use system zlib instead of the bundled one</flag>
+ </use>
+</pkgmetadata>