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

gtk-4: new package #26125

Merged
merged 6 commits into from
Aug 12, 2024
Merged
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
84 changes: 84 additions & 0 deletions gst-plugins-bad.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
package:
name: gst-plugins-bad
version: 1.24.6
epoch: 0
description: GStreamer streaming media framework bad plug-ins
copyright:
- license: GPL-2.0-or-later AND LGPL-2.0-or-later

environment:
contents:
packages:
- alsa-lib-dev
- build-base
- busybox
- ca-certificates-bundle
- cdparanoia-dev
- cmake
- expat-dev
- gdk-pixbuf
- glib-dev
- glib-gir
- gobject-introspection-dev
- graphene-dev
- gst-plugins-base-dev
- gstreamer
- gstreamer-dev
- gtk-3-dev
- libdrm-dev
- libice-dev
- libogg-dev
- libsm-dev
- libtheora-dev
- libvorbis-dev
- libxv-dev
- mesa-dev
- mesa-gbm
- mesa-gl
- mesa-glapi
- mesa-gles
- meson
- opus-dev
- orc-compiler
- orc-dev
- perl

pipeline:
- uses: fetch
with:
expected-sha256: 8f4d965513e7827c1f547c1e749e4ef2812b371974fe64857fe5029a19c5b64c
uri: https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${{package.version}}.tar.xz

- uses: meson/configure
with:
opts: |
-Db_lto=true \
-Dpackage-origin="https://github.com/wolfi-dev" \
-Dpackage-name="GStreamer bad plug-ins (Wolfi-Linux)" \
-Dintrospection=enabled \
-Dsctp=enabled \

- uses: meson/compile

- uses: meson/install

- uses: strip

subpackages:
- name: ${{package.name}}-dev
dependencies:
runtime:
- ${{package.name}}
pipeline:
- uses: split/dev
description: ${{package.name}} dev

- name: ${{package.name}}-doc
pipeline:
- uses: split/manpages
description: ${{package.name}} manpages

update:
enabled: true
release-monitor:
identifier: 21849
39 changes: 24 additions & 15 deletions gst-plugins-base.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
mamccorm marked this conversation as resolved.
Show resolved Hide resolved
name: gst-plugins-base
version: 1.24.6
epoch: 0
epoch: 1
description: GStreamer streaming media framework base plug-ins
copyright:
- license: GPL-2.0-or-later AND LGPL-2.0-or-later
Expand All @@ -24,13 +24,18 @@ environment:
- gstreamer
- gstreamer-dev
- gtk-3-dev
- libdrm-dev
- libice-dev
- libogg-dev
- libsm-dev
- libtheora-dev
- libvorbis-dev
- libxv-dev
- mesa-dev
- mesa-gbm
- mesa-gl
- mesa-glapi
- mesa-gles
- meson
- opus-dev
- orc-compiler
Expand All @@ -43,36 +48,40 @@ pipeline:
expected-sha512: a098a54cf1d329cd1576e591b10cb0b82861e895cb233f34e8122725993fd5ed48017e127ac67ff1c98cb60e855fb94036368434b5aa9d211d6572e410131731
uri: https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${{package.version}}.tar.xz

- runs: |
meson \
--prefix=/usr \
-Dalsa=enabled \
-Dintrospection=enabled \
- uses: meson/configure
with:
opts: |
-Dalsa=enabled \
-Dintrospection=enabled \
-Dgl=enabled \
-Dgl-graphene=enabled \
-Dgl-jpeg=enabled \
-Dgl-png=enabled \
-Dtests=disabled \
. output
meson compile -C output

DESTDIR="${{targets.destdir}}" meson install --no-rebuild -C output
- uses: meson/compile

- uses: meson/install

- uses: strip

subpackages:
- name: gst-plugins-base-dev
- name: ${{package.name}}-dev
pipeline:
- uses: split/dev
description: gst-plugins-base dev
description: ${{package.name}} dev

- name: gst-plugins-base-doc
- name: ${{package.name}}-doc
pipeline:
- uses: split/manpages
description: gst-plugins-base manpages
description: ${{package.name}} manpages

- name: gst-plugins-base-lang
- name: ${{package.name}}-lang
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/share/locale
mv ${{targets.destdir}}/usr/share/locale ${{targets.subpkgdir}}/usr/share/locale
description: gst-plugins-base lang
description: ${{package.name}} lang

