diff --git a/app-crypt/pinentry-bemenu/Manifest b/app-crypt/pinentry-bemenu/Manifest new file mode 100644 index 0000000..b2581f8 --- /dev/null +++ b/app-crypt/pinentry-bemenu/Manifest @@ -0,0 +1,4 @@ +DIST pinentry-bemenu-0.7.2.tar.gz 15784 BLAKE2B 862e89c6dc9dfbbc51ded5446b4716d02761a34fc79dcf4a725b8e47998bfc7ab91ae3f451bc66377dbfe56a469d4f942a6e826e9df7527077e0e7b7e1c29cac SHA512 619e38e8d0bd5388b9eae77241d52e71621711b8dedcea18aface750ba627e452075ea0247fc845800d98c977b1dde553d5ce0d251aa17d0ebbea3109a7908c5 +EBUILD pinentry-bemenu-0.7.2.ebuild 1020 BLAKE2B a03aad8f299d45b70da1a3b3ef12c4d42aa9c187b1c3ed75d6957fd113ddca9349ccb655a198e428b309feb1e6ae7badbcb9b96f9880070f4f84f1bf1cec4de0 SHA512 5181f63d1df1e8ccbae10c554ef7a82f1048a186ac27bed97ffbdff838067b90aec0ecad058ba76054af4b53d43c8d76d81cb5f475b5c9148da3b257f6a030d8 +EBUILD pinentry-bemenu-9999.ebuild 1020 BLAKE2B a03aad8f299d45b70da1a3b3ef12c4d42aa9c187b1c3ed75d6957fd113ddca9349ccb655a198e428b309feb1e6ae7badbcb9b96f9880070f4f84f1bf1cec4de0 SHA512 5181f63d1df1e8ccbae10c554ef7a82f1048a186ac27bed97ffbdff838067b90aec0ecad058ba76054af4b53d43c8d76d81cb5f475b5c9148da3b257f6a030d8 +MISC metadata.xml 328 BLAKE2B 7cb78cc1ee029c384ea991a3dcc5988e6f0eddb44d33000fd7edcced0a809ca44a369c440283617bcff3aaa7d5a3f78ca6576802ae85208e727bdd40a14eb2f8 SHA512 31f7b5684b865181b92123721ab311240c91d2a647d945937d0bc5fdf7443d6f7c262496aa548e192c79211e5e8af4ddd413d717d47b2e939effe9fa26de0f0b diff --git a/app-crypt/pinentry-bemenu/metadata.xml b/app-crypt/pinentry-bemenu/metadata.xml new file mode 100644 index 0000000..30eef20 --- /dev/null +++ b/app-crypt/pinentry-bemenu/metadata.xml @@ -0,0 +1,11 @@ + + + + + flewkey@2a03.party + Ryan Fox + + + t-8ch/pinentry-bemenu + + diff --git a/app-crypt/pinentry-bemenu/pinentry-bemenu-0.7.2.ebuild b/app-crypt/pinentry-bemenu/pinentry-bemenu-0.7.2.ebuild new file mode 100644 index 0000000..3158fc7 --- /dev/null +++ b/app-crypt/pinentry-bemenu/pinentry-bemenu-0.7.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/t-8ch/pinentry-bemenu.git" +else + SRC_URI="https://github.com/t-8ch/pinentry-bemenu/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Pinentry based on bemenu" +HOMEPAGE="https://github.com/t-8ch/pinentry-bemenu" +LICENSE="GPL-3" +SLOT="0" + +DEPEND=" + dev-libs/bemenu + dev-libs/libassuan + dev-libs/libgpg-error + dev-libs/popt +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + default + # Hardcode version + sed -i '/#include "version.h"/d' "${S}/pinentry_bemenu.c" + sed -i 's/PROJECT_NAME " " PROJECT_VERSION/PROJECT_NAME " v" PROJECT_VERSION/' "${S}/pinentry_bemenu.c" + sed -i "/project(/a version : '${PV}'," "${S}/meson.build" + sed -i '/vcs_tag/,+4d' "${S}/meson.build" + sed -i "/conf_data.set_quoted(/a conf_data.set_quoted('PROJECT_VERSION', meson.project_version())" "${S}/meson.build" +} diff --git a/app-crypt/pinentry-bemenu/pinentry-bemenu-9999.ebuild b/app-crypt/pinentry-bemenu/pinentry-bemenu-9999.ebuild new file mode 100644 index 0000000..3158fc7 --- /dev/null +++ b/app-crypt/pinentry-bemenu/pinentry-bemenu-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/t-8ch/pinentry-bemenu.git" +else + SRC_URI="https://github.com/t-8ch/pinentry-bemenu/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Pinentry based on bemenu" +HOMEPAGE="https://github.com/t-8ch/pinentry-bemenu" +LICENSE="GPL-3" +SLOT="0" + +DEPEND=" + dev-libs/bemenu + dev-libs/libassuan + dev-libs/libgpg-error + dev-libs/popt +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + default + # Hardcode version + sed -i '/#include "version.h"/d' "${S}/pinentry_bemenu.c" + sed -i 's/PROJECT_NAME " " PROJECT_VERSION/PROJECT_NAME " v" PROJECT_VERSION/' "${S}/pinentry_bemenu.c" + sed -i "/project(/a version : '${PV}'," "${S}/meson.build" + sed -i '/vcs_tag/,+4d' "${S}/meson.build" + sed -i "/conf_data.set_quoted(/a conf_data.set_quoted('PROJECT_VERSION', meson.project_version())" "${S}/meson.build" +}