Compare commits

...

3 Commits

Author SHA1 Message Date
Gilver 9a27248a82 fix: Update script 2026-06-01 01:57:30 -05:00
Gilver d6cefabb4d fix: Bump date 2026-06-01 01:46:48 -05:00
Gilver 3cd4b8eef3 fix(x264): Fix i686 builds and update versioning scheme 2026-06-01 01:40:16 -05:00
3 changed files with 26 additions and 6 deletions
+1
View File
@@ -7,5 +7,6 @@ project pkg {
labels {
mock = 1
subrepo = "multimedia"
nightly = 1
}
}
+10
View File
@@ -0,0 +1,10 @@
let domain = `code.videolan.org`;
let c = gitlab_commit(domain, "536", "master");
rpm.global("commit", c);
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
rpm.global("api_version", find(`#define X264_BUILD ([\d]+)`, get(`https://${domain}/videolan/x264/-/raw/${c}/x264.h`), 1));
}
+15 -6
View File
@@ -3,11 +3,15 @@
%global api_version 165
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%ifarch %{ix86}
%global _pkg_extra_ldflags "-Wl,-z,notext"
%endif
%bcond_with bootstrap
Name: x264
Version: 0.%{api_version}
Release: 38%{?shortcommit:.%{commit_date}git%{shortcommit}}%{?dist}
Version: 0^%{commit_date}git%{shortcommit}
Release: 1%{?dist}
Epoch: 1
Summary: H264/AVC video streams encoder
License: GPL-2.0-or-later
@@ -22,8 +26,8 @@ BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libswscale)
%endif
Requires: bash-completion
Packager: Terra Packaging Team <terra@fyralabs.com>
%description
%{name} is a free software library and application for encoding video streams into
@@ -40,13 +44,15 @@ libraries.
%package devel
Summary: Development files for the x264 library
Requires: %{name}-libs%{?_isa} = %{?epoch}:%{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{evr}
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}.
%pkg_completion -B
%prep
%git_clone https://code.videolan.org/videolan/x264.git %{commit}
@@ -69,8 +75,9 @@ applications that use %{name}.
%ldconfig_scriptlets libs
%files
%license COPYING
%doc AUTHORS
%{_bindir}/%{name}
%{_datadir}/bash-completion/completions/%{name}
%files libs
%license COPYING
@@ -85,4 +92,6 @@ applications that use %{name}.
%{_libdir}/pkgconfig/%{name}.pc
%changelog
%autochangelog
* Mon Jun 1 2026 Gilver E. <roachy@fyralabs.com> - 0^20250910git0480cb0-1
- Fix i686 builds
- Update versioning scheme to modern Fedora snapshot guidelines