Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sway #155

Merged
merged 13 commits into from
Nov 8, 2024
39 changes: 39 additions & 0 deletions extra/src/graphics/gdk-pixbuf.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[info]
name = gdk-pixbuf
version = 2.42.12
license = GNU LGPLv2.1
type = src
url = https://gitlab.gnome.org/GNOME/gdk-pixbuf/

[description]
GdkPixbuf is a library that loads image data in various formats and stores it as linear buffers in memory. The buffers can then be scaled, composited, modified, saved, or rendered.

[dependencies]
meson
glib
libpng
libjpeg-turbo
libtiff
shared-mime-info
docutils


[files]
gdk-pixbuf-2.42.12.tar.xz https://gemmei.ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.12.tar.xz b9505b3445b9a7e48ced34760c3bcb73e966df3ac94c95a148cb669ab748e3c7

[download]
tar -xf $NAME-$VERSION.tar.xz

[install]
mkdir build &&
cd build &&
meson setup .. \
--prefix=/usr \
--buildtype=release \
-D others=enabled \
--wrap-mode=nofallback &&
ninja
DESTDIR=$BUILD_ROOT ninja install

[special]
/usr/bin/gdk-pixbuf-query-loaders --update-cache
35 changes: 35 additions & 0 deletions extra/src/graphics/librsvg.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[info]
name = librsvg
version = 2.58.5
license = GNU LGPLv3.1
type = src
url = https://wiki.gnome.org/Projects/LibRsvg

[description]
The librsvg package contains a library and tools used to manipulate, convert and view Scalable Vector Graphic (SVG) images.

[dependencies]
meson
rustup
cairo
libxml2
pango
glib
freetype


[files]
librsvg-2.58.5.tar.xz https://download.gnome.org/sources/librsvg/2.58/librsvg-2.58.5.tar.xz 224233a0e347d38c415f15a49f0e0885313e3ecc18f3192055f9304dd2f3a27a

[download]
tar -xf $NAME-$VERSION.tar.xz

[install]
./configure --prefix=/usr \ # --enable-vala
--disable-static \
--docdir=/usr/share/doc/$NAME-$VERSION
make
make DESTDIR=$BUILD_ROOT DOC_INSTALL_DIR='$(docdir)' install

[special]
gdk-pixbuf-query-loaders --update-cache
28 changes: 28 additions & 0 deletions extra/src/graphics/libtiff.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[info]
name = tiff
version = 4.7.0
license = libtiff license
type = src
url = http://www.simplesystems.org/libtiff/

[description]
The libtiff package contains the TIFF libraries and associated utilities. The libraries are used by many programs for reading and writing TIFF files and the utilities are used for general work with TIFF files.

[dependencies]
cmake

[files]
tiff-4.7.0.tar.xz https://download.osgeo.org/libtiff/tiff-4.7.0.tar.xz 273a0a73b1f0bed640afee4a5df0337357ced5b53d3d5d1c405b936501f71017

[download]
tar -xf $NAME-$VERSION.tar.xz

[install]
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/$NAME-$VERSION \
-D CMAKE_INSTALL_PREFIX=/usr -G Ninja .. &&
ninja
DESTDIR=$BUILD_ROOT ninja -C build install

[special]
2 changes: 1 addition & 1 deletion extra/src/graphics/xcb-proto.ecmp
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ tar -xf xcb-proto-1.16.0.tar.xz
[install]
PYTHON=python3 ./configure $XORG_CONFIG
make
make DESTDIR=$BUILD_ROOT install
make DESTDIR=$BUILD_ROOT install
23 changes: 23 additions & 0 deletions extra/src/graphics/xcb-util-errors.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[info]
name = xcb-util-errors
version = 1.0.1
license = BSD 1-clause
type = src
url = https://xcb.freedesktop.org/

[description]
The xcb-util-wm package contains libraries which provide client and window-manager helpers for EWMH and ICCCM.

[dependencies]
libxcb

[files]
xcb-util-errors-1.0.1.tar.xz https://xcb.freedesktop.org/dist/xcb-util-errors-1.0.1.tar.xz 5628c87b984259ad927bacd8a42958319c36bdf4b065887803c9d820fb80f357

[download]
tar -xf $NAME-$VERSION.tar.xz

[install]
./configure $XORG_CONFIG --prefix=/usr
make
make DESTDIR=$BUILD_ROOT install
24 changes: 24 additions & 0 deletions extra/src/graphics/xcb-util-renderutil.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

[info]
name = xcb-util-renderutil
version = 0.3.10
license = BSD 1-clause
type = src
url = https://xcb.freedesktop.org/

[description]
The xcb-util-renderutil package provides additional extensions to the XCB library.

[dependencies]
libxcb

[files]
xcb-util-renderutil-0.3.10.tar.xz https://xcb.freedesktop.org/dist/xcb-util-renderutil-0.3.10.tar.xz 3e15d4f0e22d8ddbfbb9f5d77db43eacd7a304029bf25a6166cc63caa96d04ba

[download]
tar -xf $NAME-$VERSION.tar.xz

[install]
./configure --prefix=/usr
make
make DESTDIR=$BUILD_ROOT install
23 changes: 23 additions & 0 deletions extra/src/graphics/xcb-util-wm.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[info]
name = xcb-util-wm
version = 0.4.2
license = BSD 1-clause
type = src
url = https://xcb.freedesktop.org/

[description]
The xcb-util-wm package contains libraries which provide client and window-manager helpers for EWMH and ICCCM.

[dependencies]
libxcb

