diff --git a/_service b/_service
new file mode 100644
index 0000000..0f009aa
--- /dev/null
+++ b/_service
@@ -0,0 +1,28 @@
+
+
+
+ https://gitlab.gnome.org/sophie-h/glycin.git
+ git
+ refs/tags/0.1.0
+ 0.1.0
+ glycin-loaders
+
+
+
+
+
+
+ *.tar
+ zst
+
+
+ glycin
+ true
+
+
+ glycin
+
+
+
diff --git a/cargo_config b/cargo_config
new file mode 100644
index 0000000..6fb4ff4
--- /dev/null
+++ b/cargo_config
@@ -0,0 +1,5 @@
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
\ No newline at end of file
diff --git a/glycin-loaders-0.1.0.obscpio b/glycin-loaders-0.1.0.obscpio
new file mode 100644
index 0000000..73e990e
--- /dev/null
+++ b/glycin-loaders-0.1.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:37df295543f273d78e6bd5cdfa2bc86027247d1104ffe64baf5793927332f787
+size 11084301
diff --git a/glycin-loaders-0.1.rc.tar.xz b/glycin-loaders-0.1.rc.tar.xz
deleted file mode 100644
index 88e9714..0000000
--- a/glycin-loaders-0.1.rc.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ab430c70e9c52e14a3786427072b8aaca0bb21d32061c139d9d82575798a1e42
-size 41006864
diff --git a/glycin-loaders.changes b/glycin-loaders.changes
index 7b7475d..4bd03a5 100644
--- a/glycin-loaders.changes
+++ b/glycin-loaders.changes
@@ -1,3 +1,14 @@
+-------------------------------------------------------------------
+Fri Sep 15 09:31:16 UTC 2023 - Bjørn Lie
+
+- Switch to full cargo packaging, add service and setup vendoring.
+
+-------------------------------------------------------------------
+Thu Sep 14 18:31:22 UTC 2023 - Bjørn Lie
+
+- Update to version 0.1.0:
+ + Update dependencies.
+
-------------------------------------------------------------------
Sun Sep 3 21:28:52 UTC 2023 - Luciano Santos
diff --git a/glycin-loaders.obsinfo b/glycin-loaders.obsinfo
new file mode 100644
index 0000000..2ee3a66
--- /dev/null
+++ b/glycin-loaders.obsinfo
@@ -0,0 +1,4 @@
+name: glycin-loaders
+version: 0.1.0
+mtime: 1694691871
+commit: 0a4a9ad0eef182adbaa19191ab8c16b346b8c7dd
diff --git a/glycin-loaders.spec b/glycin-loaders.spec
index b80a96e..50bf231 100644
--- a/glycin-loaders.spec
+++ b/glycin-loaders.spec
@@ -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
diff --git a/vendor.tar.zst b/vendor.tar.zst
new file mode 100644
index 0000000..5391faa
--- /dev/null
+++ b/vendor.tar.zst
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b84ab9d82bd2e4eca9702d94d2052ac2860707ca6ddee227cb721f6dd5a2e662
+size 34237527