public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/weechat] epel10.3: Reapply "Reenable PHP plugins support"
@ 2026-09-17 14:30 LuK1337
  0 siblings, 0 replies; only message in thread
From: LuK1337 @ 2026-09-17 14:30 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/weechat
            Branch : epel10.3
            Commit : 5f52b282b417df31ec25707195943f187af8ff74
            Author : LuK1337 <priv.luk@gmail.com>
            Date   : 2026-08-14T12:36:45+02:00
            Stats  : +11/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/weechat/c/5f52b282b417df31ec25707195943f187af8ff74?branch=epel10.3

            Log:
            Reapply "Reenable PHP plugins support"

This was fixed years ago, not sure why I didn't reenable it.

This reverts commit 2c450d8b63251ec20c20692bac425a1ec62a1b99.

See: https://github.com/weechat/weechat/issues/2009
     https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111413

---
diff --git a/weechat.spec b/weechat.spec
index d1653d7..96e4ea3 100644
--- a/weechat.spec
+++ b/weechat.spec
@@ -32,12 +32,19 @@ BuildRequires: lua-devel
 BuildRequires: ncurses-devel
 BuildRequires: perl-devel
 BuildRequires: perl-ExtUtils-Embed
+%ifnarch %{ix86}
+BuildRequires: php-embedded
+BuildRequires: php-devel
+%endif
 BuildRequires: pkgconfig
 BuildRequires: python3-devel
 BuildRequires: ruby
 BuildRequires: ruby-devel
 BuildRequires: source-highlight
 BuildRequires: tcl-devel
+%ifnarch %{ix86}
+BuildRequires: uriparser-devel
+%endif
 BuildRequires: zlib-devel
 
 Requires:      hicolor-icon-theme
@@ -69,10 +76,14 @@ This package contains include files and pc file for weechat.
 %cmake \
   -DLIBDIR=%{_libdir} \
   -DENABLE_ENCHANT=ON \
+%ifarch %{ix86}
   -DENABLE_PHP=OFF \
+%endif
   -DENABLE_TESTS=ON \
   -DENABLE_DOC=ON \
+%ifarch %{ix86}
   -DENABLE_DOC_INCOMPLETE=ON \
+%endif
   -DENABLE_MAN=ON \
   %{nil}
 %cmake_build

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-17 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 14:30 [rpms/weechat] epel10.3: Reapply "Reenable PHP plugins support" LuK1337

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox