-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update scenefx to 0.2 * fix mismatched .srcinfo * Updated scenefx-git * Replaced scenefx with scenefx-0.1 * Added scenefx-0.2 * Updated workflows * Use scenefx instead of scenefx-0.2 * Updated COPR spec files * Updated COPR build workflow * Updated COPR upload workflow * Also build the latest scenefx in RPM build workflow --------- Co-authored-by: Erik Reider <[email protected]>
- Loading branch information
1 parent
d575b62
commit d0adaf1
Showing
13 changed files
with
236 additions
and
46 deletions.
There are no files selected for viewing
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
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
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
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
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,86 @@ | ||
# vim: syntax=spec | ||
|
||
### CHANGE THESE VARIABLES BEFORE RELEASE: | ||
# Change to current SceneFX tag! | ||
%global tag 0.1 | ||
# Version of the .so library | ||
%global abi_ver 1 | ||
|
||
Name: scenefx-%{tag} | ||
Version: %{tag} | ||
Release: 1%{?dist} | ||
Summary: A drop-in replacement for the wlroots scene API that allows wayland compositors to render surfaces with eye-candy effects | ||
License: MIT | ||
URL: https://github.com/wlrfx/scenefx | ||
Source0: %{url}/archive/refs/tags/%{tag}.tar.gz | ||
|
||
|
||
BuildRequires: gcc | ||
BuildRequires: glslang | ||
BuildRequires: gnupg2 | ||
BuildRequires: meson >= 0.59.0 | ||
|
||
BuildRequires: (pkgconfig(wlroots) >= 0.17.0 with pkgconfig(wlroots) < 0.18) | ||
BuildRequires: pkgconfig(egl) | ||
BuildRequires: pkgconfig(gbm) >= 17.1.0 | ||
BuildRequires: pkgconfig(glesv2) | ||
BuildRequires: pkgconfig(hwdata) | ||
BuildRequires: pkgconfig(libdrm) >= 2.4.114 | ||
BuildRequires: pkgconfig(pixman-1) >= 0.42.0 | ||
BuildRequires: pkgconfig(wayland-client) | ||
BuildRequires: pkgconfig(wayland-protocols) >= 1.32 | ||
BuildRequires: pkgconfig(wayland-scanner) | ||
BuildRequires: pkgconfig(wayland-server) >= 1.22 | ||
|
||
%description | ||
%{summary} | ||
|
||
|
||
%package devel | ||
Summary: Development files for %{name} | ||
Requires: %{name}%{?_isa} == %{version}-%{release} | ||
# for examples | ||
Suggests: gcc | ||
Suggests: meson >= 0.58.0 | ||
Suggests: pkgconfig(wayland-egl) | ||
|
||
%description devel | ||
Development files for %{name}. | ||
|
||
|
||
%prep | ||
%autosetup -N -n %{name} | ||
|
||
%build | ||
MESON_OPTIONS=( | ||
# Disable options requiring extra/unpackaged dependencies | ||
-Dexamples=false | ||
-Dwerror=false | ||
) | ||
|
||
%{meson} "${MESON_OPTIONS[@]}" | ||
%{meson_build} | ||
|
||
|
||
%install | ||
%{meson_install} | ||
|
||
|
||
%check | ||
%{meson_test} | ||
|
||
|
||
%files | ||
%license LICENSE | ||
%doc README.md | ||
%{_libdir}/libscenefx.so.%{abi_ver}{,.*} | ||
|
||
|
||
%files devel | ||
%{_includedir}/scenefx | ||
%{_libdir}/libscenefx.so | ||
%{_libdir}/pkgconfig/scenefx.pc | ||
|
||
|
||
# Changelog will be empty until you make first annotated Git tag. | ||
# %changelog |
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
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
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,23 @@ | ||
pkgbase = scenefx-0.1 | ||
pkgdesc = A drop-in replacement for the wlroots scene API that allows wayland compositors to render surfaces with eye-candy effects | ||
pkgver = 0.1 | ||
pkgrel = 1 | ||
url = https://github.com/wlrfx/scenefx | ||
arch = x86_64 | ||
license = MIT | ||
makedepends = git | ||
makedepends = glslang | ||
makedepends = meson | ||
makedepends = ninja | ||
makedepends = wayland-protocols | ||
depends = libdrm | ||
depends = libglvnd | ||
depends = libpixman-1.so | ||
depends = wayland | ||
depends = wlroots0.17 | ||
provides = libscenefx.so | ||
options = debug | ||
source = scenefx-0.1.tar.gz::https://github.com/wlrfx/scenefx/archive/refs/tags/0.1.tar.gz | ||
sha512sums = SKIP | ||
|
||
pkgname = scenefx-0.1 |
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,41 @@ | ||
# Maintainer: Erik Reider <[email protected]> | ||
|
||
_pkgname=scenefx | ||
_pkgver=0.1 | ||
pkgname="$_pkgname-$_pkgver" | ||
pkgver="$_pkgver" | ||
pkgrel=1 | ||
license=("MIT") | ||
pkgdesc="A drop-in replacement for the wlroots scene API that allows wayland compositors to render surfaces with eye-candy effects" | ||
url="https://github.com/wlrfx/scenefx" | ||
arch=("x86_64") | ||
depends=( | ||
"libdrm" | ||
"libglvnd" | ||
"libpixman-1.so" | ||
"wayland" | ||
"wlroots0.17" | ||
) | ||
makedepends=( | ||
"git" | ||
"glslang" | ||
"meson" | ||
"ninja" | ||
"wayland-protocols" | ||
) | ||
optdepends=() | ||
provides=("libscenefx.so") | ||
options=("debug") | ||
source=("${_pkgname}-${_pkgver}.tar.gz::${url}/archive/refs/tags/$_pkgver.tar.gz") | ||
sha512sums=("SKIP") | ||
|
||
build() { | ||
export PKG_CONFIG_PATH='/usr/lib/wlroots0.17/pkgconfig' | ||
arch-meson -Dwerror=false "${_pkgname}-${_pkgver}" build | ||
meson compile -C build | ||
} | ||
|
||
package() { | ||
DESTDIR="$pkgdir" meson install -C build | ||
} | ||
|
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
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# Maintainer: Erik Reider <[email protected]> | ||
|
||
_pkgname=scenefx | ||
_pkgver=0.2 | ||
pkgname="$_pkgname-git" | ||
pkgver=r251.ab17e38 | ||
pkgver=r265.914b2a9 | ||
pkgrel=1 | ||
license=("MIT") | ||
pkgdesc="A drop-in replacement for the wlroots scene API that allows wayland compositors to render surfaces with eye-candy effects" | ||
|
@@ -23,8 +24,7 @@ makedepends=( | |
"wayland-protocols" | ||
) | ||
optdepends=() | ||
conflicts=("scenefx" "scenefx-git") | ||
provides=("libscenefx.so") | ||
provides=("libscenefx-$_pkgver.so") | ||
options=("debug") | ||
source=("${pkgname%-*}::git+${url}.git") | ||
sha512sums=("SKIP") | ||
|
@@ -35,7 +35,7 @@ pkgver() { | |
} | ||
|
||
build() { | ||
export PKG_CONFIG_PATH='/usr/lib/wlroots0.17/pkgconfig' | ||
export PKG_CONFIG_PATH='/usr/lib/wlroots0.18/pkgconfig' | ||
arch-meson -Dwerror=false "$_pkgname" build | ||
meson compile -C build | ||
} | ||
|
Oops, something went wrong.