diff --git a/app-crypt/pinentry-bemenu/Manifest b/app-crypt/pinentry-bemenu/Manifest index b2581f8..7d6c123 100644 --- a/app-crypt/pinentry-bemenu/Manifest +++ b/app-crypt/pinentry-bemenu/Manifest @@ -1,4 +1,6 @@ DIST pinentry-bemenu-0.7.2.tar.gz 15784 BLAKE2B 862e89c6dc9dfbbc51ded5446b4716d02761a34fc79dcf4a725b8e47998bfc7ab91ae3f451bc66377dbfe56a469d4f942a6e826e9df7527077e0e7b7e1c29cac SHA512 619e38e8d0bd5388b9eae77241d52e71621711b8dedcea18aface750ba627e452075ea0247fc845800d98c977b1dde553d5ce0d251aa17d0ebbea3109a7908c5 +DIST pinentry-bemenu-0.9.0.tar.gz 34142 BLAKE2B 6d31c8ddd0937a7f7bbf92a7e56d2877f703daec17123b8807e1d9757f87bdd921b2472df0c3a70892f36340e14ea95a17e8fa8d671f7a19fee75346ec97844a SHA512 d69388c1734eee3bd3f97145f8c80d695f8ab18b6728cd675360bbddd55ec493f02e089187e0b88005ddb4cf628599d56ef5f055db456d5e5d3ec5760b807ae5 EBUILD pinentry-bemenu-0.7.2.ebuild 1020 BLAKE2B a03aad8f299d45b70da1a3b3ef12c4d42aa9c187b1c3ed75d6957fd113ddca9349ccb655a198e428b309feb1e6ae7badbcb9b96f9880070f4f84f1bf1cec4de0 SHA512 5181f63d1df1e8ccbae10c554ef7a82f1048a186ac27bed97ffbdff838067b90aec0ecad058ba76054af4b53d43c8d76d81cb5f475b5c9148da3b257f6a030d8 -EBUILD pinentry-bemenu-9999.ebuild 1020 BLAKE2B a03aad8f299d45b70da1a3b3ef12c4d42aa9c187b1c3ed75d6957fd113ddca9349ccb655a198e428b309feb1e6ae7badbcb9b96f9880070f4f84f1bf1cec4de0 SHA512 5181f63d1df1e8ccbae10c554ef7a82f1048a186ac27bed97ffbdff838067b90aec0ecad058ba76054af4b53d43c8d76d81cb5f475b5c9148da3b257f6a030d8 +EBUILD pinentry-bemenu-0.9.0.ebuild 586 BLAKE2B dfb37fa609a70ab49cc30ab2181bcffe9448d657dbfe7d353e06347c8181f2f9ee4e611157ffae66ebebbd294ab412097fb046a820b929bc7bb219e1ae0f8c7c SHA512 b5c6856de054fbe53165565758ea4d129759ca14b88cb6d7a44ecc8c3f32b6834f7579fada301e53f4a14dce146697622f43a0e11d6307c7c3a30975669aab34 +EBUILD pinentry-bemenu-9999.ebuild 586 BLAKE2B dfb37fa609a70ab49cc30ab2181bcffe9448d657dbfe7d353e06347c8181f2f9ee4e611157ffae66ebebbd294ab412097fb046a820b929bc7bb219e1ae0f8c7c SHA512 b5c6856de054fbe53165565758ea4d129759ca14b88cb6d7a44ecc8c3f32b6834f7579fada301e53f4a14dce146697622f43a0e11d6307c7c3a30975669aab34 MISC metadata.xml 328 BLAKE2B 7cb78cc1ee029c384ea991a3dcc5988e6f0eddb44d33000fd7edcced0a809ca44a369c440283617bcff3aaa7d5a3f78ca6576802ae85208e727bdd40a14eb2f8 SHA512 31f7b5684b865181b92123721ab311240c91d2a647d945937d0bc5fdf7443d6f7c262496aa548e192c79211e5e8af4ddd413d717d47b2e939effe9fa26de0f0b diff --git a/app-crypt/pinentry-bemenu/pinentry-bemenu-0.9.0.ebuild b/app-crypt/pinentry-bemenu/pinentry-bemenu-0.9.0.ebuild new file mode 100644 index 0000000..1e6c320 --- /dev/null +++ b/app-crypt/pinentry-bemenu/pinentry-bemenu-0.9.0.ebuild @@ -0,0 +1,28 @@ +# 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="" diff --git a/app-crypt/pinentry-bemenu/pinentry-bemenu-9999.ebuild b/app-crypt/pinentry-bemenu/pinentry-bemenu-9999.ebuild index 3158fc7..1e6c320 100644 --- a/app-crypt/pinentry-bemenu/pinentry-bemenu-9999.ebuild +++ b/app-crypt/pinentry-bemenu/pinentry-bemenu-9999.ebuild @@ -26,13 +26,3 @@ DEPEND=" " 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" -}