{"id":18098500,"url":"https://github.com/danieloneill/pkg-config","last_synced_at":"2025-06-16T13:03:50.356Z","repository":{"id":29668190,"uuid":"33210390","full_name":"danieloneill/pkg-config","owner":"danieloneill","description":"pkg-config using C++/QtCore","archived":false,"fork":false,"pushed_at":"2015-03-31T21:57:51.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T10:18:47.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/danieloneill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-31T21:15:54.000Z","updated_at":"2015-03-31T21:57:53.000Z","dependencies_parsed_at":"2022-09-03T16:50:20.742Z","dependency_job_id":null,"html_url":"https://github.com/danieloneill/pkg-config","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/danieloneill%2Fpkg-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieloneill%2Fpkg-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieloneill%2Fpkg-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieloneill%2Fpkg-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danieloneill","download_url":"https://codeload.github.com/danieloneill/pkg-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430976,"owners_count":20937876,"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":[],"created_at":"2024-10-31T20:11:29.391Z","updated_at":"2025-04-06T04:17:53.652Z","avatar_url":"https://github.com/danieloneill.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pkg-config\npkg-config using C++/QtCore\n\n##Build##\n\n```\nmkdir build\ncd build\nqmake ..\n```\n\nOr build it in-tree if you want, I'm not your mom.\n\n##Requirements##\n\nA C++ compiler and at least QtCore with development headers and qmake.\n\n##Usage##\n\n```\npkg-config [-A \u003cpackage config directory\u003e]\n           [-D \u003cpackage config directory\u003e]\n           [-L]\n           [--atleast-pkgconfig-version \u003cversion\u003e]\n           [--version]\n           [--exists \u003cpackage name\u003e]\n           [--short-errors]\n           [--print-warnings]\n           [--print-errors]\n           [--cflags \u003cpackage name\u003e]\n           [--libs \u003cpackage name\u003e]\n```\n\n* **-A** - Add a .pc file search path for the current user.\n* **-D** - Delete a .pc file search path for the current user.\n* **-L** - List .pc file search paths for the current user.\n* **-h** - Usage information.\n* **--atleast-pkgconfig-version** - Returns 0 if we meet the version requirement, -1 otherwise.\n* **--version** - The version of this pkg-config.\n* **--exists** - Returns 0 if the specified package exists, -1 otherwise.\n* **--short-errors** - Print errors in short form.\n* **--print-warnings** - Print warnings encountered.\n* **--print-errors** - Print errors encountered.\n* **--cflags** - Output the cflags specified by the package.\n* **--libs** - Output the ldflags (libs) as specified by the package.\n\n##Other Stuff##\n\n* **Is this XDG/Freedesktop compliant?**\n* Almost certainly not.\n\n* **Does it work?**\n* Almost every time.\n\n* **Why is it here?**\n* Because I wrote it, and I wanted to share it.\n\n* **What is it for?**\n* A defunct project where Qt was the ubiquitous framework. Glib wasn't installed, and building it specifically for a single tool was silly.\n\n* **Does pkg-config REALLY need to link against Qt?**\n* No, in fact a saner solution would be pkg-config written in Python, Perl, LUA, or similar. A compiled tool for this task is overkill.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieloneill%2Fpkg-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanieloneill%2Fpkg-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieloneill%2Fpkg-config/lists"}