-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stefan Wolfsheimer
committed
Oct 23, 2024
1 parent
3f99fc2
commit 0f6cb8b
Showing
4 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
easybuild/easyconfigs/g/GST-plugins-base/GST-plugins-base-1.24.8-GCC-13.3.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
easyblock = 'MesonNinja' | ||
|
||
name = 'GST-plugins-base' | ||
version = '1.24.8' | ||
|
||
homepage = 'https://gstreamer.freedesktop.org/' | ||
description = """GStreamer is a library for constructing graphs of media-handling | ||
components. The applications it supports range from simple | ||
Ogg/Vorbis playback, audio/video streaming to complex audio | ||
(mixing) and video (non-linear editing) processing.""" | ||
|
||
toolchain = {'name': 'GCC', 'version': '13.3.0'} | ||
|
||
source_urls = ['https://gstreamer.freedesktop.org/src/gst-plugins-base'] | ||
sources = [SOURCELOWER_TAR_XZ] | ||
checksums = ['10fb31743750ccd498d3933e8aaecda563ebc65596a6ab875b47ee936e4b9599'] | ||
|
||
builddependencies = [ | ||
('Meson', '1.4.0'), | ||
('Ninja', '1.12.1'), | ||
('GObject-Introspection', '1.80.1'), | ||
('gettext', '0.22.5'), | ||
('pkgconf', '2.2.0'), | ||
('Bison', '3.8.2'), | ||
] | ||
|
||
dependencies = [ | ||
('zlib', '1.3.1'), | ||
('GLib', '2.80.4'), | ||
('GStreamer', '1.24.8'), | ||
('Gdk-Pixbuf', '2.42.11'), | ||
('X11', '20240607'), | ||
('Mesa', '24.1.3'), | ||
('Graphene', '1.10.8'), | ||
] | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/gst-%s-1.0' % x for x in ['discoverer', 'play', 'device-monitor']] + | ||
['lib/libgst%s-1.0.%s' % (x, SHLIB_EXT) for x in ['app', 'audio', 'video']], | ||
'dirs': ['include', 'share'] | ||
} | ||
|
||
moduleclass = 'vis' |
47 changes: 47 additions & 0 deletions
47
easybuild/easyconfigs/g/GStreamer/GStreamer-1.24.8-GCC-13.3.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
easyblock = 'MesonNinja' | ||
|
||
name = 'GStreamer' | ||
version = '1.24.8' | ||
|
||
homepage = 'https://gstreamer.freedesktop.org/' | ||
description = """GStreamer is a library for constructing graphs of media-handling | ||
components. The applications it supports range from simple | ||
Ogg/Vorbis playback, audio/video streaming to complex audio | ||
(mixing) and video (non-linear editing) processing.""" | ||
|
||
toolchain = {'name': 'GCC', 'version': '13.3.0'} | ||
|
||
source_urls = ['https://%(namelower)s.freedesktop.org/src/%(namelower)s'] | ||
sources = [SOURCELOWER_TAR_XZ] | ||
patches = ['%(name)s-1.24_fix_bad_suid.patch'] | ||
checksums = ['b807dbf36c5d2b3ce1c604133ed0c737350f9523ce4d8d644a1177c5f9d6ded3', # gstreamer-1.24.8.tar.xz | ||
'e40c8b195cc9d44f2d9b92e57608e097ef8dac6fa761c5610fcb836f88610cb1', # %(name)s-1.24_fix_bad_suid.patch | ||
] | ||
|
||
builddependencies = [ | ||
('Meson', '1.4.0'), | ||
('Ninja', '1.12.1'), | ||
('Perl', '5.38.2'), | ||
('Bison', '3.8.2'), | ||
('flex', '2.6.4'), | ||
('GObject-Introspection', '1.80.1'), | ||
('gettext', '0.22.5'), | ||
('pkgconf', '2.2.0'), | ||
] | ||
dependencies = [ | ||
('Python', '3.12.3'), | ||
('zlib', '1.3.1'), | ||
('GMP', '6.3.0'), | ||
('GSL', '2.8'), | ||
('GLib', '2.80.4'), | ||
('libunwind', '1.8.1'), | ||
('elfutils', '0.191'), | ||
] | ||
|
||
|
||
sanity_check_paths = { | ||
'files': [], | ||
'dirs': ['include', 'share', 'libexec'], | ||
} | ||
|
||
moduleclass = 'vis' |
22 changes: 22 additions & 0 deletions
22
easybuild/easyconfigs/g/GStreamer/GStreamer-1.24_fix_bad_suid.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Do NOT make files setuid or try to do setcap. | ||
That's a recipe for disaster. | ||
Åke Sandgren, 20221031 | ||
Stefan Wolfsheimer, upated to version 1.24.8 | ||
|
||
--- gstreamer-1.24.8.orig/libs/gst/helpers/ptp/ptp_helper_post_install.sh 2024-09-19 12:01:21.000000000 +0200 | ||
+++ gstreamer-1.24.8/libs/gst/helpers/ptp/ptp_helper_post_install.sh 2024-10-22 17:43:55.971711002 +0200 | ||
@@ -11,14 +11,10 @@ | ||
setuid-root) | ||
echo "$0: permissions before: " | ||
ls -l "$ptp_helper" | ||
- chown root "$ptp_helper" || true | ||
- chmod u+s "$ptp_helper" || true | ||
echo "$0: permissions after: " | ||
ls -l "$ptp_helper" | ||
;; | ||
capabilities) | ||
- echo "Calling $setcap cap_sys_nice,cap_net_bind_service,cap_net_admin+ep $ptp_helper" | ||
- $setcap cap_sys_nice,cap_net_bind_service,cap_net_admin+ep "$ptp_helper" || true | ||
;; | ||
none) | ||
echo "No perms/caps to set for $ptp_helper" |
32 changes: 32 additions & 0 deletions
32
easybuild/easyconfigs/g/Graphene/Graphene-1.10.8-GCCcore-13.3.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
easyblock = 'MesonNinja' | ||
|
||
name = 'Graphene' | ||
version = '1.10.8' | ||
|
||
homepage = 'https://ebassi.github.io/graphene/' | ||
description = "Graphene is a thin layer of types for graphic libraries" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '13.3.0'} | ||
|
||
github_account = 'ebassi' | ||
source_urls = [GITHUB_LOWER_SOURCE] | ||
sources = ['%(version)s.tar.gz'] | ||
checksums = ['922dc109d2dc5dc56617a29bd716c79dd84db31721a8493a13a5f79109a4a4ed'] | ||
|
||
builddependencies = [ | ||
('Meson', '1.4.0'), | ||
('Ninja', '1.12.1'), | ||
('pkgconf', '2.2.0'), | ||
('GObject-Introspection', '1.80.1'), | ||
('binutils', '2.42'), | ||
] | ||
dependencies = [('GLib', '2.80.4')] | ||
|
||
configopts = "-Dgobject_types=true -Dintrospection=enabled" | ||
|
||
sanity_check_paths = { | ||
'files': ['lib/libgraphene-1.0.%s' % SHLIB_EXT, 'share/gir-1.0/Graphene-1.0.gir'], | ||
'dirs': ['include/graphene-1.0', 'lib/pkgconfig'], | ||
} | ||
|
||
moduleclass = 'lib' |