Compare commits

..

21 Commits

Author SHA1 Message Date
Cappy Ishihara eba5f1b84c Revert #3013 2025-01-18 23:55:24 +07:00
Raboneko fb2db2b6a1 bump: gitoxide 2025-01-18 15:59:31 +00:00
Raboneko 06f9f77b1a bump: walker 2025-01-18 15:39:07 +00:00
Gil 40a88cf490 Fix (conflict/other issues): Switch Steam to the correct arch (#3043)
* Change: Correct arch

Signed-off-by: Gil <rockgrub@protonmail.com>

* Use Mock, fix up formatting

Signed-off-by: Gil <rockgrub@protonmail.com>

* Fix: Spec, sorry I'm on mobile so editing files one at a time

Signed-off-by: Gil <rockgrub@protonmail.com>

---------

Signed-off-by: Gil <rockgrub@protonmail.com>
2025-01-18 21:58:30 +08:00
Raboneko 925a9b161c bump: discord-canary-openasar discord-canary youtube-music 2025-01-18 05:45:44 +00:00
Raboneko a5de55489e bump(nightly): flow nightly nightly prismlauncher-nightly nim-nightly opentabletdriver-nightly 2025-01-18 01:23:58 +00:00
Raboneko 3e6efd6072 bump: blueprint-compiler 2025-01-17 23:16:50 +00:00
Raboneko 4159d284cc bump: mise 2025-01-17 19:46:59 +00:00
Raboneko 880afd6ff6 bump: discord-canary-openasar discord-canary 2025-01-17 19:25:52 +00:00
Raboneko 12099a6b56 bump: codium 2025-01-17 18:42:09 +00:00
Raboneko 469cd97a42 bump: xyproto-env 2025-01-17 11:48:33 +00:00
sadlerm4 22996bf9c6 add: kmonad (#3033)
* add: kmonad

* packager
2025-01-17 17:34:16 +08:00
Gil d40e8a24d4 fix: multimedia arches (#2993)
* Update ffmpeg anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Change: Move to Multimedia folder

* Update anda/multimedia/x264-bootstrap/anda.hcl

Co-authored-by: madomado <madonuko@outlook.com>
Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Changes: Pain?

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* include cstdint

Signed-off-by: madomado <madonuko@outlook.com>

* try this now

Signed-off-by: madomado <madonuko@outlook.com>

---------

Signed-off-by: Gil <rockgrub@protonmail.com>
Signed-off-by: madomado <madonuko@outlook.com>
Co-authored-by: madomado <madonuko@outlook.com>
2025-01-17 00:38:35 -06:00
Raboneko 77f475d710 bump: discord-canary-openasar discord-canary 2025-01-17 02:31:01 +00:00
sadlerm4 09ac34ee6a update pop-launcher patchfile (#2654) 2025-01-16 19:59:19 -06:00
Gil 991c5b718a add: mjpegtools (#2991)
* Add: mjpegtools

* Fix?: Try this

Signed-off-by: Gil <rockgrub@protonmail.com>

* -Wno-template-body

Signed-off-by: madomado <madonuko@outlook.com>

* accidentally set it on the wrong arch gosh

Signed-off-by: madomado <madonuko@outlook.com>

* Try this maybe as it affects all 32-bit arches

Signed-off-by: Gil <rockgrub@protonmail.com>

* nah try this instead

Signed-off-by: madomado <madonuko@outlook.com>

* also fix that for cxx

Signed-off-by: madomado <madonuko@outlook.com>

* screw this I'm enabling this on all arches

Signed-off-by: madomado <madonuko@outlook.com>

---------

Signed-off-by: Gil <rockgrub@protonmail.com>
Signed-off-by: madomado <madonuko@outlook.com>
Co-authored-by: madomado <madonuko@outlook.com>
2025-01-16 19:59:03 -06:00
Raboneko a5cef48281 bump(nightly): flow nightly nightly prismlauncher-nightly nim-nightly vala-nightly opentabletdriver-nightly yt-dlp 2025-01-17 01:25:47 +00:00
Raboneko 78bb48cda4 bump: ruffle mise 2025-01-17 01:22:06 +00:00
Cappy Ishihara fc60a7018d Add some dependencies for FFmpeg (#3027)
* Add some dependencies for FFmpeg

* add uavs3d

* Fix changelogs

* Vendor DeckLink SDK

* format uavs3d patch properly

* Fix kvazaar
2025-01-16 17:17:14 -06:00
Raboneko ad345e1ae5 bump: unity-session 2025-01-16 22:48:05 +00:00
Cappy Ishihara d6965718bb add: cuda-nvcc (#3025) 2025-01-16 16:13:48 -06:00
87 changed files with 1705 additions and 298 deletions
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary-openasar
Version: 0.0.568
Version: 0.0.571
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary
Version: 0.0.568
Version: 0.0.571
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers
URL: discord.com
+1 -1
View File
@@ -1,4 +1,4 @@
%global ver 2025-01-16
%global ver 2025-01-17
%global goodver %(echo %ver | sed 's/-//g')
%global __brp_mangle_shebangs %{nil}
%bcond_without mold
+1 -1
View File
@@ -5,7 +5,7 @@
%global pnpm npx pnpm@%{pnpm_version}
Name: youtube-music
Version: 3.7.1
Version: 3.7.2
Release: 1%?dist
Summary: YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
Source1: youtube-music.desktop
@@ -1,8 +1,8 @@
%define _ubuntu_rel 8ubuntu1
%define _ubuntu_rel 1ubuntu1
Name: unity-session
Summary: Lightdm profile for Unity 7
Version: 46.0
Version: 47.0.1
Release: 1%?dist
License: GPL-2.0
@@ -10,7 +10,7 @@
# https://github.com/abenz1267/walker
%global goipath github.com/abenz1267/walker
Version: 0.12.2
Version: 0.12.3
%gometa -f
@@ -1,5 +1,5 @@
Name: terra-blueprint-compiler
Version: 0.14.0
Version: 0.16.0
Release: 1%?dist
License: LGPL-3.0-or-later
Summary: Markup language for GTK user interfaces
+1 -1
View File
@@ -12,7 +12,7 @@
%endif
Name: codium
Version: 1.96.3.25013
Version: 1.96.4.25017
Release: 1%?dist
Summary: Code editing. Redefined.
License: MIT
+2 -2
View File
@@ -1,6 +1,6 @@
%global commit ce068ee0dc4b9acae32f8784190683bd2daefd43
%global commit 0eec33c35ea85a33de8a5fa9be363278db79ea3f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250116
%global commit_date 20250118
Name: flow-control-nightly
Version: %commit_date.%shortcommit
@@ -1,12 +1,12 @@
%global commit ff9414d9ea7b16a375d41cde8f6f193de7e5db72
%global commit 72d085525b22d66468c5969a4d507a0fa68d4a04
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250116
%global commit_date 20250118
%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV
%global cache_dir %{builddir}/zig-cache
Name: ghostty-nightly
Version: %{commit_date}.%{shortcommit}
Release: 3%{?dist}
Release: 1%?dist
Summary: A fast, native terminal emulator written in Zig; this is the Tip (nightly) build.
License: MIT AND MPL-2.0 AND OFL-1.1 AND (WTFPL OR CC0-1.0) AND Apache-2.0
URL: https://ghostty.org/
+2 -2
View File
@@ -1,6 +1,6 @@
%global commit a41d72ee81f1031c62a6b809be41b5a7a2c8325d
%global commit bf0578e32a44a43d7626dafd5c31851dc571ddba
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250116
%global commit_date 20250118
%global ver 0.171.0
%bcond_with check
@@ -1,11 +1,11 @@
%global real_name prismlauncher
%global nice_name PrismLauncher
%global commit f4f1d5f0d7ef6f518843ac5ecfec3ed04ddfaf6e
%global commit f17599c8b870072e2da759c85df060f7088bf388
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global libnbtplusplus_commit 23b955121b8217c1c348a9ed2483167a6f3ff4ad
%global commit_date 20250109
%global commit_date 20250118
%global snapshot_info %{commit_date}.%{shortcommit}
%bcond_without qt6
+5 -6
View File
@@ -1,10 +1,9 @@
project pkg {
arches = ["x86_64"]
arches = ["i386"]
rpm {
spec = "steam.spec"
spec = "steam.spec"
}
// todo: force-arches macro?
// labels {
// multilib = 1
// }
labels {
mock = 1
}
}
+1 -1
View File
@@ -33,7 +33,7 @@ Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file. udev rules are MIT.
License: Steam License Agreement and MIT
URL: http://www.steampowered.com/
ExclusiveArch: x86_64
ExclusiveArch: i686
Packager: Cappy Ishihara <cappy@fyralabs.com>
Source0: https://repo.steampowered.com/%{name}/archive/beta/%{name}_%{version}.tar.gz
@@ -4,7 +4,7 @@
# https://github.com/xyproto/env
%global goipath github.com/xyproto/env
Version: 2.5.2
Version: 2.5.3
%gometa -f
+2 -2
View File
@@ -1,8 +1,8 @@
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
%global commit 8d0e853e0afc7d0c4830cb7e03dec88c5c814aef
%global commit 2af9ddc286b4f0c6d467fb7a95a60a1e10437744
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ver 2.3.1
%global commit_date 20250116
%global commit_date 20250118
%global debug_package %nil
Name: nim-nightly
-3
View File
@@ -2,7 +2,4 @@ project pkg {
rpm {
spec = "python3-protobuf.spec"
}
labels {
subrepo = "extras"
}
}
+1 -1
View File
@@ -5,7 +5,7 @@
%global crate gitoxide
Name: rust-gitoxide
Version: 0.40.0
Version: 0.41.0
Release: 1%?dist
Summary: Command-line application for interacting with git repositories
@@ -1,25 +1,13 @@
From 211c16228c2d7ec02eb63a23b3190bc840bb6b35 Mon Sep 17 00:00:00 2001
From: Cappy Ishihara <cappy@cappuchino.xyz>
Date: Fri, 20 May 2022 02:59:50 +0700
Subject: [PATCH] Copy instead of symlink
---
justfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/justfile b/justfile
index 9aab837..826049d 100644
index 06793e9..5b57310 100644
--- a/justfile
+++ b/justfile
@@ -60,7 +60,7 @@ install_plugins:
dest={{plugin_dir}}${plugin}
@@ -70,7 +70,7 @@ install-plugins:
dest={{plugin-dir}}${plugin}
mkdir -p ${dest}
install -Dm0644 plugins/src/${plugin}/*.ron ${dest}
- ln -sf {{bin_path}} {{plugin_dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/')
+ cp -af {{bin_path}} {{plugin_dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/')
- ln -srf {{bin-path}} {{plugin-dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/')
+ cp -af {{bin-path}} {{plugin-dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/')
done
# Install pop-launcher scripts
--
2.36.1
@@ -1,25 +0,0 @@
From db7faffa6d4da9c53a34180854508ad89acf16de Mon Sep 17 00:00:00 2001
From: Cappy Ishihara <cappy@cappuchino.xyz>
Date: Fri, 20 May 2022 19:26:32 +0700
Subject: [PATCH] Remove frozen lock
---
justfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/justfile b/justfile
index 826049d..261fb13 100644
--- a/justfile
+++ b/justfile
@@ -2,7 +2,7 @@ debug := '0'
vendor := '0'
target := if debug == '1' { 'debug' } else { 'release' }
-vendor_args := if vendor == '1' { '--frozen --offline' } else { '' }
+vendor_args := if vendor == '1' { '--offline' } else { '' }
debug_args := if debug == '1' { '' } else { '--release' }
cargo_args := vendor_args + ' ' + debug_args
--
2.36.1
@@ -13,18 +13,21 @@ Summary: Library for writing plugins and frontends for pop-launcher
# Upstream license specification: MPL-2.0
License: MPL-2.0
URL: https://github.com/pop-os/launcher/
Source: https://github.com/pop-os/launcher/archive/refs/tags/%{version}.tar.gz
Source: %{url}/archive/refs/tags/%{version}.tar.gz
Patch: 0001-Copy-instead-of-symlink.patch
Patch1: 0001-Remove-frozen-lock.patch
Provides: rust-%{crate} = 1.2.1
Provides: rust-%{crate} = 1.2.4
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
BuildRequires: external:crate:just
BuildRequires: just
BuildRequires: anda-srpm-macros
BuildRequires: fdupes
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: mold
Requires: (gnome-shell-extension-pop-shell or cosmic-launcher)
%global _description %{expand:
Library for writing plugins and frontends for pop-launcher.}
@@ -37,7 +40,8 @@ Library for writing plugins and frontends for pop-launcher.}
%cargo_prep_online
%build
just
%set_build_flags
just build-release
%install
just rootdir=%{buildroot} install
@@ -3,11 +3,11 @@
%global priority 90
%global real_name vala
%global commit 0732bb119d968a8bab154c308d1498a31aa7d6af
%global commit d7d33aa7ea5cee2e0bc30c833a396b489c0eb4ac
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global repo https://gitlab.gnome.org/GNOME/%{real_name}.git
%global commit_date 20241101
%global commit_date 20250117
%global snapshot_info %{commit_date}.%{shortcommit}
Name: vala-nightly
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "davs2.spec"
}
}
+93
View File
@@ -0,0 +1,93 @@
%global commit0 b41cf117452e2d73d827f02d3e30aa20f1c721ac
%global date 20220903
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Name: davs2
Version: 1.6
Release: 5%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
Summary: An open-source decoder of AVS2-P2/IEEE1857.4 video coding standard
URL: https://github.com/pkuvcl/%{name}
License: GPLv2
%if "%{?shortcommit0}"
Source0: https://github.com/pkuvcl/%{name}/archive/%{commit0}/%{name}-%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
%else
Source0: https://github.com/pkuvcl/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
%endif
BuildRequires: gcc-c++
%ifarch x86_64
BuildRequires: nasm >= 2.13
%endif
%description
davs2 is an open-source decoder of AVS2-P2/IEEE1857.4 video coding standard.
This package contains the command line decoder.
%package libs
Summary: AVS2-P2/IEEE1857.4 decoder library
%description libs
davs2 is an open-source decoder of AVS2-P2/IEEE1857.4 video coding standard.
This package contains the shared library.
%package devel
Summary: AVS2-P2/IEEE1857.4 decoder library development files
Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
davs2 is an open-source decoder of AVS2-P2/IEEE1857.4 video coding standard.
This package contains the shared library development files.
%prep
# Use flat condition or it fails on EPEL 7
%if "%{?shortcommit0}"
%autosetup -n %{name}-%{commit0}
%else
%autosetup
%endif
%build
cd build/linux
%configure \
--bit-depth='8' \
--chroma-format='all' \
%ifarch aarch64
--disable-asm \
%endif
--disable-static \
--enable-pic \
--enable-shared
# Remove hardcoded CFLAGS on generated file containing variables
sed -i \
-e 's|CFLAGS=.*%{optflags}|CFLAGS=%{optflags}|g' \
config.mak
%make_build
%install
cd build/linux
%make_install
%ldconfig_scriptlets libs
%files
%{_bindir}/%{name}
%files libs
%license COPYING
%{_libdir}/lib%{name}.so.16
%files devel
%doc README.md
%{_includedir}/%{name}.h
%{_includedir}/%{name}_config.h
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
%autochangelog
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("pkuvcl/davs2"));
+2
View File
@@ -1,8 +1,10 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "libfreeaptx.spec"
}
labels {
weekly = 1
mock = 1
}
}
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "libnpp.spec"
}
}
+152
View File
@@ -0,0 +1,152 @@
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: libnpp
Epoch: 1
Version: 12.3.1.54
Release: 1%{?dist}
Summary: NVIDIA Performance Primitives libraries
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-x86_64/%{name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-sbsa/%{name}-linux-sbsa-%{version}-archive.tar.xz
Source10: nppc.pc
Source11: nppial.pc
Source12: nppicc.pc
Source13: nppicom.pc
Source14: nppidei.pc
Source15: nppif.pc
Source16: nppig.pc
Source17: nppim.pc
Source18: nppi.pc
Source19: nppist.pc
Source20: nppisu.pc
Source21: nppitc.pc
Source22: npps.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
The NVIDIA Performance Primitives library (NPP) is a collection of
GPU-accelerated image, video, and signal processing functions that deliver 5x
to 10x faster performance than comparable CPU-only implementations. Using NPP,
developers can take advantage of over 1900 image processing and approx 600
signal processing primitives to achieve significant improvements in application
performance in a matter of hours.
%package devel
Summary: Development files for NVIDIA Performance Primitives libraries.
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the NVIDIA Performance Primitives
libraries.
%package static
Summary: Static libraries for NVIDIA Performance Primitives
Requires: %{name}-devel%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description static
This package contains static libraries for NVIDIA Performance Primitives
libraries.
%prep
%ifarch x86_64
%setup -q -n %{name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr lib/lib* %{buildroot}%{_libdir}/
cp -fr %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} \
%{SOURCE16} %{SOURCE17} %{SOURCE18} %{SOURCE19} %{SOURCE20} %{SOURCE21} \
%{SOURCE22} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libnppc.so.*
%{_libdir}/libnppial.so.*
%{_libdir}/libnppicc.so.*
%{_libdir}/libnppidei.so.*
%{_libdir}/libnppif.so.*
%{_libdir}/libnppig.so.*
%{_libdir}/libnppim.so.*
%{_libdir}/libnppist.so.*
%{_libdir}/libnppisu.so.*
%{_libdir}/libnppitc.so.*
%{_libdir}/libnpps.so.*
%files devel
%{_includedir}/nppcore.h
%{_includedir}/nppdefs.h
%{_includedir}/npp.h
%{_includedir}/nppi_arithmetic_and_logical_operations.h
%{_includedir}/nppi_color_conversion.h
%{_includedir}/nppi_data_exchange_and_initialization.h
%{_includedir}/nppi_filtering_functions.h
%{_includedir}/nppi_geometry_transforms.h
%{_includedir}/nppi.h
%{_includedir}/nppi_linear_transforms.h
%{_includedir}/nppi_morphological_operations.h
%{_includedir}/nppi_statistics_functions.h
%{_includedir}/nppi_support_functions.h
%{_includedir}/nppi_threshold_and_compare_operations.h
%{_includedir}/npps_arithmetic_and_logical_operations.h
%{_includedir}/npps_conversion_functions.h
%{_includedir}/npps_filtering_functions.h
%{_includedir}/npps.h
%{_includedir}/npps_initialization.h
%{_includedir}/npps_statistics_functions.h
%{_includedir}/npps_support_functions.h
%{_libdir}/libnppc.so
%{_libdir}/libnppial.so
%{_libdir}/libnppicc.so
%{_libdir}/libnppidei.so
%{_libdir}/libnppif.so
%{_libdir}/libnppig.so
%{_libdir}/libnppim.so
%{_libdir}/libnppist.so
%{_libdir}/libnppisu.so
%{_libdir}/libnppitc.so
%{_libdir}/libnpps.so
%{_libdir}/pkgconfig/npp*.pc
%files static
%{_libdir}/libnppc_static.a
%{_libdir}/libnppial_static.a
%{_libdir}/libnppicc_static.a
%{_libdir}/libnppidei_static.a
%{_libdir}/libnppif_static.a
%{_libdir}/libnppig_static.a
%{_libdir}/libnppim_static.a
%{_libdir}/libnppist_static.a
%{_libdir}/libnppisu_static.a
%{_libdir}/libnppitc_static.a
%{_libdir}/libnpps_static.a
%changelog
%autochangelog
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppc
Description: NVIDIA Performance Primitives - Core
Version: CUDA_VERSION
Libs: -L${libdir} -lnppc
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppi
Description: NVIDIA Performance Primitives - Image Processing
Version: CUDA_VERSION
Libs: -L${libdir} -lnppi
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppial
Description: NVIDIA Performance Primitives - Image Processing - Arithmetic and Logic
Version: CUDA_VERSION
Libs: -L${libdir} -lnppial
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppicc
Description: NVIDIA Performance Primitives - Image Processing - Color Conversion
Version: CUDA_VERSION
Libs: -L${libdir} -lnppicc
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppicom
Description: NVIDIA Performance Primitives - Image Processing - Compression
Version: CUDA_VERSION
Libs: -L${libdir} -lnppicom
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppidei
Description: NVIDIA Performance Primitives - Image Processing - DEI
Version: CUDA_VERSION
Libs: -L${libdir} -lnppidei
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppif
Description: NVIDIA Performance Primitives - Image Processing - Filters
Version: CUDA_VERSION
Libs: -L${libdir} -lnppif
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppig
Description: NVIDIA Performance Primitives - Image Processing - Geometry
Version: CUDA_VERSION
Libs: -L${libdir} -lnppig
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppim
Description: NVIDIA Performance Primitives - Image Processing - Morphological
Version: CUDA_VERSION
Libs: -L${libdir} -lnppim
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppist
Description: NVIDIA Performance Primitives - Image Processing - Statistic and Linear
Version: CUDA_VERSION
Libs: -L${libdir} -lnppist
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppisu
Description: NVIDIA Performance Primitives - Image Processing - Support and Data Exchange
Version: CUDA_VERSION
Libs: -L${libdir} -lnppisu
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nppitc
Description: NVIDIA Performance Primitives - Image Processing - Threshold and Compare
Version: CUDA_VERSION
Libs: -L${libdir} -lnppitc
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: npps
Description: NVIDIA Performance Primitives - Signal Processing
Version: CUDA_VERSION
Libs: -L${libdir} -lnpps
Cflags: -I${includedir}
+3
View File
@@ -0,0 +1,3 @@
import "andax/nvidia.rhai" as nvidia;
rpm.version(nvidia::nvidia_component_version("libnpp"));
+4
View File
@@ -1,5 +1,9 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "rtmpdump.spec"
}
labels {
mock =1
}
}
+2
View File
@@ -1,8 +1,10 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "vo-aacenc.spec"
}
labels {
weekly = 1
mock = 1
}
}
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "xavs.spec"
}
}
+51
View File
@@ -0,0 +1,51 @@
diff -Naur xavs-code-r55-trunk.old/configure xavs-code-r55-trunk/configure
--- xavs-code-r55-trunk.old/configure 2024-08-13 14:58:40.981179321 +0200
+++ xavs-code-r55-trunk/configure 2024-08-13 15:08:52.935514480 +0200
@@ -404,14 +404,13 @@
fi
if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then
- CFLAGS="$CFLAGS -s -fomit-frame-pointer"
- LDFLAGS="$LDFLAGS -s"
+ CFLAGS="$CFLAGS -fomit-frame-pointer"
fi
if [ "$debug" = "yes" ]; then
- CFLAGS="-O1 -g $CFLAGS"
+ CFLAGS="-g $CFLAGS"
else
- CFLAGS="-O4 -ffast-math $CFLAGS"
+ CFLAGS="-ffast-math $CFLAGS"
fi
if cc_check "stdio.h" "" "fseeko(stdin,0,0);" ; then
diff -Naur xavs-code-r55-trunk.old/Makefile xavs-code-r55-trunk/Makefile
--- xavs-code-r55-trunk.old/Makefile 2024-08-13 14:58:40.981179321 +0200
+++ xavs-code-r55-trunk/Makefile 2024-08-13 15:23:58.864416440 +0200
@@ -67,10 +67,12 @@
$(RANLIB) libxavs.a
$(SONAME): .depend $(OBJS) $(OBJASM)
- $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SOFLAGS) $(LDFLAGS)
+ $(CC) -shared -o $@.0.0 $(OBJS) $(OBJASM) -Wl,-soname,$(SOFLAGS) $(LDFLAGS)
+ ln -s $@.0.0 $@
+ ln -s $@ libxavs.so
-xavs$(EXE): $(OBJCLI) libxavs.a
- $(CC) -o $@ $+ $(LDFLAGS)
+xavs$(EXE): $(OBJCLI) libxavs.a $(SONAME)
+ $(CC) -o $@ $(OBJCLI) $(LDFLAGS) -L. -lxavs
xavsvfw.dll: libxavs.a $(wildcard vfw/*.c vfw/*.h)
make -C vfw/build/cygwin
@@ -145,8 +147,9 @@
ifeq ($(SYS),MINGW)
$(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(bindir))
else
+ $(if $(SONAME), install -m 755 $(SONAME).0.0 $(DESTDIR)$(libdir))
+ $(if $(SONAME), ln -sf $(SONAME).0.0 $(DESTDIR)$(libdir)/$(SONAME))
$(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libxavs.$(SOSUFFIX))
- $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir))
endif
$(if $(IMPLIBNAME), install -m 644 $(IMPLIBNAME) $(DESTDIR)$(libdir))
+66
View File
@@ -0,0 +1,66 @@
Name: xavs
Version: 0.1.55
Release: 1%{?dist}
Summary: AVS1 (First-generation AVS Standards) library
License: GPLv2
URL: http://xavs.sourceforge.net/
Source0: https://sourceforge.net/code-snapshots/svn/x/xa/xavs/code/xavs-code-r55-trunk.zip
Patch0: %{name}-cflags.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: libtool
#BuildRequires: yasm
%description
AVS is a complete standard system including system, video, audio, and digital
rights management, providing a more comprehensive solution for the digital audio
and video industry.
%package -n lib%{name}
Summary: AVS1 (First-generation AVS Standards) library
%description -n lib%{name}
AVS is a complete standard system including system, video, audio, and digital
rights management, providing a more comprehensive solution for the digital audio
and video industry.
%package -n lib%{name}-devel
Summary: Development files for %{name}
Requires: lib%{name}%{?_isa} = %{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1 -n xavs-code-r55-trunk
%build
%configure \
--disable-asm \
--enable-pic \
--enable-shared \
--extra-cflags="-Wno-int-conversion -Wno-declaration-missing-parameter-type"
%make_build
%install
%make_install
rm -f %{buildroot}%{_libdir}/*.a
%files
%{_bindir}/%{name}
%files -n lib%{name}
%{_libdir}/*.so.*
%files -n lib%{name}-devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
%autochangelog
+4
View File
@@ -1,5 +1,9 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "faad2.spec"
}
labels {
mock = 1
}
}
+2
View File
@@ -1,8 +1,10 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "ffmpeg.spec"
}
labels {
updbranch = 1
mock = 1
}
}
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "kvazaar.spec"
}
}
+66
View File
@@ -0,0 +1,66 @@
Name: kvazaar
Version: 2.3.1
Release: 2%{?dist}
Summary: An open-source HEVC encoder
License: BSD and ISC
URL: https://ultravideo.fi/kvazaar.html
Source0: https://github.com/ultravideo/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: libtool
BuildRequires: yasm
%description
Kvazaar is the leading academic open-source HEVC encoder developed from scratch
in C. This package contains the application for encoding videos.
%package libs
Summary: HEVC encoder %{name} libraries
%description libs
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}. This package contains the shared libraries.
%package devel
Summary: Development files for %{name}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
autoreconf -vif
%configure --enable-static=no
%make_build
%install
%make_install
find %{buildroot} -name '*.la' -delete
# Pick up docs in the files section
rm -fr %{buildroot}%{_docdir}
%files
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.*
%files libs
%license LICENSE*
%doc README.md CREDITS
%{_libdir}/lib%{name}.so.7
%{_libdir}/lib%{name}.so.7.4.0
%files devel
%{_includedir}/%{name}.h
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
%autochangelog
+9
View File
@@ -0,0 +1,9 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "mjpegtools.spec"
}
labels {
mock = 1
}
}
+222
View File
@@ -0,0 +1,222 @@
%global build_cflags %{__build_flags_lang_c} %{?_distro_extra_cflags} -Wno-template-body
%global build_cxxflags %{__build_flags_lang_cxx} %{?_distro_extra_cxxflags} -Wno-template-body
Name: mjpegtools
Version: 2.2.1
Release: 1%{?dist}
Summary: Tools to manipulate MPEG data
License: GPLv2
URL: http://mjpeg.sourceforge.net/
Source0: https://downloads.sourceforge.net/sourceforge/mjpeg/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libjpeg-devel
BuildRequires: nasm
BuildRequires: pkgconfig(libdv) >= 0.9
BuildRequires: pkgconfig(sdl) >= 1.1.3
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(gtk+-2.0) >= 2.4.0
BuildRequires: libtool
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: %{name}-lav%{?_isa} = %{version}-%{release}
Requires: ffmpeg
Requires: which
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%description
The mjpeg programs are a set of tools that can do recording of videos and playback.
This package contains mjpegtools console utilities.
%package gui
Summary: GUI tools to manipulate MPEG data
Requires: %{name}%{?_isa} = %{version}-%{release}
%description gui
This package contains mjpegtools GUI utilities.
%package libs
Summary: MJPEGtools libraries
%description libs
This package contains libraries which are used by %{name} and also by several
other projects.
%package lav
Summary: MJPEGtools lavpipe libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description lav
This package contains libraries used by %{name}.
%package devel
Summary: Development files for mjpegtools libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
This package contains development files for building applications that use
%{name} libraries.
%package lav-devel
Summary: Development files for mjpegtools lavpipe libraries
Requires: %{name}-lav%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description lav-devel
This package contains development files for building applications that use
%{name} lavpipe libraries.
%prep
%autosetup -p1
sed -i -e 's/ARCHFLAGS=.*/ARCHFLAGS=/g' configure*
sed -i -e 's|/lib /usr/lib|/%{_lib} %{_libdir}|' configure
for f in docs/yuvfps.1 ; do
iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
done
%build
autoreconf -vif
%configure \
--disable-static \
--with-dga \
--with-gtk \
--with-libdv \
--with-libpng \
--with-libquicktime \
--with-libsdl \
--with-v4l \
--without-sdlgfx
%make_build
%install
%make_install
find %{buildroot} -name "*.la" -delete
rm -f %{buildroot}%{_infodir}/dir
rm %{buildroot}%{_bindir}/mpegtranscode
rm %{buildroot}%{_bindir}/lav2avi.sh
%post
/sbin/install-info %{_infodir}/mjpeg-howto.info %{_infodir}/dir || :
%preun
[ $1 -eq 0 ] && \
/sbin/install-info --delete %{_infodir}/mjpeg-howto.info %{_infodir}/dir || :
%ldconfig_scriptlets libs
%ldconfig_scriptlets lav
%files
%doc CHANGES ChangeLog AUTHORS BUGS README.lavpipe NEWS TODO
%{_bindir}/anytovcd.sh
%{_bindir}/jpeg2yuv
%{_bindir}/lav2mpeg
%{_bindir}/lav2wav
%{_bindir}/lav2yuv
%{_bindir}/lavaddwav
%{_bindir}/lavinfo
%{_bindir}/lavpipe
%{_bindir}/lavtc.sh
%{_bindir}/lavtrans
%{_bindir}/matteblend.flt
%{_bindir}/mjpeg_simd_helper
%{_bindir}/mp2enc
%{_bindir}/mpeg2enc
%{_bindir}/mplex
%{_bindir}/multiblend.flt
%{_bindir}/pgmtoy4m
%{_bindir}/png2yuv
%{_bindir}/pnmtoy4m
%{_bindir}/ppmtoy4m
%{_bindir}/transist.flt
%{_bindir}/y4mblack
%{_bindir}/y4mcolorbars
%{_bindir}/y4mdenoise
%{_bindir}/y4minterlace
%{_bindir}/y4mivtc
%{_bindir}/y4mscaler
%{_bindir}/y4mshift
%{_bindir}/y4mspatialfilter
%{_bindir}/y4mstabilizer
%{_bindir}/y4mtopnm
%{_bindir}/y4mtoppm
%{_bindir}/y4mtoyuv
%{_bindir}/y4munsharp
%{_bindir}/ypipe
%{_bindir}/yuv2lav
%{_bindir}/yuv4mpeg
%{_bindir}/yuvcorrect
%{_bindir}/yuvcorrect_tune
%{_bindir}/yuvdeinterlace
%{_bindir}/yuvdenoise
%{_bindir}/yuvfps
%{_bindir}/yuvinactive
%{_bindir}/yuvkineco
%{_bindir}/yuvmedianfilter
%{_bindir}/yuvscaler
%{_bindir}/yuvycsnoise
%{_bindir}/yuyvtoy4m
%{_infodir}/mjpeg-howto.info*
%{_mandir}/man1/jpeg2yuv.1*
%{_mandir}/man1/lav2mpeg.1*
%{_mandir}/man1/lav2wav.1*
%{_mandir}/man1/lav2yuv.1*
%{_mandir}/man1/lavpipe.1*
%{_mandir}/man1/lavrec.1*
%{_mandir}/man1/lavtrans.1*
%{_mandir}/man1/mjpegtools.1*
%{_mandir}/man1/mp2enc.1*
%{_mandir}/man1/mpeg2enc.1*
%{_mandir}/man1/mplex.1*
%{_mandir}/man1/pgmtoy4m.1*
%{_mandir}/man1/png2yuv.1*
%{_mandir}/man1/pnmtoy4m.1*
%{_mandir}/man1/ppmtoy4m.1*
%{_mandir}/man1/y4mcolorbars.1*
%{_mandir}/man1/y4mdenoise.1*
%{_mandir}/man1/y4mscaler.1*
%{_mandir}/man1/y4mtopnm.1*
%{_mandir}/man1/y4mtoppm.1*
%{_mandir}/man1/y4munsharp.1*
%{_mandir}/man1/yuv2lav.1*
%{_mandir}/man1/yuvdenoise.1*
%{_mandir}/man1/yuvfps.1*
%{_mandir}/man1/yuvinactive.1*
%{_mandir}/man1/yuvkineco.1*
%{_mandir}/man1/yuvmedianfilter.1*
%{_mandir}/man1/yuvscaler.1*
%{_mandir}/man1/yuvycsnoise.1*
%{_mandir}/man5/yuv4mpeg.5*
%files gui
%{_bindir}/glav
%{_bindir}/lavplay
%{_bindir}/y4mhist
%{_bindir}/yuvplay
%{_mandir}/man1/lavplay.1*
%{_mandir}/man1/yuvplay.1*
%files libs
%license COPYING
%{_libdir}/libm*.so.*
%files lav
%license COPYING
%{_libdir}/liblav*.so.*
%files devel
%{_includedir}/%{name}
%exclude %{_includedir}/%{name}/*lav*.h
%{_libdir}/libm*.so
%{_libdir}/pkgconfig/%{name}.pc
%files lav-devel
%{_includedir}/%{name}/*lav*.h
%{_libdir}/liblav*.so
%changelog
%autochangelog
+6
View File
@@ -0,0 +1,6 @@
project pkg {
rpm {
spec = "uavs3d.spec"
}
}
@@ -0,0 +1,20 @@
diff -Naur uavs3d-7b1dd734c926a23f8134b42dbfaac4d22cd6ba1d.old/CMakeLists.txt uavs3d-7b1dd734c926a23f8134b42dbfaac4d22cd6ba1d/CMakeLists.txt
--- uavs3d-7b1dd734c926a23f8134b42dbfaac4d22cd6ba1d.old/CMakeLists.txt 2022-03-16 11:03:27.762312616 +0100
+++ uavs3d-7b1dd734c926a23f8134b42dbfaac4d22cd6ba1d/CMakeLists.txt 2022-03-16 11:03:35.893460120 +0100
@@ -15,4 +15,3 @@
target_link_libraries(uavs3dec m)
endif()
target_link_libraries(uavs3dec uavs3d)
-#target_link_libraries(uavs3dec dl)
diff -Naur uavs3d-7b1dd734c926a23f8134b42dbfaac4d22cd6ba1d.old/source/CMakeLists.txt uavs3d-7b1dd734c926a23f8134b42dbfaac4d22cd6ba1d/source/CMakeLists.txt
--- uavs3d-7b1dd734c926a23f8134b42dbfaac4d22cd6ba1d.old/source/CMakeLists.txt 2022-03-16 11:03:27.764312652 +0100
+++ uavs3d-7b1dd734c926a23f8134b42dbfaac4d22cd6ba1d/source/CMakeLists.txt 2022-03-16 11:03:45.958642708 +0100
@@ -128,6 +128,8 @@
MESSAGE(STATUS "BUILD_SHARED_LIBS \t\t: false")
endif()
add_library(${LIBNAME} ${DIR_UAVS3D_SRC} ${UAVS3D_ASM_FILES})
+set_target_properties(${LIBNAME} PROPERTIES VERSION 1.2.0)
+set_target_properties(${LIBNAME} PROPERTIES SOVERSION 1)
if (NOT MSVC)
target_link_libraries(${LIBNAME} m)
+69
View File
@@ -0,0 +1,69 @@
%global commit0 1fd04917cff50fac72ae23e45f82ca6fd9130bd8
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global date 20230223
Name: uavs3d
Summary: AVS3 decoder library
Version: 1.2.0
Release: 4%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
License: BSD
URL: https://github.com/uavs3/uavs3d
Source0: https://github.com/uavs3/uavs3d/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
Patch0: %{name}-soname.patch
BuildRequires: cmake >= 3.5
BuildRequires: gcc-c++
BuildRequires: git
%description
Opensource and cross-platform AVS3 decoder that supports AVS3-P2 baseline
profile.
%package libs
Summary: AVS3 decoder library
%description libs
Opensource and cross-platform AVS3 decoder that supports AVS3-P2 baseline
profile.
%package devel
Summary: Header files for uavs3d library
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}.
%prep
%autosetup -p1 -n %{name}-%{commit0}
sed -i '/libdir/ s/"lib"/"%{_lib}"/' source/CMakeLists.txt
%build
%cmake \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
-DCMAKE_SKIP_RPATH:BOOL=YES \
-DCOMPILE_10BIT:BOOL=ON
%cmake_build
%install
%cmake_install
install -p -m 755 -D %{__cmake_builddir}/uavs3dec %{buildroot}%{_bindir}/uavs3dec
%files
%{_bindir}/uavs3dec
%files libs
%license COPYING
%doc README.md
%{_libdir}/libuavs3d.so.1
%{_libdir}/libuavs3d.so.%{version}
%files devel
%{_includedir}/%{name}.h
%{_libdir}/libuavs3d.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "vvenc.spec"
}
}
+73
View File
@@ -0,0 +1,73 @@
Name: vvenc
Version: 1.12.1
Release: 1%{?dist}
Summary: VVenC, the Fraunhofer Versatile Video Encoder
License: BSD-3-Clause
URL: https://github.com/fraunhoferhhi/%{name}
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
%description
VVenC, the Fraunhofer Versatile Video Encoder, is a fast and efficient software
H.266/VVC encoder implementation with the following main features:
- Easy to use encoder implementation with five predefined quality/speed presets;
- Perceptual optimization to improve subjective video quality, based on the
XPSNR visual model;
- Extensive frame-level and task-based parallelization with very good scaling;
- Frame-level single-pass and two-pass rate control supporting variable bit-rate
(VBR) encoding.
%package libs
Summary: VVenC, the Fraunhofer Versatile Video Encoder %{name} libraries
%description libs
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}. This package contains the shared libraries.
%package devel
Summary: Development files for %{name}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
export CXXFLAGS="%{optflags} -Wno-error=maybe-uninitialized -Wno-error=uninitialized"
%cmake \
-DCMAKE_SKIP_INSTALL_RPATH=OFF \
-DVVENC_INSTALL_FULLFEATURE_APP=ON
%cmake_build
%install
%cmake_install
%files
%{_bindir}/%{name}app
%{_bindir}/%{name}FFapp
%files libs
%license LICENSE.txt
%doc README.md changelog.txt
%{_libdir}/lib%{name}.so.1.12
%{_libdir}/lib%{name}.so.%{version}
%files devel
%{_includedir}/%{name}/
%{_libdir}/cmake/%{name}/%{name}*.cmake
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/lib%{name}.pc
%changelog
* Mon Nov 11 2024 Simone Caronni <negativo17@gmail.com> - 1.12.1-1
- Update to 1.12.1.
* Mon Aug 19 2024 Simone Caronni <negativo17@gmail.com> - 1.12.0-1
- First build.
+4
View File
@@ -1,5 +1,9 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "x264-bootstrap.spec"
}
labels {
mock = 1
}
}
+4
View File
@@ -1,5 +1,9 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "x264.spec"
}
labels {
mock = 1
}
}
+4
View File
@@ -1,5 +1,9 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "x265.spec"
}
labels {
mock =1
}
}
@@ -0,0 +1,31 @@
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -611,7 +611,15 @@
if(MSVC)
set_target_properties(x265-shared PROPERTIES OUTPUT_NAME libx265)
else()
- set_target_properties(x265-shared PROPERTIES OUTPUT_NAME x265)
+ if(HIGH_BIT_DEPTH)
+ if(MAIN12)
+ set_target_properties(x265-shared PROPERTIES OUTPUT_NAME x265_main12)
+ else()
+ set_target_properties(x265-shared PROPERTIES OUTPUT_NAME x265_main10)
+ endif()
+ else()
+ set_target_properties(x265-shared PROPERTIES OUTPUT_NAME x265)
+ endif(HIGH_BIT_DEPTH)
endif()
if(UNIX)
set_target_properties(x265-shared PROPERTIES VERSION ${X265_BUILD})
--- a/source/encoder/api.cpp
+++ b/source/encoder/api.cpp
@@ -704,7 +704,7 @@
#define ext ".dylib"
#else
#include <dlfcn.h>
-#define ext ".so"
+#define ext ".so." xstr(X265_BUILD)
#endif
#if defined(__GNUC__) && __GNUC__ >= 8
#pragma GCC diagnostic ignored "-Wcast-function-type"
+11
View File
@@ -0,0 +1,11 @@
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -212,7 +212,7 @@
add_definitions(-std=gnu++98)
endif()
if(ENABLE_PIC)
- add_definitions(-fPIC)
+ add_definitions(-fPIC -DPIC)
endif(ENABLE_PIC)
if(NATIVE_BUILD)
if(INTEL_CXX)
@@ -0,0 +1,11 @@
--- a/source/x265.pc.in
+++ b/source/x265.pc.in
@@ -1,6 +1,6 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
-libdir=${exec_prefix}/@LIB_INSTALL_DIR@
+libdir=@LIB_INSTALL_DIR@
includedir=${prefix}/include
Name: @CMAKE_PROJECT_NAME@
@@ -0,0 +1,29 @@
From 8454caf458c5f5d20cce711ff8ea8de55ec1ae50 Mon Sep 17 00:00:00 2001
From: harlanc <hailiang8@staff.weibo.com>
Date: Thu, 1 Dec 2022 07:46:13 +0000
Subject: [PATCH] fix crash when SEI length is variable
---
source/encoder/encoder.cpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/source/encoder/encoder.cpp b/source/encoder/encoder.cpp
index 0fea6553c..5a3fcafc7 100644
--- a/source/encoder/encoder.cpp
+++ b/source/encoder/encoder.cpp
@@ -1103,6 +1103,12 @@ void Encoder::copyUserSEIMessages(Frame *frame, const x265_picture* pic_in)
input = seiMsg;
else
input = pic_in->userSEI.payloads[i];
+
+ if (frame->m_userSEI.payloads[i].payload && (frame->m_userSEI.payloads[i].payloadSize < input.payloadSize))
+ {
+ delete[] frame->m_userSEI.payloads[i].payload;
+ frame->m_userSEI.payloads[i].payload = NULL;
+ }
if (!frame->m_userSEI.payloads[i].payload)
frame->m_userSEI.payloads[i].payload = new uint8_t[input.payloadSize];
--
2.45.0
+3
View File
@@ -1,3 +1,5 @@
%global build_cxxflags %{__build_flags_lang_cxx} %{?_distro_extra_cxxflags} -include %_includedir/c++/*/cstdint
# Use old cmake macro
%global __cmake_in_source_build 1
@@ -24,6 +26,7 @@ Patch2: https://raw.githubusercontent.com/terrapkg/pkg-x265/%terrasrc_commit
Patch3: https://bitbucket.org/harlancc/x265_git/commits/8454caf458c5f5d20cce711ff8ea8de55ec1ae50/raw#/x265-sei-length-crash-fix.patch
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: git
BuildRequires: cmake
%{?el7:BuildRequires: epel-rpm-macros}
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "decklink-devel.spec"
}
}
+44
View File
@@ -0,0 +1,44 @@
Name: decklink-devel
Version: 14.4
Release: 1%{?dist}
Summary: Blackmagic Design DeckLink SDK
License: End User License Agreement for the Software Development Kit
URL: https://www.blackmagicdesign.com/
BuildArch: noarch
Source0: https://github.com/terrapkg/pkg-decklink-devel/releases/download/%{version}/Blackmagic_DeckLink_SDK_%{version}.zip
%description
This SDK provides developer support for Desktop Video that allows updating
of hardware control and software interfaces for Desktop Video products.
%package samples
Summary: Sample files and documentation for %{name}
Requires: %{name} = %{version}-%{release}
%description samples
The %{name}-samples package contains documentation and samplese for the
DeckLink SDK.
%prep
%autosetup -c
mv Blackmagic\ DeckLink\ SDK\ %{version}/* .
rm -fr Blackmagic\ DeckLink\ SDK\ %{version}
rm -fr Mac Win Examples/Mac Examples/Win
rm -fr Examples/Linux/bin Linux/Samples/bin
%install
mkdir -p %{buildroot}%{_includedir}
install -p -m 0644 Linux/include/* %{buildroot}%{_includedir}
%files
%license "End User License Agreement.pdf"
%{_includedir}/*
%files samples
%doc ReadMe.rtf "Blackmagic DeckLink SDK.pdf"
%doc Examples/
%changelog
%autochangelog
@@ -1,6 +1,6 @@
%global commit b39b5df3a945f4f3a9b98146eb4c0940c9d05188
%global commit f2d88169791f5c3c54c1beac6f402552d0b35d62
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250113
%global commit_date 20250118
%global ver 0.6.5.0
# We aren't using Mono but RPM expected Mono
+1 -1
View File
@@ -4,7 +4,7 @@
%global crate mise
Name: rust-mise
Version: 2025.1.7
Version: 2025.1.9
Release: 1%?dist
Summary: Front-end to your dev env
+5
View File
@@ -0,0 +1,5 @@
project "pkg" {
rpm {
spec = "cuda-nvcc.spec"
}
}
+189
View File
@@ -0,0 +1,189 @@
%global real_name cuda_nvcc
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.85
Release: 1%{?dist}
Summary: CUDA Compiler (NVCC)
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Source3: nvcc.profile
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
# CUDA 12.4 does not support GCC 14+:
%if 0%{?fedora} >= 40
Requires: cuda-gcc
%endif
%description
The compilation trajectory involves several splitting, compilation,
preprocessing, and merging steps for each CUDA source file. It is the purpose of
nvcc, the CUDA compiler driver, to hide the intricate details of CUDA
compilation from developers. It accepts a range of conventional compiler
options, such as for defining macros and include/library paths, and for steering
the compilation process. All non-CUDA compilation steps are forwarded to a C++
host compiler that is supported by nvcc, and nvcc translates its options to
appropriate host compiler command line options.
NVVM IR is a compiler IR (intermediate representation) based on the LLVM IR.
The NVVM IR is designed to represent GPU compute kernels (for example, CUDA
kernels). High-level language front-ends, like the CUDA C compiler front-end,
can generate NVVM IR. The NVVM compiler (which is based on LLVM) generates PTX
code from NVVM IR.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_datadir}/nvcc/
cp -fr bin/* nvvm/bin/* %{buildroot}%{_bindir}/
cp -fr include/* nvvm/include/* %{buildroot}%{_includedir}/
cp -fr lib/* nvvm/lib64/* %{buildroot}%{_libdir}/
cp -fr nvvm/libdevice/* %{buildroot}%{_datadir}/nvcc/
cp -f %{SOURCE3} %{buildroot}%{_bindir}/
# Set proper variables
sed -i \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}/cuda|g' \
%{buildroot}/%{_bindir}/nvcc.profile
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_bindir}/bin2c
%{_bindir}/cicc
%dir %{_bindir}/crt/
%{_bindir}/crt/link.stub
%{_bindir}/crt/prelink.stub
%{_bindir}/cudafe++
%{_bindir}/fatbinary
%{_bindir}/nvcc
%{_bindir}/__nvcc_device_query
%{_bindir}/nvcc.profile
%{_bindir}/nvlink
%{_bindir}/ptxas
%dir %{_datadir}/nvcc/
%{_datadir}/nvcc/libdevice.10.bc
%dir %{_includedir}/crt/
%{_includedir}/crt/common_functions.h
%{_includedir}/crt/cudacc_ext.h
%{_includedir}/crt/device_double_functions.h
%{_includedir}/crt/device_double_functions.hpp
%{_includedir}/crt/device_functions.h
%{_includedir}/crt/device_functions.hpp
%{_includedir}/crt/func_macro.h
%{_includedir}/crt/host_config.h
%{_includedir}/crt/host_defines.h
%{_includedir}/crt/host_runtime.h
%{_includedir}/crt/math_functions.h
%{_includedir}/crt/math_functions.hpp
%{_includedir}/crt/mma.h
%{_includedir}/crt/mma.hpp
%{_includedir}/crt/nvfunctional
%{_includedir}/crt/sm_70_rt.h
%{_includedir}/crt/sm_70_rt.hpp
%{_includedir}/crt/sm_80_rt.h
%{_includedir}/crt/sm_80_rt.hpp
%{_includedir}/crt/sm_90_rt.h
%{_includedir}/crt/sm_90_rt.hpp
%{_includedir}/crt/storage_class.h
%{_includedir}/fatbinary_section.h
%{_includedir}/nvPTXCompiler.h
%{_includedir}/nvvm.h
%{_libdir}/libnvptxcompiler_static.a
%{_libdir}/libnvvm.so
%{_libdir}/libnvvm.so.4
%{_libdir}/libnvvm.so.4.0.0
%changelog
* Fri Dec 13 2024 Simone Caronni <negativo17@gmail.com> - 1:12.6.85-1
- Update to 12.6.85.
- Require new cuda-gcc profile package.
* Thu Sep 19 2024 Simone Caronni <negativo17@gmail.com> - 1:12.6.68-1
- Update to 12.6.68.
* Thu Jul 11 2024 Simone Caronni <negativo17@gmail.com> - 1:12.5.82-1
- Update to 12.5.82.
* Thu Jul 11 2024 Simone Caronni <negativo17@gmail.com> - 1:12.4.99-1
- Update to 12.4.99.
* Fri Mar 22 2024 Simone Caronni <negativo17@gmail.com> - 1:12.4.99-2
- Correct GCC requirements.
* Tue Mar 12 2024 Simone Caronni <negativo17@gmail.com> - 1:12.4.99-1
- Update to 12.4.99.
- Drop ppc64le.
* Sat Jan 06 2024 Simone Caronni <negativo17@gmail.com> - 1:12.3.107-1
- Update to 12.3.107.
* Tue Nov 28 2023 Simone Caronni <negativo17@gmail.com> - 1:12.3.103-1
- Update to 12.3.103.
* Thu Sep 28 2023 Simone Caronni <negativo17@gmail.com> - 1:12.2.140-1
- Update to 12.2.140.
* Tue Jul 11 2023 Simone Caronni <negativo17@gmail.com> - 1:12.2.91-1
- Update to 12.2.91.
* Thu Jun 08 2023 Simone Caronni <negativo17@gmail.com> - 1:12.1.105-1
- Update to 12.1.105.
* Tue Apr 11 2023 Simone Caronni <negativo17@gmail.com> - 1:12.1.66-1
- Update to 12.1.66.
* Mon Mar 13 2023 Simone Caronni <negativo17@gmail.com> - 1:12.0.140-2
- Add requirement on cuda-gcc for Fedora 38+.
* Sat Feb 25 2023 Simone Caronni <negativo17@gmail.com> - 1:12.0.140-1
- Update to 12.0.140.
* Tue Dec 13 2022 Simone Caronni <negativo17@gmail.com> - 1:12.0.76-1
- Update to 12.0.76.
* Fri Nov 11 2022 Simone Caronni <negativo17@gmail.com> - 1:11.8.89-1
- Update to 11.8.89.
- Use aarch64 archive in place of sbsa.
* Sun Sep 04 2022 Simone Caronni <negativo17@gmail.com> - 1:11.7.99-1
- Update to 11.7.99.
* Thu Jun 23 2022 Simone Caronni <negativo17@gmail.com> - 1:11.7.64-1
- Update to 11.7.64.
* Thu Mar 31 2022 Simone Caronni <negativo17@gmail.com> - 1:11.6.124-1
- Update to 11.6.124 (CUDA 11.6.2).
* Tue Mar 08 2022 Simone Caronni <negativo17@gmail.com> - 1:11.6.112-1
- Update to 11.6.112 (CUDA 11.6.1).
* Fri Jan 28 2022 Simone Caronni <negativo17@gmail.com> - 1:11.6.55-1
- First build with the new tarball components.
+6
View File
@@ -0,0 +1,6 @@
NVVMIR_LIBRARY_DIR = /usr/share/cuda
PATH += /usr/libexec/cuda/open64/bin:
INCLUDES += "-IINCLUDE_DIR"
LIBRARIES =+ "-LLIBDIR"
CUDAFE_FLAGS +=
PTXAS_FLAGS +=
+3
View File
@@ -0,0 +1,3 @@
import "andax/nvidia.rhai" as nvidia;
rpm.version(nvidia::nvidia_component_version("cuda_nvcc"));
-68
View File
@@ -1,68 +0,0 @@
diff --git a/gtk/meson.build b/gtk/meson.build
index 83233cea2..96ba52384 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -63,6 +63,8 @@ endif
if get_option('qsv').enabled()
ghb_deps += dependency('vpl')
+ ghb_deps += dependency('libva')
+ ghb_deps += dependency('libva-drm')
endif
if get_option('x265').enabled()
diff --git a/libhb/rpu.c b/libhb/rpu.c
index 28083184a..87304abc2 100644
--- a/libhb/rpu.c
+++ b/libhb/rpu.c
@@ -11,7 +11,7 @@
#include "handbrake/rpu.h"
#if HB_PROJECT_FEATURE_LIBDOVI
-#include "libdovi/rpu_parser.h"
+#include <libdovi/rpu_parser.h>
#endif
struct hb_filter_private_s
diff --git a/make/configure.py b/make/configure.py
index a383cb363..84a66307b 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -1684,8 +1684,8 @@ try:
lipo = ToolProbe( 'LIPO.exe', 'lipo', 'lipo', abort=False )
pkgconfig = ToolProbe( 'PKGCONFIG.exe', 'pkgconfig', 'pkg-config', abort=True, minversion=[0,27,0] )
meson = ToolProbe( 'MESON.exe', 'meson', 'meson', abort=True, minversion=[0,51,0] )
- nasm = ToolProbe( 'NASM.exe', 'asm', 'nasm', abort=True, minversion=[2,13,0] )
- ninja = ToolProbe( 'NINJA.exe', 'ninja', 'ninja-build', 'ninja', abort=True )
+ nasm = ToolProbe( 'NASM.exe', 'asm', 'nasm', abort=False, minversion=[2,13,0] )
+ ninja = ToolProbe( 'NINJA.exe', 'ninja', 'ninja-build', 'ninja', abort=False )
cargo = ToolProbe( 'CARGO.exe', 'cargo', 'cargo', abort=False )
cargoc = ToolProbe( 'CARGO-C.exe', 'cargo-cbuild', 'cargo-cbuild', abort=False )
@@ -1786,7 +1786,7 @@ try:
## Additional library and tool checks
#####################################
# Requires oneVPL which requires CMake 3.16.3 or later
- Tools.cmake = ToolProbe('CMAKE.exe', 'cmake', 'cmake', abort=True, minversion=[3,16,3])
+ Tools.cmake = ToolProbe('CMAKE.exe', 'cmake', 'cmake', abort=False, minversion=[3,16,3])
Tools.cmake.__init__( Tools.cmake.var, Tools.cmake.option, Tools.cmake.name, **Tools.cmake.kwargs )
Tools.cmake.run()
for action in Action.actions:
diff --git a/test/module.defs b/test/module.defs
index 9f803c457..3316431ce 100644
--- a/test/module.defs
+++ b/test/module.defs
@@ -21,6 +21,13 @@ TEST.pkgconfig_libs = libass libavformat libavfilter libavcodec libavutil libswr
jansson libturbojpeg SvtAv1Enc
TEST.pkgconfig_libs += $(foreach m,$(MODULES.NAMES),$($m.OSL.libs))
+ifeq (1,$(FEATURE.qsv))
+ TEST.pkgconfig_libs += libva libva-drm vpl
+endif
+
+ifeq (1,$(FEATURE.x265))
+ TEST.pkgconfig_libs += x265
+endif
ifeq (1,$(FEATURE.flatpak))
TEST.pkgconfig_libs += glib-2.0
@@ -0,0 +1,14 @@
diff -up HandBrake-1.6.0/gtk/configure.ac.fdk HandBrake-1.6.0/gtk/configure.ac
--- HandBrake-1.6.0/gtk/configure.ac.fdk 2022-12-28 09:43:46.000000000 +0100
+++ HandBrake-1.6.0/gtk/configure.ac 2023-01-23 20:50:40.075455676 +0100
@@ -215,10 +215,6 @@ else
HB_LIBS="$HB_LIBS -lx264"
fi
-if test "x$use_fdk_aac" = "xyes" ; then
- HB_LIBS="$HB_LIBS -lfdk-aac"
-fi
-
if test "x$use_x265" = "xyes" ; then
HB_LIBS="$HB_LIBS -lx265"
fi
@@ -0,0 +1,13 @@
diff -up HandBrake-1.2.0/test/module.defs.va HandBrake-1.2.0/test/module.defs
--- HandBrake-1.2.0/test/module.defs.va 2018-12-16 18:16:51.000000000 +0100
+++ HandBrake-1.2.0/test/module.defs 2019-01-21 00:40:28.279840862 +0100
@@ -25,9 +25,6 @@ endif
ifeq (1,$(FEATURE.qsv))
TEST.GCC.D += USE_QSV HAVE_THREADS=1
-ifeq ($(BUILD.system),linux)
- TEST.GCC.l += va va-drm
-endif
endif
ifeq (1,$(FEATURE.vce))
@@ -0,0 +1,12 @@
diff -up HandBrake-1.6.0/make/configure.py.orig HandBrake-1.6.0/make/configure.py
--- HandBrake-1.6.0/make/configure.py.orig 2022-12-28 09:43:46.000000000 +0100
+++ HandBrake-1.6.0/make/configure.py 2023-01-06 23:39:40.041593595 +0100
@@ -1665,7 +1665,7 @@ try:
lipo = ToolProbe( 'LIPO.exe', 'lipo', 'lipo', abort=False )
pkgconfig = ToolProbe( 'PKGCONFIG.exe', 'pkgconfig', 'pkg-config', abort=True, minversion=[0,27,0] )
meson = ToolProbe( 'MESON.exe', 'meson', 'meson', abort=True, minversion=[0,47,0] )
- nasm = ToolProbe( 'NASM.exe', 'asm', 'nasm', abort=True, minversion=[2,13,0] )
+ nasm = ToolProbe( 'NASM.exe', 'asm', 'nasm', abort=False, minversion=[2,13,0] )
ninja = ToolProbe( 'NINJA.exe', 'ninja', 'ninja-build', 'ninja', abort=True )
xcodebuild = ToolProbe( 'XCODEBUILD.exe', 'xcodebuild', 'xcodebuild', abort=(True if (not xcode_opts['disabled'] and (build_tuple.match('*-*-darwin*') and cross is None)) else False), versionopt='-version', minversion=[10,3,0] )
@@ -0,0 +1,10 @@
--- a/gtk/module.rules
+++ b/gtk/module.rules
@@ -21,6 +21,7 @@ $(GTK.CONFIGURE.stamp): $(GTK.src/)configure.ac $(GTK.src/)src/Makefile.am
CXX="$(GCC.gxx)" \
CFLAGS="$(call fn.ARGS,GTK.GCC,.g .O *D *W ?extra)" \
LDFLAGS="$(call fn.ARGS,GTK.GCC,?strip .g .O ?extra.exe)" \
+ STRIP="$(STRIP.exe)" \
PYTHON="$(PYTHON.exe)" \
--prefix=$(PREFIX) \
--with-hb=$(call fn.ABSOLUTE,$(BUILD/))
@@ -0,0 +1,13 @@
--- a/test/module.defs 2020-06-13 15:05:35.000000000 +0100
+++ a/test/module.defs 2020-07-03 11:15:53.951205608 +0100
@@ -30,6 +30,10 @@
endif
endif
+ifeq (1,$(FEATURE.x265))
+ TEST.GCC.l += x265
+endif
+
ifeq (1,$(FEATURE.flatpak))
TEST.GCC.l += glib-2.0
endif
-4
View File
@@ -2,8 +2,4 @@ project pkg {
rpm {
spec = "terra-HandBrake.spec"
}
labels {
subrepo = "extras"
}
}
+169 -140
View File
@@ -1,205 +1,234 @@
%global commit0 2e91369bae27841e0ffdcbe2e0fac2aaa7e779cf
%global date 20231008
# https://pkgs.rpmfusion.org/cgit/free/HandBrake.git/tree/HandBrake.spec
%global commit0 04413a27e6d616cddd98c2c6468aca2bf91b87b5
%global commit_date %(date '+%Y%m%d')
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global tag %{version}
%global pkg HandBrake
# Build with "--without ffmpeg" or enable this to use bundled libAV
# instead of system FFMpeg libraries.
#global _without_ffmpeg 1
%ifarch i686 x86_64
%global _with_asm 1
%global _with_vpl 1
%endif
%global desktop_id fr.handbrake.ghb
Name: HandBrake
Version: 1.9.0
Release: 2%{?dist}
# RPMFusion's Handbrake builds link against an older version of x265, so we
# want to force upgrades to this package.
Epoch: 1
Name: terra-HandBrake
Version: 1.6.1
Release: 1%?dist
Summary: An open-source multiplatform video transcoder
License: GPLv2+
URL: http://handbrake.fr/
License: GPL-2.0-or-later
URL: https://handbrake.fr/
%if 0%{?tag:1}
Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
%dnl Source0: https://github.com/%pkg/%pkg/releases/download/%version/%pkg-%version-source.tar.bz2
Source1: https://github.com/%pkg/%pkg/releases/download/%version/%pkg-%version-source.tar.bz2.sig
# import from https://handbrake.fr/openpgp.php or https://github.com/HandBrake/HandBrake/wiki/OpenPGP
# gpg2 --export --export-options export-minimal 1629C061B3DDE7EB4AE34B81021DB8B44E4A8645 > gpg-keyring-1629C061B3DDE7EB4AE34B81021DB8B44E4A8645.gpg
Source2: gpg-keyring-1629C061B3DDE7EB4AE34B81021DB8B44E4A8645.gpg
%else
Source0: https://github.com/%{name}/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
%dnl Source0: https://github.com/%pkg/%pkg/archive/%commit0.tar.gz#/%{name}-%{shortcommit0}.tar.gz
%endif
# Adjust dependencies when using system libraries:
Patch0: %{name}-deps.patch
%{?_without_ffmpeg:Source10: https://libav.org/releases/libav-12.tar.gz}
BuildRequires: AMF-devel
BuildRequires: appstream
BuildRequires: bzip2-devel
# Pass strip tool override to gtk/configure
Patch0: %pkg-nostrip.patch
# Don't link with libva unnecessarily
Patch1: %pkg-no-libva.patch
# Don't link with fdk_aac unnecessarily
Patch2: %pkg-no-fdk_aac.patch
# Fix build on non-x86 (without nasm)
Patch3: %pkg-no-nasm.patch
# Patch from Gentoo
Patch4: %pkg-x265-link.patch
BuildRequires: a52dec-devel >= 0.7.4
BuildRequires: cmake
BuildRequires: dbus-glib-devel
BuildRequires: desktop-file-utils
BuildRequires: fontconfig-devel
%if 0%{?tag:1}
BuildRequires: gnupg2
%endif
BuildRequires: libappstream-glib
%{!?_without_ffmpeg:BuildRequires: ffmpeg-free-devel >= 3.5}
# Should be >= 2.6:
BuildRequires: freetype-devel >= 2.4.11
# Should be >= 0.19.7:
BuildRequires: fribidi-devel >= 0.19.4
BuildRequires: gcc-c++
BuildRequires: harfbuzz-devel >= 1.3.2
BuildRequires: jansson-devel >= 2.10
BuildRequires: libappstream-glib
BuildRequires: libass-devel >= 0.13.4
BuildRequires: libdav1d-devel >= 0.3.0
BuildRequires: gstreamer1-plugins-base-devel
BuildRequires: intltool
BuildRequires: jansson-devel
BuildRequires: turbojpeg-devel
BuildRequires: lame-devel >= 3.98
BuildRequires: libappindicator-gtk3-devel
# Should be >= 0.13.2:
BuildRequires: libass-devel >= 0.13.1
BuildRequires: libbluray-devel >= 0.9.3
BuildRequires: libdav1d-devel
BuildRequires: libdrm-devel
BuildRequires: libdvdnav-devel >= 5.0.1
BuildRequires: libdvdread-devel >= 5.0.0
BuildRequires: libgudev-devel
%if 0%{?_with_vpl:1}
BuildRequires: intel-mediasdk-devel
BuildRequires: oneVPL-devel
BuildRequires: libva-devel
BuildRequires: libsamplerate-devel >= 0.1.8
%endif
BuildRequires: libmpeg2-devel >= 0.5.1
BuildRequires: libnotify-devel
BuildRequires: librsvg2-devel
BuildRequires: libsamplerate-devel
BuildRequires: libtheora-devel
BuildRequires: libtool
BuildRequires: libva-devel
BuildRequires: m4
BuildRequires: libvorbis-devel
# Should be >= 1.5:
BuildRequires: libvpx-devel >= 1.3
BuildRequires: make
BuildRequires: meson
BuildRequires: nv-codec-headers >= 11
BuildRequires: patch
BuildRequires: pkgconfig(dovi)
BuildRequires: pkgconfig(dvdnav)
BuildRequires: pkgconfig(dvdread)
BuildRequires: pkgconfig(fdk-aac)
BuildRequires: pkgconfig(gio-2.0) >= 2.68
BuildRequires: pkgconfig(glib-2.0) >= 2.68
BuildRequires: pkgconfig(gmodule-2.0) >= 2.68
BuildRequires: pkgconfig(gthread-2.0) >= 2.68
BuildRequires: pkgconfig(gtk4) >= 4.4
BuildRequires: pkgconfig(jansson)
BuildRequires: pkgconfig(libass)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavfilter)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libbluray)
BuildRequires: pkgconfig(libswresample)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libturbojpeg)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(numa)
BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(SvtAv1Enc)
BuildRequires: pkgconfig(theoradec)
BuildRequires: pkgconfig(theoraenc)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vorbisenc)
BuildRequires: pkgconfig(x264)
BuildRequires: pkgconfig(x265)
BuildRequires: python3
BuildRequires: tar
BuildRequires: wget
BuildRequires: zlib-devel
BuildRequires: zimg-devel >= 3.0.1
%ifarch x86_64
BuildRequires: libvpl-devel
%if 0%{?_with_asm:1}
BuildRequires: nasm
%endif
BuildRequires: numactl-devel
BuildRequires: nv-codec-headers
BuildRequires: opus-devel
BuildRequires: python3
BuildRequires: speex-devel
BuildRequires: svt-av1-devel
BuildRequires: x264-devel >= 0.148
BuildRequires: x265-devel >= 1.9
BuildRequires: xz-devel
BuildRequires: zimg-devel
BuildRequires: git
BuildRequires: vulkan-loader
Requires: hicolor-icon-theme
# needed for reading encrypted DVDs
%{?fedora:Recommends: libdvdcss%_isa}
Obsoletes: HandBrake-cli < %version-%release
Provides: HandBrake-cli = %version-%release
Provides: handbrake = %version-%release
%description
%{name} is a general-purpose, free, open-source, cross-platform, multithreaded
video transcoder software application. It can process most common multimedia
files and any DVD or Bluray sources that do not contain any kind of copy
protection.
%package gui
Summary: An open-source multiplatform video transcoder (GUI)
Provides: handbrake-gui = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: handbrake = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: gstreamer1-plugins-good%{_isa}
Requires: hicolor-icon-theme
Requires: libdvdcss%{_isa}
%description gui
%{name} is a general-purpose, free, open-source, cross-platform, multithreaded
video transcoder software application. It can process most common multimedia
files and any DVD or Bluray sources that do not contain any kind of copy
protection.
This package contains the main program with a graphical interface.
%package cli
Summary: An open-source multiplatform video transcoder (CLI)
Provides: handbrake-cli = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: libdvdcss%{_isa}
%description cli
%{name} is a general-purpose, free, open-source, cross-platform, multithreaded
%pkg is a general-purpose, free, open-source, cross-platform, multithreaded
video transcoder software application. It can process most common multimedia
files and any DVD or Bluray sources that do not contain any kind of copy
protection.
This package contains the command line version of the program.
%package gui
Summary: An open-source multiplatform video transcoder (GUI)
Provides: handbrake-gui = %version-%release
Requires: hicolor-icon-theme
# needed for reading encrypted DVDs
%{?fedora:Recommends: libdvdcss%_isa}
# needed for live preview
%{?fedora:Recommends: gstreamer1-plugins-good%_isa}
%description gui
%pkg is a general-purpose, free, open-source, cross-platform, multithreaded
video transcoder software application. It can process most common multimedia
files and any DVD or Bluray sources that do not contain any kind of copy
protection.
This package contains the main program with a graphical interface.
%prep
%if 0%{?tag:1}
%autosetup -p1
%else
%autosetup -p1 -n %{name}-%{commit0}
%endif
mkdir -p download build/contrib/include
git clone https://github.com/%pkg/%pkg
cd %pkg
git checkout %{!?tag:%commit0}%{?tag:%version}
%patch -P0 -p1
%if 0%!?_with_vpl
%patch -P1 -p1
%endif
%patch -P2 -p1
%patch -P3 -p1
%patch -P4 -p1
# Use system libraries in place of bundled ones
for module in fdk-aac ffmpeg libdav1d libdovi libdvdnav libdvdread libbluray libvpl nvenc svt-av1 x265 zimg; do
for module in a52dec fdk-aac %{!?_without_ffmpeg:ffmpeg} libdav1d libdvdnav libdvdread libbluray %{?_with_vpl:libmfx libvpl} nvenc libvpx svt-av1 x265; do
sed -i -e "/MODULES += contrib\/$module/d" make/include/main.defs
done
# Fix desktop file
sed -i -e 's/%desktop_id.svg/%desktop_id/g' gtk/src/%desktop_id.desktop
%build
echo "HASH=%{commit0}" > version.txt
echo "SHORTHASH=%{shortcommit0}" >> version.txt
echo "DATE=$(date "+%Y-%m-%d %T")" >> version.txt
cd %pkg
echo "HASH=%commit0" > version.txt
echo "SHORTHASH=%shortcommit0" >> version.txt
echo "DATE=$(date "+%Y-%m-%d %T" -d %date)" >> version.txt
%if 0%{?tag:1}
echo "TAG=%{tag}" >> version.txt
echo "TAG_HASH=%{commit0}" >> version.txt
echo "TAG=%version" >> version.txt
echo "TAG_HASH=%commit0" >> version.txt
%endif
# By default the project is built with optimizations for speed and no debug.
# Override configure settings by passing RPM_OPT_FLAGS and disabling preset
# debug options.
# These plus "--no-harden" at configure time set proper compiler flags:
cat > custom.defs << EOF
GCC.args.c_std =
GCC.args.cxx_std =
GCC.args.O.speed = %build_cflags -I%{_includedir}/vpl
GCC.args.g.none =
GCC.args.strip =
EOF
echo "GCC.args.O.speed = %optflags -I%_includedir/vpl -I%_includedir/ffmpeg -ldl -lx265 %{?_with_vpl:-lvpl}" > custom.defs
echo "GCC.args.g.none = " >> custom.defs
# Not an autotools configure script:
# Not an autotools configure script.
./configure \
--build %{_build} \
--build build \
--prefix=%_prefix \
--debug=std \
--strip=%_bindir/echo \
--verbose \
--disable-df-fetch \
--disable-df-verify \
--disable-update-checks \
--enable-asm \
--enable-fdk-aac \
--enable-ffmpeg-aac \
--enable-gst \
--enable-libdovi \
--enable-numa \
--enable-nvdec \
--enable-nvenc \
%ifarch x86_64
--enable-qsv \
%endif
--enable-vce \
--disable-gtk-update-checks \
%{?_with_asm:--enable-asm} \
--enable-x265 \
--force \
--no-harden \
--prefix=%{_prefix}
--disable-numa \
--enable-fdk-aac \
%{?_with_vpl:--enable-qsv}
%make_build -C %{_build}
%make_build -C build V=1
%install
%make_install -C %{_build}
cd %pkg
%make_install -C build
cp *.markdown COPYING ..
# Desktop file, icons and AppStream metadata from FlatPak build (more complete)
rm -f %buildroot%_datadir/applications/ghb.desktop \
%buildroot%_datadir/icons/hicolor/scalable/apps/hb-icon.svg
install -Dpm644 gtk/src/%desktop_id.desktop \
%buildroot%_datadir/applications/%desktop_id.desktop
install -Dpm644 gtk/src/%desktop_id.svg \
%buildroot%_datadir/icons/hicolor/scalable/apps/%desktop_id.svg
%find_lang ghb
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{desktop_id}.desktop
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{desktop_id}.metainfo.xml
desktop-file-validate %buildroot%_datadir/applications/%desktop_id.desktop
appstream-util validate-relax --nonet %buildroot%_metainfodir/%desktop_id.metainfo.xml
%files -f ghb.lang gui
%files gui
%license COPYING
%doc AUTHORS.markdown NEWS.markdown README.markdown THANKS.markdown
%{_bindir}/ghb
%{_metainfodir}/%{desktop_id}.metainfo.xml
%{_datadir}/applications/%{desktop_id}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{desktop_id}.svg
%_bindir/ghb
%_metainfodir/%desktop_id.metainfo.xml
%_datadir/applications/%desktop_id.desktop
%_datadir/icons/hicolor/scalable/apps/%desktop_id.svg
%_datadir/locale/*/LC_MESSAGES/ghb.mo
%files cli
%files
%license COPYING
%doc AUTHORS.markdown NEWS.markdown README.markdown THANKS.markdown
%{_bindir}/HandBrakeCLI
%_bindir/HandBrakeCLI
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "kmonad.spec"
}
}
+93
View File
@@ -0,0 +1,93 @@
%global pkg_name kmonad
Name: %{pkg_name}
Version: 0.4.3
Release: 1%{?dist}
Summary: An advanced keyboard manager
License: MIT
URL: https://hackage.haskell.org/package/%{name}
Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-prof
BuildRequires: ghc-cereal-prof
BuildRequires: ghc-lens-prof
BuildRequires: ghc-megaparsec-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-optparse-applicative-prof
BuildRequires: ghc-resourcet-prof
BuildRequires: ghc-rio-prof
BuildRequires: ghc-unliftio-devel
BuildRequires: systemd-rpm-macros
Packager: sadlerm <sad_lerm@hotmail.com>
%description
The Onion of Keyboard Management Tools, available on GNU/Linux, Windows, and MacOS!
%package -n ghc-%{name}
Summary: Haskell %{name} library
%description -n ghc-%{name}
This package contains the Haskell %{name} library.
%package -n ghc-%{name}-devel
Summary: Haskell %{name} library development files
Requires: ghc-compiler = %{ghc_version}
Requires: ghc-%{name} = %{version}-%{release}
%description -n ghc-%{name}-devel
This package provides the Haskell %{name} library development files.
%package -n ghc-%{name}-prof
Summary: Haskell %{name} profiling library
Requires: ghc-%{name}-devel = %{version}-%{release}
Supplements: (ghc-%{name}-devel and ghc-prof)
%description -n ghc-%{name}-prof
This package provides the Haskell %{name} profiling library.
%prep
%autosetup
%build
%ghc_lib_build
%install
%ghc_lib_install
install -Dm644 startup/kmonad@.service -t %{buildroot}%{_unitdir}
%files
%license LICENSE
%doc README.md
%doc doc/faq.md doc/quick-reference.md
%{_bindir}/%{name}
%{_unitdir}/%{name}@.service
%files -n ghc-%{name} -f ghc-%{name}.files
%license LICENSE
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
%doc CONTRIBUTING.md
%doc doc/module_structure.md
%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files
%changelog
* Fri Jan 17 2025 sadlerm <sad_lerm@hotmail.com>
- Initial package
+4
View File
@@ -0,0 +1,4 @@
rpm.version(gh("kmonad/kmonad"));
if rpm.changed() {
rpm.release();
}
+2 -2
View File
@@ -1,7 +1,7 @@
#bcond_without tests
%global commit bbc7591d3bb650f96cd1f1584055888cc919f14a
%global commit 164368610456e2d96b279f8b120dea08f7b1d74f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250116
%global commit_date 20250117
%global ver 2025.01.15
Name: yt-dlp-nightly