update:
enabled: true
Expand Down
149 changes: 149 additions & 0 deletions gtk-4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
package:
name: gtk-4
version: 4.15.5
epoch: 0
description: The GTK+ Toolkit (v4)
copyright:
- license: LGPL-2.1-or-later

environment:
contents:
packages:
- at-spi2-core-dev
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- cairo-dev
- cmake
- cups-dev
- dbus-dev
- expat-dev
- fontconfig-dev
- fribidi-dev
- gdk-pixbuf-dev
- gettext-dev
- gi-docgen
- git
- glib-dev
- glib-gir
- gobject-introspection-dev
- graphene-dev
- gst-plugins-bad-dev
- gst-plugins-base-dev
- gstreamer-dev
- gtk-doc
- harfbuzz-dev
- hicolor-icon-theme
- iso-codes-dev
- libatk-bridge-2.0
- libdrm-dev
- libepoxy-dev
- libice-dev
- libtool
- libx11-dev
- libxcomposite-dev
- libxcursor-dev
- libxdamage-dev
- libxext-dev
- libxfixes-dev
- libxft-dev
- libxi-dev
- libxinerama-dev
- libxkbcommon
- libxkbcommon-dev
- libxrandr-dev
- libxtst-dev
- mesa-dev
- meson
- ninja
- orc-compiler
- orc-dev
- pango-dev
- py3-docutils
- py3-gi-docgen
- py3-packaging
- sassc
- shaderc
- shared-mime-info
- smartypants
- spirv-headers
# TODO: right now shaderc also inclused spirv-tools, causin a conflict need to fix that,
mamccorm marked this conversation as resolved.
Show resolved Hide resolved
# so we can use our own spirv-tools along with shaderc
# - spirv-tools
# - spirv-tools-dev
- tiff-dev
- vulkan-headers
- vulkan-loader
- wayland-dev
- wayland-protocols
- zlib-dev

pipeline:
- uses: git-checkout
with:
repository: https://gitlab.gnome.org/GNOME/gtk.git
tag: ${{package.version}}
expected-commit: 07658347a91866f009379e6d8bcc7d1b7a653f8d

- uses: meson/configure
with:
opts: |
-Ddocumentation=true \
-Dintrospection=enabled \
-Dbroadway-backend=true \
-Dman-pages=true \
-Dbuild-tests=false \
-Dbuild-testsuite=false \
-Dbuild-examples=false \
-Dbuild-demos=false \
-Dwin32-backend=false \
-Dmacos-backend=false \

- uses: meson/compile

- uses: meson/install

- runs: |
# We've had trouble with this build accidentally including pango. This should be fixed,
# but throw in a test here in case.
if [ -f ${{targets.destdir}}/usr/lib/libpango-1.0.so ]; then
echo "ERROR: libpango-1.0.so found in /usr/lib. This is a bug in the build system."
exit 1
fi

- uses: strip

subpackages:
- name: ${{package.name}}-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- shared-mime-info
- at-spi2-core-dev
- gdk-pixbuf-dev
- glib-dev
- libepoxy-dev
- libxext-dev
- libxi-dev
- libxinerama-dev
- libxkbcommon-dev
- wayland-dev
- shaderc
description: ${{package.name}} dev

- name: ${{package.name}}-doc
pipeline:
- uses: split/manpages
description: ${{package.name}} manpages

- name: ${{package.name}}-lang
pipeline:
- uses: split/locales
description: ${{package.name}} locales

update:
enabled: false
exclude-reason: "TODO: enable update, Hosted on GitLab, can't find a release monitor for it yet. Waiting for GitLab support"
50 changes: 50 additions & 0 deletions libsass.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
package:
name: libsass
version: "3.6.6"
epoch: 0
description: C/C++ implementation of a Sass compiler
copyright:
- license: MIT

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- libtool
- wolfi-baselayout

pipeline:
- uses: git-checkout
with:
repository: https://github.com/sass/libsass
tag: ${{package.version}}
expected-commit: 7037f03fabeb2b18b5efa84403f5a6d7a990f460

- runs: autoreconf -vfi

- uses: autoconf/configure
with:
opts: |
--disable-static

- uses: autoconf/make

- uses: autoconf/make-install

- uses: strip

subpackages:
- name: ${{package.name}}-dev
description: C/C++ implementation of a Sass compiler - development files
dependencies:
runtime:
- libsass
pipeline:
- uses: split/dev

update:
enabled: true
github:
identifier: sass/libsass
Loading
Loading