{"id":16906043,"url":"https://github.com/chocobo1/qbittorent_msys2","last_synced_at":"2025-04-11T15:20:27.338Z","repository":{"id":53089996,"uuid":"112755763","full_name":"Chocobo1/qbittorent_msys2","owner":"Chocobo1","description":"Instructions to compile qBittorrent in MSYS2 environment","archived":false,"fork":false,"pushed_at":"2023-08-15T08:50:22.000Z","size":19,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T11:21:58.333Z","etag":null,"topics":["compile","msys2","qbittorrent"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chocobo1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://myprojects.tzou.me/donation/"}},"created_at":"2017-12-01T15:33:03.000Z","updated_at":"2024-09-22T06:07:41.000Z","dependencies_parsed_at":"2024-10-13T18:40:44.513Z","dependency_job_id":null,"html_url":"https://github.com/Chocobo1/qbittorent_msys2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocobo1%2Fqbittorent_msys2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocobo1%2Fqbittorent_msys2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocobo1%2Fqbittorent_msys2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocobo1%2Fqbittorent_msys2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chocobo1","download_url":"https://codeload.github.com/Chocobo1/qbittorent_msys2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248429129,"owners_count":21101786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compile","msys2","qbittorrent"],"created_at":"2024-10-13T18:40:40.981Z","updated_at":"2025-04-11T15:20:27.318Z","avatar_url":"https://github.com/Chocobo1.png","language":"Shell","funding_links":["https://myprojects.tzou.me/donation/"],"categories":[],"sub_categories":[],"readme":"# qbittorent_msys2\n\n[![GitHub Actions CI Status](https://github.com/Chocobo1/qbittorent_msys2/actions/workflows/ci.yaml/badge.svg)](https://github.com/Chocobo1/qbittorent_msys2/actions)\n\n### How to Compile [qBittorrent][qbittorrent-link] in [MSYS2][msys2-link]\n\nThis guide is to help developers setup development environment quickly.\n\n**Warning!** the compilation will require ~10 GB of free space to compile \u0026 run qBittorrent (dynamically linked).\n\n## Steps:\n### 1. Install msys2\nRefer to https://www.msys2.org/\n\n### 2. Download PKGBUILD\nDepending on your intention, download one PKGBUILD from the links below and put it into a clean folder.\n* Build development source \\\n  https://raw.githubusercontent.com/Chocobo1/qbittorent_msys2/master/PKGBUILD\n\n* Build stable release \\\n  Download every file in this folder: https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-qbittorrent \\\n  To download each file, click the filename then on the right side click `Raw` button and \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003es\u003c/kbd\u003e to save the file.\n\n### 3. Install Dependencies \u0026 Build!\nIf you want to build a x64 application then open `MSYS2 MinGW 64-bit` in Windows start menu.\nOtherwise open `MSYS2 MinGW 32-bit`.\n\nFirst make sure msys2 is up-to-date by running the following command **a few times**, until it tells you all packages are latest:\n```shell\npacman --sync --refresh --sysupgrade\n```\n\nInstall development tools:\n```shell\npacman --sync --noconfirm mingw-w64-x86_64-toolchain\n# run the below command if you need to build 32-bit\npacman --sync --noconfirm mingw-w64-i686-toolchain\n```\n\nStart building qBittorrent:\n```shell\ncd \u003cPKGBUILD_directory\u003e\n# build 64-bit qBittorrent\nMINGW_ARCH=mingw64 makepkg-mingw --skippgpcheck --syncdeps --noconfirm\n# build 32-bit qBittorrent\nMINGW_ARCH=mingw32 makepkg-mingw --skippgpcheck --syncdeps --noconfirm\n```\n\n### 4. Install \u0026 Run\nAfter the command complete, you should see it created package: `mingw-w64-x86_64-qbittorrent-4.0.1-1-any.pkg.tar.xz`. The architecture \u0026 version number may be different.\n\nInstall:\n```shell\npacman -U mingw-w64-x86_64-qbittorrent-4.0.1-1-any.pkg.tar.xz\n```\n\nRun (in the same console):\n```shell\nqbittorrent\n```\n\nYou can find the downloaded qBittorrent source code in `\u003cPKGBUILD_directory\u003e/src/qbittorrent`.\n\n### References:\n* https://wiki.archlinux.org/index.php/pacman\n* https://wiki.archlinux.org/index.php/PKGBUILD\n\n\n[qbittorrent-link]: https://github.com/qbittorrent/qBittorrent\n[msys2-link]: https://github.com/msys2/MINGW-packages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocobo1%2Fqbittorent_msys2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchocobo1%2Fqbittorent_msys2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocobo1%2Fqbittorent_msys2/lists"}