[files]
xcb-util-wm-0.4.2.tar.xz https://xcb.freedesktop.org/dist/xcb-util-wm-0.4.2.tar.xz 62c34e21d06264687faea7edbf63632c9f04d55e72114aa4a57bb95e4f888a0b

[download]
tar -xf $NAME-$VERSION.tar.xz

[install]
./configure $XORG_CONFIG --prefix=/usr
make
make DESTDIR=$BUILD_ROOT install
24 changes: 24 additions & 0 deletions extra/src/lib/libliftoff.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[info]
name = libliftoff
version = 0.5.0
license = MIT
type = src
url = https://gitlab.freedesktop.org/emersion/libliftoff

[description]
Lightweight KMS plane library

[dependencies]
meson
libdrm

[files]
libliftoff-0.5.0.tar.gz https://gitlab.freedesktop.org/emersion/libliftoff/-/releases/v0.5.0/downloads/libliftoff-0.5.0.tar.gz e29af0c9dc765916c1f192f118efffc947af6600178b04d5bccca1901246f83b

[download]
tar -xf $NAME-$VERSION.tar.gz

[install]
meson setup build
meson compile -C build
DESTDIR=$BUILD_ROOT meson install -C build
30 changes: 30 additions & 0 deletions extra/src/lib/shared-mime-info.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[info]
name = shared-mime-info
version = 2.4
license = GNU GPLv2 or later
type = src
url = https://www.freedesktop.org/wiki/Software/shared-mime-info/

[description]
The shared-mime-info package contains the core database of common MIME types and the update-mime-database command used to extend it.

[dependencies]
meson
ninja
gettext
glib

[optional]

[files]
shared-mime-info-2.4.tar.gz https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/2.4/shared-mime-info-2.4.tar.gz 531291d0387eb94e16e775d7e73788d06d2b2fdd8cd2ac6b6b15287593b6a2de

[download]
tar -xf $NAME-$VERSION.tar.gz

[install]
meson setup _build --prefix=/usr --buildtype=release -D update-mimedb=true
ninja -C _buildj
DESTDIR=$BUILD_ROOT ninja -v -C _build install

[special]
41 changes: 41 additions & 0 deletions extra/src/sway.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[info]
name = sway
version = 1.9
license = MIT
type = src
url = https://swaywm.org/

[description]
Sway is a tiling Wayland compositor and a drop-in replacement for the i3 window manager for X11.

[dependencies]
meson
ninja
wlroots
wayland
wayland-protocols
pcre2
json-c
pango
cairo
gdk-pixbuf

[optional]
swaybg
scdoc
git

[files]
sway-1.9.tar.gz https://codeload.github.com/swaywm/sway/tar.gz/refs/tags/1.9 b6e4e8d74af744278201792bcc4447470fcb91e15bbda475c647d475bf8e7b0b

[download]
tar -xf $NAME-$VERSION.tar.gz

[install]
meson build \
--prefix /usr \
--buildtype=plain
ninja -C build
DESTDIR=$BUILD_ROOT ninja -C build install

[special]
34 changes: 34 additions & 0 deletions extra/src/swaybg.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[info]
name = swaybg
version = 1.2.1
license = MIT
type = src
url = https://github.com/swaywm/swaybg/

[description]
swaybg is a wallpaper utility for Wayland compositors.

[dependencies]
meson
ninja
wayland
wayland-protocols
# for images other than PNG
gdk-pixbuf

[optional]
scdoc
git

[files]
swaybg-1.2.1.tar.gz https://codeload.github.com/swaywm/swaybg/tar.gz/refs/tags/v1.2.1 45c4a1a3b83c86ddc321a6136402b708f195a022d0ccee4641b23d14c3a3c25e

[download]
tar -xf $NAME-$VERSION.tar.gz

[install]
meson build --prefix /usr --buildtype=plain
ninja -C build
DESTDIR=$BUILD_ROOT ninja -C build install

[special]
24 changes: 24 additions & 0 deletions extra/src/utils/scdoc.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[info]
name = scdoc
version = 1.11.3
license = MIT
type = src
url = https://git.sr.ht/~sircmpwn/scdoc

[description]
scdoc is a simple man page generator for POSIX systems written in C99.

[dependencies]
make

[files]
scdoc-1.11.3.tar.gz https://git.sr.ht/~sircmpwn/scdoc/archive/1.11.3.tar.gz 4c5c6136540384e5455b250f768e7ca11b03fdba1a8efc2341ee0f1111e57612

[download]
tar -xf $NAME-$VERSION.tar.gz

[install]
make PREFIX=/usr
make PREFIX=/usr install

[special]
48 changes: 48 additions & 0 deletions extra/src/wlroots.ecmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[info]
name = wlroots
version = 0.17.0
license = MIT
type = src
url = https://gitlab.freedesktop.org/wlroots/wlroots

[description]
Pluggable, composable, unopinionated modules for building a Wayland compositor.

[dependencies]
meson
ninja
wayland
wayland-protocols
libdrm
libxkbcommon
pixman
glslang
mesa

[optional]
libinput
seatd
hwdata
libdisplay-info
libliftoff
xwayland
libxcb
xcb-util-renderutil
xcb-util-wm
xcb-util-errors

[files]
wlroots-0.17.0.tar.gz https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/0.17.0/wlroots-0.17.0.tar.gz 0db3bd4854c233409f881fa1ccd7936eee2f3633454a1dbdcaf834f49e231149

[download]
tar -xf $NAME-$VERSION.tar.gz

[install]
meson setup build -Dprefix=/usr \
-Dbuildtype=release \
-Dauto_features=enabled \
-Dwerror=false
ninja -C build
DESTDIR=$BUILD_ROOT ninja -C build install

[special]
Loading