Accepting request 1111516 from GNOME:Next
- Switch to full cargo packaging, add service and setup vendoring. - Update to version 0.1.0: + Update dependencies. OBS-URL: https://build.opensuse.org/request/show/1111516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glycin-loaders?expand=0&rev=3
This commit is contained in:
parent
1cfa1f2e44
commit
ef5ac3352a
28
_service
Normal file
28
_service
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0"?>
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://gitlab.gnome.org/sophie-h/glycin.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">refs/tags/0.1.0</param>
|
||||
<param name="versionformat">0.1.0</param>
|
||||
<param name="filename">glycin-loaders</param>
|
||||
<!-- <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||
<param name="versionrewrite-pattern">(.*)\+0</param>
|
||||
<param name="versionrewrite-replacement">\1</param> -->
|
||||
<!-- <param name="changesgenerate">enable</param> -->
|
||||
</service>
|
||||
<service name="set_version" mode="manual"/>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
<service name="cargo_vendor" mode="manual">
|
||||
<param name="srcdir">glycin</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
<service name="cargo_audit" mode="manual">
|
||||
<param name="srcdir">glycin</param>
|
||||
</service>
|
||||
</services>
|
||||
|
5
cargo_config
Normal file
5
cargo_config
Normal file
@ -0,0 +1,5 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
3
glycin-loaders-0.1.0.obscpio
Normal file
3
glycin-loaders-0.1.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:37df295543f273d78e6bd5cdfa2bc86027247d1104ffe64baf5793927332f787
|
||||
size 11084301
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ab430c70e9c52e14a3786427072b8aaca0bb21d32061c139d9d82575798a1e42
|
||||
size 41006864
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 15 09:31:16 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Switch to full cargo packaging, add service and setup vendoring.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 14 18:31:22 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 0.1.0:
|
||||
+ Update dependencies.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 3 21:28:52 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
|
||||
|
||||
|
4
glycin-loaders.obsinfo
Normal file
4
glycin-loaders.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: glycin-loaders
|
||||
version: 0.1.0
|
||||
mtime: 1694691871
|
||||
commit: 0a4a9ad0eef182adbaa19191ab8c16b346b8c7dd
|
@ -17,12 +17,15 @@
|
||||
|
||||
|
||||
Name: glycin-loaders
|
||||
Version: 0.1.rc
|
||||
Version: 0.1.0
|
||||
Release: 0
|
||||
Summary: Sandboxed image rendering
|
||||
License: MPL-2.0 OR LGPL-2.1-or-later
|
||||
URL: https://gitlab.gnome.org/sophie-h/glycin
|
||||
Source0: https://download.gnome.org/sources/glycin-loaders/0.1/%{name}-%{version}.tar.xz
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
Source2: vendor.tar.zst
|
||||
Source3: cargo_config
|
||||
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: git
|
||||
BuildRequires: meson
|
||||
@ -36,15 +39,19 @@ BuildRequires: pkgconfig(libxml-2.0)
|
||||
Sandboxed and extendable image decoding.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -p1 -a2
|
||||
mkdir .cargo
|
||||
cp %{SOURCE3} .cargo/config
|
||||
|
||||
%build
|
||||
export RUSTFLAGS="%{build_rustflags}"
|
||||
%meson \
|
||||
-Dloaders=glycin-heif,glycin-image-rs,glycin-jxl,glycin-svg \
|
||||
%{nil}
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
export RUSTFLAGS="%{build_rustflags}"
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b84ab9d82bd2e4eca9702d94d2052ac2860707ca6ddee227cb721f6dd5a2e662
|
||||
size 34237527
|
Loading…
Reference in New Issue
Block a user