update x11/picom to 12.5

diff from Maximo Pech <makzpj at gmail dot com>, WANTLIB fixed on top.
This commit is contained in:
op
2025-11-08 18:23:38 +00:00
parent f08ddff3bb
commit 7f16a5ae0c
4 changed files with 15 additions and 13 deletions
+3 -4
View File
@@ -1,7 +1,6 @@
COMMENT = lightweight compositor for X11
DIST_TUPLE = github yshui picom v11.2 .
REVISION = 0
DIST_TUPLE = github yshui picom v12.5 .
CATEGORIES = x11
@@ -11,7 +10,7 @@ PERMIT_PACKAGE = Yes
WANTLIB += epoxy X11 X11-xcb c config dbus-1 ev m pcre2-8 pixman-1
WANTLIB += pthread xcb-composite xcb-damage xcb-glx xcb-image xcb-present
WANTLIB += xcb-randr xcb-render-util xcb-render xcb-shape xcb-sync
WANTLIB += xcb-xfixes xcb xcb-dpms
WANTLIB += xcb-util xcb-xfixes xcb
MODULES = devel/meson
@@ -20,7 +19,7 @@ COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
BUILD_DEPENDS = devel/uthash \
textproc/asciidoc
textproc/asciidoctor
RUN_DEPENDS = x11/gtk+4,-guic \
devel/desktop-file-utils
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (yshui-picom-v11.2.tar.gz) = HBBjk2+vCe2bunJudzelYlZLel+M3vedSPza82aaTfQ=
SIZE (yshui-picom-v11.2.tar.gz) = 308679
SHA256 (yshui-picom-v12.5.tar.gz) = Yn+l18WQ3zuo0sQes104WfeCa9KPpJ6SoOBPtg7XeQQ=
SIZE (yshui-picom-v12.5.tar.gz) = 674165
+7 -7
View File
@@ -4,21 +4,21 @@
Index: meson.build
--- meson.build.orig
+++ meson.build
@@ -7,8 +7,7 @@ cc = meson.get_compiler('c')
version = 'v'+meson.project_version()
@@ -4,8 +4,7 @@ project('picom', 'c', version: '12.5',
cc = meson.get_compiler('c')
# use git describe if that's available
-git = find_program('git', required: false)
-if git.found()
+if false
gitv = run_command('git', 'rev-parse', '--short=5', 'HEAD', check: false)
gitv = run_command('git', 'rev-parse', '--short=7', 'HEAD', check: false)
if gitv.returncode() == 0
version = 'vgit-'+gitv.stdout().strip()
@@ -73,7 +72,6 @@ subdir('man')
commit_hash_short = gitv.stdout().strip()
@@ -110,7 +109,6 @@ subdir('tools')
install_data('bin/picom-trans', install_dir: get_option('bindir'))
install_data('picom.desktop', install_dir: 'share/applications')
-install_data('picom.desktop', install_dir: get_option('sysconfdir') / 'xdg' / 'autostart')
if get_option('compton')
install_data('compton.desktop', install_dir: 'share/applications')
pkgconf = import('pkgconfig')
+3
View File
@@ -1,5 +1,8 @@
@bin bin/picom
bin/picom-inspect
bin/picom-trans
lib/pkgconfig/picom-api.pc
@man man/man1/picom-inspect.1
@man man/man1/picom-trans.1
@man man/man1/picom.1
share/applications/picom.desktop