Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpa 0.11.0 #200761

Merged
merged 2 commits into from
Dec 11, 2024
Merged

gpa 0.11.0 #200761

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,7 @@ gource
govc
govulncheck
gowsdl
gpa
gpac
gperftools
gpg-tui
Expand Down
29 changes: 12 additions & 17 deletions Formula/g/gpa.rb
Original file line number Diff line number Diff line change
@@ -1,38 +1,30 @@
class Gpa < Formula
desc "Graphical user interface for the GnuPG"
homepage "https://www.gnupg.org/related_software/gpa/"
url "https://gnupg.org/ftp/gcrypt/gpa/gpa-0.11.0.tar.bz2"
mirror "https://deb.debian.org/debian/pool/main/g/gpa/gpa_0.11.0.orig.tar.bz2"
sha256 "26a8fa5bf70541cb741f0c71b7cfe291b1ea56eab68eeb07aa962cef5cdf33cc"
license "GPL-3.0-or-later"
revision 4

stable do
url "https://gnupg.org/ftp/gcrypt/gpa/gpa-0.10.0.tar.bz2"
mirror "https://deb.debian.org/debian/pool/main/g/gpa/gpa_0.10.0.orig.tar.bz2"
sha256 "95dbabe75fa5c8dc47e3acf2df7a51cee096051e5a842b4c9b6d61e40a6177b1"

depends_on "gtk+" # TODO: Switch to `gtk+3` next release
end

livecheck do
url "https://gnupg.org/ftp/gcrypt/gpa/"
regex(/href=.*?gpa[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
sha256 arm64_sonoma: "9623cd359c6d3fa33bc0e24f05511b18a9302683aa9517d3ff462055d794780b"
sha256 arm64_ventura: "d7b108de57be92858293117242e4936bd8c89d04d0eb2beda5651054bf3281dc"
sha256 arm64_monterey: "1fd644f78fd079f2cba7855e3972307dae86c0f9153589c23cd45c1ec69e5dc3"
sha256 sonoma: "3ff853e6943714626477e904c5b18b033e2177355eb61fad5ef8c701878cadad"
sha256 ventura: "0e82a2924eb523bc86d8008c89a8f05b99a4bc5b9b3c8d26e0758e8187b9da16"
sha256 monterey: "49fa165f0c5dab39320c4f586fd6129dd770956b2296c32b1d3c4b45267bd21d"
sha256 x86_64_linux: "5c8b02af48db9fe00d090e86c47d0977d10cb4427f8da5a83610b941aa59c5f2"
sha256 arm64_sequoia: "c0c60b01b9d98ed8aab7c7527587a47d3da59296f9bc1fd4fd42de59ca7ddbb8"
sha256 arm64_sonoma: "df87078cf6cf9f08a8929ee7b17f8c02c59e861dc2b95dde4219ad1bb618ffa5"
sha256 arm64_ventura: "aef02be2a1ff1789b39b13a9aeb992f205dad05cc86bb5b49c56bfcb8c574602"
sha256 sonoma: "3aebae31685d4eed01681ce32eb85166e4eabb1aa653b113295d9d22539b2f32"
sha256 ventura: "ba20f9563e8f329507ebae4de2101385737dc2853134c35b555b1a150e17f101"
sha256 x86_64_linux: "07d492d6e76e1bfab56580d855828fc133ea535bb83ef7ffa07cbeb31ad8269c"
end

head do
url "https://dev.gnupg.org/source/gpa.git", branch: "master"

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "gtk+3"
end

depends_on "desktop-file-utils" => :build
Expand All @@ -41,6 +33,7 @@ class Gpa < Formula
depends_on "gdk-pixbuf"
depends_on "glib"
depends_on "gpgme"
depends_on "gtk+3"
depends_on "libassuan"
depends_on "libgpg-error"

Expand All @@ -57,6 +50,8 @@ class Gpa < Formula
def install
inreplace "configure", "NEED_LIBASSUAN_API=2", "NEED_LIBASSUAN_API=3"

ENV.append_to_cflags "-Wno-implicit-function-declaration"

system "./autogen.sh" if build.head?
system "./configure", "--disable-silent-rules", *std_configure_args
system "make"
Expand Down
Loading