Merge pull request 'restructure' (#3) from dev into main
Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
40
app-i18n/uchardet-0.0.8.PKGBUILD
Normal file
40
app-i18n/uchardet-0.0.8.PKGBUILD
Normal file
@@ -0,0 +1,40 @@
|
||||
pkgname=uchardet
|
||||
pkgver=0.0.8
|
||||
pkgdesc="Encoding detector library"
|
||||
homepage="https://www.freedesktop.org/wiki/Software/uchardet/"
|
||||
license=("GPL-2+")
|
||||
_patches=("${pkgname}-${pkgver}-cmake4.patch")
|
||||
_patch_sums=("812378feee2affbba6fb7b4c7c8ab29413577f55317f7603f6ce883c1857fd149707d658b3bf2dc5d42a27ead04d74afd98d86e97ab7b1920f3a37882099a5e0")
|
||||
sources=("${pkgname}-${pkgver}.tar.xz"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
urls=("https://www.freedesktop.org/software/uchardet/releases/${sources[0]}"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
sha512sums=("4a5dcc9ff021352f3b252e103ff1475cec62c974294b264ee9243f024633c3ae44be8c7733608624066113e635f8b156ecb08c8ff87c736d04b07641eb166382"
|
||||
"${_patch_sums[@]}"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
for _patch in ${_patches[@]}; do
|
||||
patch -p1 -i ${filedir}/${_patch}
|
||||
done
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local cmake_args=(
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D CMAKE_BUILD_TYPE=release
|
||||
-D BUILD_STATIC=no
|
||||
-D CHECK_SSE2=yes
|
||||
)
|
||||
cmake -B build "${cmake_args[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
7
app-i18n/uchardet/uchardet-0.0.8-cmake4.patch
Normal file
7
app-i18n/uchardet/uchardet-0.0.8-cmake4.patch
Normal file
@@ -0,0 +1,7 @@
|
||||
https://bugs.gentoo.org/951619
|
||||
https://gitlab.freedesktop.org/uchardet/uchardet/-/merge_requests/18
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -2 +2 @@
|
||||
-cmake_minimum_required(VERSION 3.1)
|
||||
+cmake_minimum_required(VERSION 3.5)
|
||||
29
app-misc/cliphist-0.7.0.PKGBUILD
Normal file
29
app-misc/cliphist-0.7.0.PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
pkgname=cliphist
|
||||
pkgver=0.7.0
|
||||
pkgdesc="Wayland clipboard manager with support for multimedia"
|
||||
homepage="https://github.com/sentriz/cliphist"
|
||||
license=("GPL-3" "MIT" "BSD")
|
||||
depends=(wl-clipboard xdg-utils)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/henri-gasc/cliphist/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha512sums=("a74ee41fb96796ae4fc397410a466d31a49dfb6de7adf8eb9a16c236ea1db95b14d321909a68ba63fb9fc94b48919aa6634c5d41add51e294f3d6a03d4c62086")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
export CGO_CPPFLAGS="$CPPFLAGS"
|
||||
export CGO_CFLAGS="$CFLAGS"
|
||||
export CGO_CXXFLAGS="$CXXFLAGS"
|
||||
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
|
||||
go build \
|
||||
-ldflags "-linkmode external -extldflags '$LDFLAGS'" \
|
||||
-o $pkgname
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install -vDm0755 -t "$pkgdir/usr/bin/" $pkgname
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
36
app-text/asciidoc-10.2.1.PKGBUILD
Normal file
36
app-text/asciidoc-10.2.1.PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
pkgname=asciidoc
|
||||
pkgver=10.2.1
|
||||
pkgdesc="A plain text human readable/writable document format"
|
||||
homepage="https://asciidoc.org/ https://github.com/asciidoc-py/asciidoc-py/"
|
||||
license=("GPL-2")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/asciidoc-py/asciidoc-py/releases/download/${pkgver}/${sources[0]}")
|
||||
sha512sums=("02d064aab8dfb05af4ae49a7c7bd1381156c6c90f95b2494218c80f01c39987cb971d68c533b5519abade77be9832b3fab653d8ae2ca7bb682c5bb720612839f")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
sed -i \
|
||||
-e '/^build: /a \\tpython3 -m build -wn' \
|
||||
-e '/pip install/{s#pip install --root#installer -d#;s#\.$#dist/*.whl#}' \
|
||||
Makefile.in
|
||||
# https://github.com/asciidoc-py/asciidoc-py/issues/234
|
||||
autoconf
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure \
|
||||
--docdir /usr/share/$pkgname \
|
||||
--prefix /usr
|
||||
make build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
make DESTDIR="${pkgdir}" docs
|
||||
install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/*.1
|
||||
# ascidocapi is deprecated, but still included in 10.x on a "provisional" basis
|
||||
local _platlib="$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')"
|
||||
install -Dm0644 -t "${pkgdir}/${_platlib}/${pkgname}/" asciidoc/api.py
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
35
app-text/iso-codes-4.18.0.PKGBUILD
Normal file
35
app-text/iso-codes-4.18.0.PKGBUILD
Normal file
@@ -0,0 +1,35 @@
|
||||
pkgname=iso-codes
|
||||
pkgver=4.18.0
|
||||
pkgdesc='Lists of the country, language, and currency names'
|
||||
homepage='https://salsa.debian.org/iso-codes-team/iso-codes'
|
||||
arch=(any)
|
||||
license=(LGPL-2.1-only)
|
||||
makedepends=(meson python)
|
||||
sources=("${pkgname}-v${pkgver}.tar.gz")
|
||||
urls=("https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${pkgver}/${sources[0]}")
|
||||
sha512sums=("4f9766b3e73a155df3213d5684f0b4c2aefe3efcdc30b2a969913a90deb73e1cbd32a63c2f00c736517c1feed790944d12155410d3c4d381749c39ecd1f71f96")
|
||||
options=('!strip')
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
# local meson_args=(
|
||||
# --prefix=/usr
|
||||
# --buildtype=release
|
||||
# --wrap-mode=nodownload
|
||||
# -D python.bytecompile=1
|
||||
# )
|
||||
# meson setup build "${meson_args[@]}"
|
||||
# meson compile -C build
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# meson install -C build --destdir "$pkgdir"
|
||||
make install LN_S='ln -sfn' DESTDIR="${pkgdir}"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
26
dev-build/netsurf-buildsystem-1.10.PKGBUILD
Normal file
26
dev-build/netsurf-buildsystem-1.10.PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
pkgname=netsurf-buildsystem
|
||||
_name=buildsystem
|
||||
pkgver=1.10
|
||||
pkgdesc="Build system used for netsurf and its libraries"
|
||||
homepage="https://www.netsurf-browser.org"
|
||||
license=("MIT")
|
||||
sources=("${_name}-${pkgver}.tar.gz")
|
||||
urls=("https://download.netsurf-browser.org/libs/releases/${sources[0]}")
|
||||
sha512sums=("0b0f9114567e5c0807bbf066f1c507f386dfb43bf993e3fe487b3c77edc6cee8ea573ca1105558e48b78b2c97857791fe1fe65af8e95fa0f4e205ef701677670")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
sed -e 's:/bin/which:which:' -i "makefiles/Makefile.tools"
|
||||
}
|
||||
|
||||
src_build() {
|
||||
sed -i 's:-Werror::' Makefile
|
||||
make PREFIX=/usr #COMPONENT_TYPE=lib-shared
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" PREFIX=/usr install
|
||||
}
|
||||
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
33
dev-cpp/atkmm-2.28.4.PKGBUILD
Normal file
33
dev-cpp/atkmm-2.28.4.PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
pkgname=atkmm
|
||||
pkgver=2.28.4
|
||||
_ver=${pkgver%.*}
|
||||
slot="0"
|
||||
pkgdesc="C++ interface for the ATK library"
|
||||
homepage="https://gtkmm.gnome.org/en/index.html"
|
||||
licenses=("LGPL-2.1+")
|
||||
depends=(glibmm:2 at-spi2-core libsigc++:2)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}")
|
||||
sha512sums=("30a714971234aebf06a04abeff5fc3b6951b56130aaddbd1a92856b3fb87cf9ba3c34539465b7f0905f871d763239642efe7904b24f33f11e57bf013e4bca533")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D build-documentation=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
42
dev-cpp/cairomm-1.14.5.PKGBUILD
Normal file
42
dev-cpp/cairomm-1.14.5.PKGBUILD
Normal file
@@ -0,0 +1,42 @@
|
||||
pkgname=cairomm
|
||||
pkgver=1.14.5
|
||||
slot="0"
|
||||
pkgdesc="C++ bindings for Cairo"
|
||||
homepage="https://www.cairographics.org/cairomm/"
|
||||
arch=(x86_64)
|
||||
license=(LGPL MPL)
|
||||
depends=(
|
||||
cairo
|
||||
libsigc++:2
|
||||
)
|
||||
makedepends=(
|
||||
meson
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://www.cairographics.org/releases/${sources[0]}")
|
||||
sha512sums=("19e5f84f6167c1641b27545c3af4e780b6a072513322adc6296577e2d0ebcffe933afd15c32117a203394e9f5f28734820aaf1802dfdeb35ff2a657f140570b0")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D build-documentation=false
|
||||
-D build-examples=false
|
||||
-D build-tests=false
|
||||
-D boost-shared=true
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
46
dev-cpp/glibmm-2.66.8.PKGBUILD
Normal file
46
dev-cpp/glibmm-2.66.8.PKGBUILD
Normal file
@@ -0,0 +1,46 @@
|
||||
pkgname=glibmm
|
||||
pkgver=2.66.8
|
||||
_ver=${pkgver%.*}
|
||||
pkgdesc="C++ bindings for GLib"
|
||||
homepage="https://www.gtkmm.org/"
|
||||
arch=(x86_64)
|
||||
license=(LGPL-2.1-or-later)
|
||||
depends=(
|
||||
gcc
|
||||
glib:2
|
||||
glibc
|
||||
libsigc++:2
|
||||
)
|
||||
makedepends=(
|
||||
clang
|
||||
meson
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}")
|
||||
sha512sums=("4ebf203324d3ee95c47012915efb39d4dc59eb7a6f337e7b8c7c0b3589574b07967974363931b0d4159618f88178b04715b2c359c3dc3f67a7781bfac0d9f277")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D warnings=min
|
||||
-D build-deprecated-api=true
|
||||
-D build-documentation=false
|
||||
-D debug-refcounting=false
|
||||
-D build-examples=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
50
dev-cpp/gtkmm-3.24.10.PKGBUILD
Normal file
50
dev-cpp/gtkmm-3.24.10.PKGBUILD
Normal file
@@ -0,0 +1,50 @@
|
||||
pkgname=gtkmm
|
||||
pkgver=3.24.10
|
||||
_ver=${pkgver%.*}
|
||||
slot="3.0"
|
||||
pkgdesc="C++ bindings for GTK+ 3"
|
||||
homepage="https://www.gtkmm.org/"
|
||||
arch=(x86_64)
|
||||
license=(LGPL-2.1-or-later)
|
||||
depends=(
|
||||
atkmm:0
|
||||
cairomm:0
|
||||
gcc
|
||||
gdk-pixbuf:2
|
||||
glib:2
|
||||
glibc
|
||||
glibmm:2
|
||||
gtk+:3
|
||||
libsigc++:2
|
||||
pangomm:1.4
|
||||
libepoxy
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}")
|
||||
sha512sums=("d7478b66b94924e1457b1a6b4a46ee8027361ae1db0b3e203019957e4e591220de3a12c11d34cc5d381e707435c0cfe5eae12d620cd8db0e56a0485c39bd7abb")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D build-atkmm-api=true
|
||||
-D build-demos=false
|
||||
-D build-documentation=false
|
||||
-D build-tests=false
|
||||
-D build-x11-api=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
34
dev-cpp/pangomm-2.46.4.PKGBUILD
Normal file
34
dev-cpp/pangomm-2.46.4.PKGBUILD
Normal file
@@ -0,0 +1,34 @@
|
||||
pkgname=pangomm
|
||||
pkgver=2.46.4
|
||||
_ver=${pkgver%.*}
|
||||
pkgdesc="C++ interface for pango"
|
||||
homepage="https://gtkmm.gnome.org/en/index.html"
|
||||
licenses=("LGPL-2.1+")
|
||||
slot=1.4
|
||||
depends=(cairomm:0 glibmm:2 libsigc++:2 pango)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}")
|
||||
sha512sums=("e4e57b835af270af9b98ae3feb25087cb8f8ab9b0028195db3d2dbf48df360de1f92c4e7c9dfba9a80d4a6aa47234b3112eea52586328386bbc0eb0d5cc09856")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D maintainer-mode=false
|
||||
-D build-documentation=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
32
dev-cpp/sdbus-c++-2.1.0.PKGBUILD
Normal file
32
dev-cpp/sdbus-c++-2.1.0.PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
pkgname=sdbus-c++
|
||||
pkgver=2.1.0
|
||||
pkgdesc="High-level C++ D-Bus library"
|
||||
homepage="https://github.com/Kistler-Group/sdbus-cpp"
|
||||
license=("LGPL-2.1+" "Nokia-Qt-LGPL-Exception-1.1")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/Kistler-Group/sdbus-cpp/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha512sums=("4247d49f0d5231e2768c0c96fa9c266bbcc340292c9c3d748f9c37ff992b82301faea798300f916e9a5c992d77adfe56186866c91a4c7d4157750ff09ba5a047")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local cmake_args=(
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D CMAKE_BUILD_TYPE=release
|
||||
-D SDBUSCPP_BUILD_CODEGEN=false
|
||||
-D SDBUSCPP_BUILD_DOCS=yes
|
||||
-D SDBUSCPP_BUILD_DOXYGEN_DOCS=false
|
||||
-D SDBUSCPP_BUILD_LIBSYSTEMD=no
|
||||
-D SDBUSCPP_BUILD_TESTS=false
|
||||
)
|
||||
cmake -B build "${cmake_args[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
30
dev-lang/lua-5.4.8.PKGBUILD
Normal file
30
dev-lang/lua-5.4.8.PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
pkgname=lua
|
||||
pkgver=5.4.8
|
||||
_majorver=${pkgver%.*}
|
||||
pkgdesc='Powerful lightweight programming language designed for extending applications'
|
||||
arch=('x86_64')
|
||||
homepage='https://www.lua.org/'
|
||||
depends=('readline')
|
||||
license=('MIT')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://dev.gentoo.org/~soap/distfiles/${sources[0]}")
|
||||
sha512sums=("c8001304dc1bb622521282358856e40eb9277a8d0496614211ff8d1865d14fadd8d584d0636831ca5de8ca57462b90e1484701e91b05f3d685c736b9e72905ca")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr --with-readline
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
34
dev-lang/sassc-3.6.2.PKGBUILD
Normal file
34
dev-lang/sassc-3.6.2.PKGBUILD
Normal file
@@ -0,0 +1,34 @@
|
||||
pkgname=sassc
|
||||
pkgver=3.6.2
|
||||
pkgrel=5
|
||||
pkgdesc='C implementation of Sass CSS preprocessor'
|
||||
arch=(x86_64)
|
||||
url='https://sass-lang.com'
|
||||
license=(MIT)
|
||||
depends=(libsass)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/sass/sassc/archive/${pkgver}.tar.gz")
|
||||
sha256sums=("608dc9002b45a91d11ed59e352469ecc05e4f58fc1259fc9a9f5b8f0f8348a03")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
[[ -f VERSION ]] || echo "${pkgver}" > VERSION
|
||||
autoreconf -i
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local conf_args=(
|
||||
--prefix=/usr
|
||||
--disable-static
|
||||
--enable-shared
|
||||
)
|
||||
./configure "${conf_args[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -vDm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
49
dev-lang/vala-0.56.18.PKGBUILD
Normal file
49
dev-lang/vala-0.56.18.PKGBUILD
Normal file
@@ -0,0 +1,49 @@
|
||||
pkgname=vala
|
||||
pkgver=0.56.18
|
||||
pkgrel=5
|
||||
pkgdesc='Compiler for the GObject type system'
|
||||
url='https://wiki.gnome.org/Projects/Vala'
|
||||
arch=(x86_64)
|
||||
license=(LGPL-2.1-or-later)
|
||||
depends=(
|
||||
bash
|
||||
gcc
|
||||
glib:2
|
||||
glibc
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
)
|
||||
makedepends=(
|
||||
libxslt
|
||||
)
|
||||
checkdepends=(
|
||||
dbus-glib
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
|
||||
sha512sums=("7ba820942ac40b54a62cbcd8a1d94d5add022b4a2c69e1276fc9fca38361d5878f3f852d270e0a5ef4bca6bd2df3a65f14b410c600b82a46da4123c90a3107e7")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local conf_args=(
|
||||
--prefix=/usr
|
||||
#--disable-unversioned
|
||||
--disable-valadoc
|
||||
VALAC=:
|
||||
WEASYPRINT=:
|
||||
)
|
||||
./configure "${conf_args[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
install -vDm644 vala.m4 vapigen/vapigen.m4 -t "${pkgdir}/usr/share/aclocal"
|
||||
install -vDm644 vapigen/Makefile.vapigen -t "${pkgdir}/usr/share/vala"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
69
dev-libs/appstream-1.0.6.PKGBUILD
Normal file
69
dev-libs/appstream-1.0.6.PKGBUILD
Normal file
@@ -0,0 +1,69 @@
|
||||
pkgname=appstream
|
||||
_name="AppStream"
|
||||
pkgver=1.0.6
|
||||
pkgdesc="Cross-distro effort for providing metadata for software in the Linux ecosystem"
|
||||
homepage="https://www.freedesktop.org/wiki/Distributions/AppStream/"
|
||||
license=("LGPL-2.1+" "GPL-2+")
|
||||
depends=(
|
||||
zstd
|
||||
glib:2
|
||||
libxml2:2
|
||||
libxmlb
|
||||
libyaml
|
||||
snowball-stemmer
|
||||
curl
|
||||
gobject-introspection
|
||||
systemd
|
||||
)
|
||||
bdepends=(
|
||||
libxslt
|
||||
itstool
|
||||
)
|
||||
_patches=("${pkgname}-1.0.0-disable-Werror-flags.patch")
|
||||
_patch_sums=("e5df79dda5f433c67dd0b02c681e04cde22e6648a4d438a50314575e37353686fbcbc4fd56ee209095f71498d0e553b4d061e328fcc740b19ab7ae9281b85423")
|
||||
sources=("${_name}-${pkgver}.tar.xz"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
urls=("https://www.freedesktop.org/software/appstream/releases/${sources[0]}"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
sha512sums=("a7a34ce2b37f7a3d9f22a69ff4a546d4fb33edaec4a303bd7541ede990d8a2c2a67d17f61c9cf09d75af277e308d21baaf42d6b968eca1a11d1df983a27e02a5"
|
||||
"${_patch_sums[@]}"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=2
|
||||
for _patch in ${_patches[@]}; do
|
||||
patch -p1 -i ${filedir}/${_patch}
|
||||
done
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D apidocs=false
|
||||
-D docs=false
|
||||
-D compose=false
|
||||
-D maintainer=false
|
||||
-D static-analysis=false
|
||||
-D stemming=true
|
||||
-D vapi=false
|
||||
-D apt-support=false
|
||||
-D compose=false
|
||||
-D install-docs=false
|
||||
-D gir=true
|
||||
-D qt=false
|
||||
-D systemd=true
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
56
dev-libs/appstream-glib-0.8.3.PKGBUILD
Normal file
56
dev-libs/appstream-glib-0.8.3.PKGBUILD
Normal file
@@ -0,0 +1,56 @@
|
||||
pkgname=appstream-glib
|
||||
pkgver=0.8.3
|
||||
pkgdesc="Provides GObjects and helper methods to read and write AppStream metadata"
|
||||
homepage="https://people.freedesktop.org/~hughsient/appstream-glib/ https://github.com/hughsie/appstream-glib"
|
||||
license=("LGPL-2.1+")
|
||||
slot=("0/8")
|
||||
depend=(
|
||||
glib
|
||||
util-linux
|
||||
libarchive
|
||||
curl
|
||||
json-glib
|
||||
"gdk-pixbuf[introspection]"
|
||||
fontconfig
|
||||
libyaml
|
||||
pango
|
||||
gobject-introspection
|
||||
)
|
||||
bdepends=(
|
||||
gperf
|
||||
libxml2:2
|
||||
libxslt
|
||||
gettext
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://people.freedesktop.org/~hughsient/${pkgname}/releases/${sources[0]}")
|
||||
sha512sums=("df4247b710cf234eef037f5f7be6be4872638d0686becd65e10e6a4214b0dd1b48ffbbd69179f3fb9777373926840d5b776e20a41ce11d4926114345944db127")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D dep11=true
|
||||
-D builder=true
|
||||
-D rpm=false
|
||||
-D alpm=false
|
||||
-D fonts=false
|
||||
-D man=true
|
||||
-D gtk-doc=false
|
||||
-D introspection=true
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
@@ -0,0 +1,47 @@
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -90,44 +90,6 @@
|
||||
endif
|
||||
endif
|
||||
|
||||
-# a few compiler warning flags we always want enabled
|
||||
-add_project_arguments(
|
||||
- cc.get_supported_arguments([
|
||||
- '-Werror=shadow',
|
||||
- '-Werror=empty-body',
|
||||
- '-Werror=strict-prototypes',
|
||||
- '-Werror=missing-prototypes',
|
||||
- '-Werror=implicit-function-declaration',
|
||||
- '-Werror=pointer-arith',
|
||||
- '-Werror=missing-declarations',
|
||||
- '-Werror=return-type',
|
||||
- '-Werror=int-conversion',
|
||||
- '-Werror=incompatible-pointer-types',
|
||||
- '-Werror=misleading-indentation',
|
||||
- '-Werror=missing-include-dirs',
|
||||
- '-Werror=declaration-after-statement',
|
||||
- '-Werror=format-security',
|
||||
-
|
||||
- '-Wno-missing-field-initializers',
|
||||
- '-Wno-error=missing-field-initializers',
|
||||
- '-Wno-unused-parameter',
|
||||
- '-Wno-error=unused-parameter',
|
||||
- ]),
|
||||
- language: 'c'
|
||||
-)
|
||||
-add_project_arguments(
|
||||
- '-Wno-unused-parameter',
|
||||
- '-Werror=empty-body',
|
||||
- '-Werror=pointer-arith',
|
||||
- '-Werror=init-self',
|
||||
- '-Werror=missing-declarations',
|
||||
- '-Werror=return-type',
|
||||
- '-Werror=misleading-indentation',
|
||||
- '-Werror=format-security',
|
||||
-
|
||||
- language: 'cpp'
|
||||
-)
|
||||
-
|
||||
# Vendor extensions in system headers
|
||||
if host_machine.system() != 'netbsd'
|
||||
# on NetBSD, defining POSIX_C_SOURCE *removes* non-POSIX symbols from namespace,
|
||||
28
dev-libs/ayatana-ido-0.10.4.PKGBUILD
Normal file
28
dev-libs/ayatana-ido-0.10.4.PKGBUILD
Normal file
@@ -0,0 +1,28 @@
|
||||
pkgname=ayatana-ido
|
||||
pkgver=0.10.4
|
||||
pkgdesc="Ayatana Application Indicators (Shared Library)"
|
||||
homepage="https://github.com/AyatanaIndicators/ayatana-ido"
|
||||
license=("LGPL-2.1" "LGPL-3" "GPL-3")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/AyatanaIndicators/${pkgname}/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("a36b67cb505b9340a8193e281c72831b56d6a620054e99e1032145ec0d8d26fe4768402b36ee4d7e115dbbd6fb393cc15c3d71c15d040f5eb22d3d2114f80536")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local cmake_args=(
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D CMAKE_BUILD_TYPE=release
|
||||
-D ENABLE_TESTS=false
|
||||
)
|
||||
cmake -B build "${meson_args[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
48
dev-libs/date-3.0.3.PKGBUILD
Normal file
48
dev-libs/date-3.0.3.PKGBUILD
Normal file
@@ -0,0 +1,48 @@
|
||||
pkgname=date
|
||||
pkgver=3.0.3
|
||||
pkgdesc="Date and time library based on the C++11/14/17 <chrono> header"
|
||||
homepage="https://github.com/HowardHinnant/date"
|
||||
license=("MIT")
|
||||
_patches=("date-3.0.3_remove-failing-tests.patch")
|
||||
_patche_sums=("e5a453239592d4852d05b50f1f428f6cbc3b0415a247d1e3e9aea4cef42a02d3e9f65233bb717629e2670667e73e700af72eba5374faa6f96f5e952f630d45e1")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
urls=("https://github.com/HowardHinnant/date/archive/refs/tags/v${pkgver}.tar.gz"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
sha512sums=("e11d7f230ecc431d94c4b58fe7394dd57a9ec0baa9de52496578479b51bbf885566d6666882916d84d388060fa36065b3fa8dd3a8bc14f720b38d1c943f06700"
|
||||
"${_patche_sums[@]}"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
for _patch in ${_patches[@]}; do
|
||||
patch -p1 -i ${filedir}/${_patch}
|
||||
done
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local cmake_args=(
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D CMAKE_BUILD_TYPE=release
|
||||
-D BUILD_SHARED_LIBS=true
|
||||
-D BUILD_TZ_LIB=ON
|
||||
-D USE_SYSTEM_TZ_DB=ON
|
||||
-D ENABLE_DATE_TESTING=no
|
||||
-D COMPILE_WITH_C_LOCALE=no
|
||||
)
|
||||
cmake -B build "${cmake_args[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
src_check() {
|
||||
cd test
|
||||
./testit
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
34
dev-libs/date/date-3.0.3_remove-failing-tests.patch
Normal file
34
dev-libs/date/date-3.0.3_remove-failing-tests.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
From: Filip Kobierski <fkobi@pm.me>
|
||||
|
||||
Upstream states that " There are known failures on all platforms"[1].
|
||||
This patch removes the tests that fail for Gentoo.
|
||||
They both test if the library can parse PM dates in a 12 hour format.
|
||||
|
||||
Here are the failiure messages:
|
||||
test_Ip(): Assertion `tp == sys_days{2016_y/12/11} + hours{13}' failed.
|
||||
test_p(): Assertion `tp == sys_days{2016_y/12/11} + hours{23}' failed.
|
||||
|
||||
[1]: https://github.com/HowardHinnant/date?tab=readme-ov-file#build--test
|
||||
---
|
||||
test/date_test/parse.pass.cpp | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/test/date_test/parse.pass.cpp b/test/date_test/parse.pass.cpp
|
||||
index 13ca909..cdeea71 100644
|
||||
--- a/test/date_test/parse.pass.cpp
|
||||
+++ b/test/date_test/parse.pass.cpp
|
||||
@@ -906,11 +906,9 @@ main()
|
||||
test_D();
|
||||
test_F();
|
||||
test_H();
|
||||
- test_Ip();
|
||||
test_j();
|
||||
test_m();
|
||||
test_M();
|
||||
- test_p();
|
||||
test_r();
|
||||
test_R();
|
||||
test_S();
|
||||
--
|
||||
2.45.2
|
||||
|
||||
34
dev-libs/dbus-glib-0.114.PKGBUILD
Normal file
34
dev-libs/dbus-glib-0.114.PKGBUILD
Normal file
@@ -0,0 +1,34 @@
|
||||
pkgname=dbus-glib
|
||||
pkgver=0.114
|
||||
pkgdesc="D-Bus bindings for glib"
|
||||
homepage="https://dbus.freedesktop.org/"
|
||||
license=("GPL-2")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://dbus.freedesktop.org/releases/${pkgname}/${sources[0]}")
|
||||
sha512sums=("c341cc0778edbf776d3e1a6d3cd9c136766544cb4b7239d6affa2fa246fa9c5716fe4d674c9bb56b36ee140344663bf967f70841ad132f978a662a22cc9a3a0d")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local conf_args=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--localstatedir=/var
|
||||
--enable-bash-completion
|
||||
--disable-gtk-doc
|
||||
--disable-asserts
|
||||
--disable-static
|
||||
)
|
||||
./configure "${conf_args[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -vDm644 "${pkgdir}"/etc/bash_completion.d/dbus-bash-completion.sh "${pkgdir}"/usr/share/bash-completion/completions/dbus-send
|
||||
rm -r "${pkgdir}"/etc
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
@@ -1,5 +1,6 @@
|
||||
pkgname=gobject-introspection
|
||||
pkgver=1.84.0
|
||||
_basever=${pkgver%.*}
|
||||
pkgdesc="Introspection system for GObject-based libraries"
|
||||
url="https://wiki.gnome.org/Projects/GObjectIntrospection"
|
||||
arch=(x86_64)
|
||||
@@ -33,3 +34,5 @@ src_install() {
|
||||
python -m compileall -d /usr/lib/${pkgname} usr/lib/${pkgname}
|
||||
python -O -m compileall -d /usr/lib/${pkgname} usr/lib/${pkgname}
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
|
||||
47
dev-libs/granite-7.6.0.PKGBUILD
Normal file
47
dev-libs/granite-7.6.0.PKGBUILD
Normal file
@@ -0,0 +1,47 @@
|
||||
pkgname=granite
|
||||
pkgver=7.6.0
|
||||
pkgdesc='Library that extends Gtk+'
|
||||
arch=(x86_64)
|
||||
homepage=https://github.com/elementary/granite
|
||||
license=(LGPL3)
|
||||
depends=(
|
||||
cairo
|
||||
glib:2
|
||||
gtk:4
|
||||
libgee:0.8
|
||||
)
|
||||
makedepends=(
|
||||
cmake
|
||||
meson
|
||||
sassc
|
||||
vala
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/elementary/${pkgname}/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("0a3ab1aa9d648578d80877beaab52eebd1b77981f54f9ca0b9c88e44c9a832738e4bd52357e6537b783d64ac6a7812c8a73331dfe759d12e1f3ea212ba111f5f")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D documentation=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_check() {
|
||||
meson test -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
33
dev-libs/inih-62.PKGBUILD
Normal file
33
dev-libs/inih-62.PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
pkgname=inih
|
||||
pkgver=62
|
||||
pkgdesc="inih (INI not invented here) simple .INI file parser"
|
||||
homepage="https://github.com/benhoyt/inih"
|
||||
license=("BSD")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/benhoyt/inih/archive/r${pkgver}.tar.gz")
|
||||
sha512sums=("206ddfaa55d29396c3a44f8d1dfcf578c5ebf892e81fe875cd6b4ec2af5cccf400ca13fc6585b6d8232bd122bd8aef7522bfc83898b5609b29c20bad9390ee02")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D default_library=shared
|
||||
-D distro_install=true
|
||||
-D with_INIReader=true
|
||||
-D tests=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
39
dev-libs/json-glib-1.10.8.PKGBUILD
Normal file
39
dev-libs/json-glib-1.10.8.PKGBUILD
Normal file
@@ -0,0 +1,39 @@
|
||||
pkgname=json-glib
|
||||
pkgver=1.10.8
|
||||
pkgdesc="Library providing GLib serialization and deserialization for the JSON format"
|
||||
homepage="https://wiki.gnome.org/Projects/JsonGlib"
|
||||
license=("LGPL-2.1+")
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
|
||||
sha512sums=("f4ba8660b586a4e738803e4dbfdfcd34fa7ceba9189e7bf3f2b50e21f4d4886f99535ceb3453c89b1d1ae8d96bf4168a135b73b7e1a2dbc46b19e9b710ad56a1")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nofallback
|
||||
-D python.bytecompile=1
|
||||
-D installed_tests=false
|
||||
-D introspection=enabled
|
||||
-D documentation=disabled
|
||||
-D man=true
|
||||
-D nls=enabled
|
||||
-D tests=true
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_check() {
|
||||
meson test -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
39
dev-libs/jsoncpp-1.9.6.PKGBUILD
Normal file
39
dev-libs/jsoncpp-1.9.6.PKGBUILD
Normal file
@@ -0,0 +1,39 @@
|
||||
pkgname=jsoncpp
|
||||
pkgver=1.9.6
|
||||
pkgdesc="C++ JSON reader and writer"
|
||||
homepage="https://github.com/open-source-parsers/jsoncpp/"
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/open-source-parsers/${pkgname}/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("006d81f9f723dcfe875ebc2147449c07c5246bf97dd7b9eee1909decc914b051d6f3f06feb5c3dfa143d28773fb310aabb04a81dc447cc61513309df8eba8b08")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
--includedir include/jsoncpp
|
||||
-D tests=true
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_check() {
|
||||
meson test -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
|
||||
|
||||
# https://bugs.gentoo.org/941642
|
||||
rm -r "${pkgdir}/usr/lib/cmake"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
33
dev-libs/libayatana-appindicator-0.5.94.PKGBUILD
Normal file
33
dev-libs/libayatana-appindicator-0.5.94.PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
pkgname=libayatana-appindicator
|
||||
pkgver=0.5.94
|
||||
pkgdesc="Ayatana Application Indicators (Shared Library)"
|
||||
homepage="https://github.com/AyatanaIndicators/libayatana-appindicator"
|
||||
license=(GPL-3 LGPL-2 LGPL-3)
|
||||
depends=("glib" "gtk+:3[introspection]" "libdbusmenu[gtk3]" "libayatana-indicator")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/AyatanaIndicators/${pkgname}/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("4bd251dd56601dfb99b0085cc272118680c9145cdac671ad6695ef3200e582343a07e99dc30f5a72b586b6e2e60de0042d4a95b9d9eeafa7695b0afe2425dba4")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local cmake_args=(
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D CMAKE_BUILD_TYPE=release
|
||||
-D ENABLE_TESTS=false
|
||||
-D ENABLE_GTKDOC=OFF
|
||||
-D ENABLE_BINDINGS_MONO=OFF
|
||||
-D FLAVOUR_GTK2=OFF
|
||||
-D FLAVOUR_GTK3=ON
|
||||
)
|
||||
cmake -B build "${cmake_args[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
32
dev-libs/libayatana-indicator-0.9.4.PKGBUILD
Normal file
32
dev-libs/libayatana-indicator-0.9.4.PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
pkgname=libayatana-indicator
|
||||
pkgver=0.9.4
|
||||
pkgdesc="Ayatana Application Indicators (Shared Library)"
|
||||
homepage="https://github.com/AyatanaIndicators/libayatana-indicator"
|
||||
license=("GPL-3")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/AyatanaIndicators/${pkgname}/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("56efbe0eb14abf38cb7e270ae093b5fb41dab652eab6fa0d3f7972b09b0f2404e3ec7fbb3059c0b26802fffc628f5ace16a33db306f97a65ae42cf65494a56dc")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local cmake_args=(
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D CMAKE_BUILD_TYPE=release
|
||||
-D FLAVOUR_GTK2=OFF
|
||||
-D FLAVOUR_GTK3=ON
|
||||
-D ENABLE_IDO=ON
|
||||
-D ENABLE_LOADER=ON
|
||||
-D ENABLE_TESTS=false
|
||||
)
|
||||
cmake -B build "${cmake_args[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
57
dev-libs/libdbusmenu-16.04.0.PKGBUILD
Normal file
57
dev-libs/libdbusmenu-16.04.0.PKGBUILD
Normal file
@@ -0,0 +1,57 @@
|
||||
pkgname=libdbusmenu
|
||||
pkgver=16.04.0
|
||||
_ver=${pkgver%.*}
|
||||
slot="0"
|
||||
pkgdesc="Library to pass menu structure across DBus"
|
||||
homepage="https://launchpad.net/libdbusmenu"
|
||||
license=("LGPL-2.1" "LGPL-3")
|
||||
_patches=("libdbusmenu-16.04.0-configure-fix.patch"
|
||||
"libdbusmenu-16.04.0-werror.patch"
|
||||
)
|
||||
_patch_sums=("e872017556eb7e6b23a9c80e478b9e25be604bd2500be94879bad6634150265bb7b2979fc3cbe05a06dc9f3ca115ab57457853b37c6db622b5ec4bb23abff2bd"
|
||||
"ba1144695110cd8ecf89deaea28e0aacc40b00a500a1dc86c28e67754599117e0a2217c4d6066c1061fa009af82e463dd303ba78c479053857ef6e793959068e"
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
urls=("https://launchpad.net/${pkgname/lib}/${_ver}/${pkgver}/+download/${sources[0]}"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
sha512sums=("ee9654ac4ed94bdebc94a6db83b126784273a417a645b2881b2ba676a5f67d7fc95dd2bb37bfb0890aa47299ed73cb21ed7de8b75f3fed6b69bfd39065062241"
|
||||
"${_patch_sums[@]}"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
for _patch in ${_patches[@]}; do
|
||||
patch -p1 -i ${filedir}/${_patch}
|
||||
done
|
||||
autoconf
|
||||
}
|
||||
|
||||
src_build() {
|
||||
CFLAGS+=" -Wno-error"
|
||||
|
||||
local conf_args=(
|
||||
--prefix=/usr
|
||||
--docdir=/usr/share/doc/${pkgname}-${pkgver}
|
||||
--cache-file="${srcdir}"/config.cache
|
||||
--disable-static
|
||||
# dumper extra tool is only for GTK+-2.x
|
||||
--disable-dumper
|
||||
--disable-introspection
|
||||
--disable-vala
|
||||
--disable-massivedebugging
|
||||
--disable-tests
|
||||
--enable-gtk
|
||||
--with-gtk=3
|
||||
)
|
||||
./configure "${conf_args[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make -j1 DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
35
dev-libs/libdbusmenu/libdbusmenu-16.04.0-configure-fix.patch
Normal file
35
dev-libs/libdbusmenu/libdbusmenu-16.04.0-configure-fix.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
From 4b79b41a25cc1e2c4355738b4bed6c73b919ffee Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Sun, 6 Aug 2017 17:55:45 +0200
|
||||
Subject: [PATCH] configure: Fix HAVE_VALGRIND not being defined when tests are
|
||||
disabled
|
||||
|
||||
If --disable-tests is used, configure fails with the following error:
|
||||
|
||||
configure: error: conditional "HAVE_VALGRIND" was never defined.
|
||||
Usually this means the macro was only invoked conditionally.
|
||||
|
||||
This is because AM_CONDITIONAL for it is called inside the 'if' for
|
||||
tests being enabled. Move it just below that block to ensure that it's
|
||||
defined unconditionally.
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ace54d1..cbd38a6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -120,8 +120,8 @@ PKG_CHECK_MODULES(DBUSMENUTESTS, json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION
|
||||
[have_tests=yes]
|
||||
)
|
||||
PKG_CHECK_MODULES(DBUSMENUTESTSVALGRIND, valgrind, have_valgrind=yes, have_valgrind=no)
|
||||
-AM_CONDITIONAL([HAVE_VALGRIND], [test "x$have_valgrind" = "xyes"])
|
||||
])
|
||||
+AM_CONDITIONAL([HAVE_VALGRIND], [test "x$have_valgrind" = "xyes"])
|
||||
|
||||
AC_SUBST(DBUSMENUTESTS_CFLAGS)
|
||||
AC_SUBST(DBUSMENUTESTS_LIBS)
|
||||
--
|
||||
2.14.0
|
||||
|
||||
37
dev-libs/libdbusmenu/libdbusmenu-16.04.0-werror.patch
Normal file
37
dev-libs/libdbusmenu/libdbusmenu-16.04.0-werror.patch
Normal file
@@ -0,0 +1,37 @@
|
||||
https://bugs.gentoo.org/691260
|
||||
|
||||
--- a/libdbusmenu-glib/Makefile.am
|
||||
+++ b/libdbusmenu-glib/Makefile.am
|
||||
@@ -68,3 +68,3 @@ libdbusmenu_glib_la_CFLAGS = \
|
||||
$(COVERAGE_CFLAGS) \
|
||||
- -Wall -Werror -Wno-error=deprecated-declarations \
|
||||
+ -Wall -Wno-error=deprecated-declarations \
|
||||
-DG_LOG_DOMAIN="\"LIBDBUSMENU-GLIB\""
|
||||
--- a/libdbusmenu-gtk/Makefile.am
|
||||
+++ b/libdbusmenu-gtk/Makefile.am
|
||||
@@ -68,3 +68,3 @@ libdbusmenu_gtk_la_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
- -Wall -Werror -Wno-error=deprecated-declarations \
|
||||
+ -Wall -Wno-error=deprecated-declarations \
|
||||
-DG_LOG_DOMAIN="\"LIBDBUSMENU-GTK\""
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -105,3 +105,3 @@ TESTS_ENVIRONMENT = env GI_TYPELIB_PATH=$(top_builddir)/libdbusmenu-glib:$(top_b
|
||||
DBUSMENU_GLIB_TEST_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
-DG_DISABLE_DEPRECATED \
|
||||
--- a/tools/Makefile.am
|
||||
+++ b/tools/Makefile.am
|
||||
@@ -18,3 +18,3 @@ dbusmenu_dumper_CFLAGS = \
|
||||
$(DBUSMENUDUMPER_CFLAGS) \
|
||||
- -Wall -Werror
|
||||
+ -Wall
|
||||
|
||||
--- a/tools/testapp/Makefile.am
|
||||
+++ b/tools/testapp/Makefile.am
|
||||
@@ -14,3 +14,3 @@ dbusmenu_testapp_CFLAGS = \
|
||||
$(DBUSMENUGLIB_CFLAGS) \
|
||||
- -Wall -Werror
|
||||
+ -Wall
|
||||
|
||||
36
dev-libs/libfmt-11.1.4.PKGBUILD
Normal file
36
dev-libs/libfmt-11.1.4.PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
pkgname=libfmt
|
||||
pkgver=11.1.4
|
||||
pkgdesc="Small, safe and fast formatting library"
|
||||
homepage="https://fmt.dev/dev/ https://github.com/fmtlib/fmt"
|
||||
license=("MIT")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/fmtlib/fmt/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("573b7de1bd224b7b1b60d44808a843db35d4bc4634f72a9edcb52cf68e99ca66c744fd5d5c97b4336ba70b94abdabac5fc253b245d0d5cd8bbe2a096bf941e39")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local cmake_args=(
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D CMAKE_BUILD_TYPE=release
|
||||
-D BUILD_SHARED_LIBS=ON
|
||||
-W no-dev
|
||||
-D FMT_CMAKE_DIR="/usr/lib/cmake/fmt"
|
||||
-D FMT_LIB_DIR="/usr/lib"
|
||||
-D FMT_TEST=true
|
||||
)
|
||||
cmake -B build "${cmake_args[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
src_check() {
|
||||
cmake --build build --target test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
34
dev-libs/libgee-0.20.8.PKGBUILD
Normal file
34
dev-libs/libgee-0.20.8.PKGBUILD
Normal file
@@ -0,0 +1,34 @@
|
||||
pkgname=libgee
|
||||
pkgver=0.20.8
|
||||
pkgdesc="A collection library providing GObject-based interfaces and classes for commonly used data structures"
|
||||
homepage="https://gitlab.gnome.org/GNOME/libgee"
|
||||
license=(LGPL-2.1-or-later)
|
||||
arch=(x86_64)
|
||||
depends=(
|
||||
glib
|
||||
glibc
|
||||
)
|
||||
makedepends=(
|
||||
git
|
||||
gobject-introspection
|
||||
vala
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
|
||||
sha512sums=("9af883bb4b2c25c429271201e634d1851378631b913bab282fe432b2b76a44674111e65caa99269fd403454c87b5474f2567c554bddd0b3ea58ca6e138c311e1")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr --disable-static \
|
||||
--enable-introspection
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
33
dev-libs/libnl-3.10.0.PKGBUILD
Normal file
33
dev-libs/libnl-3.10.0.PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
pkgname=libnl
|
||||
pkgver=3.10.0
|
||||
_libnl_dir=${pkgver/_/}
|
||||
_libnl_dir=${_libnl_dir//./_}
|
||||
slot="3"
|
||||
pkgdesc="Libraries providing APIs to netlink protocol based Linux kernel interfaces"
|
||||
homepage="https://www.infradead.org/~tgr/libnl/ https://github.com/thom311/libnl"
|
||||
license=("LGPL-2.1")
|
||||
sources=("${pkgname}-${pkgver/_rc/-rc}.tar.gz")
|
||||
urls=("https://github.com/thom311/${pkgname}/releases/download/${pkgname}${_libnl_dir}/${sources[0]}")
|
||||
sha512sums=("c95e79fba69308c63a08d0c576503b4398710ea9cd1d0097851500a7fbc5fbe87fb32ac281cf42bbfe57eab07b110055e6bc9b95d82244bba3df8a31fe562962")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local conf_args=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--disable-static
|
||||
--disable-cli
|
||||
--disable-debug
|
||||
)
|
||||
./configure "${conf_args[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
32
dev-libs/libsass-3.6.6.PKGBUILD
Normal file
32
dev-libs/libsass-3.6.6.PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
pkgname=libsass
|
||||
pkgver=3.6.6
|
||||
pkgdesc='C implementation of Sass CSS preprocessor (library)'
|
||||
arch=(x86_64)
|
||||
homepage="https://sass-lang.com/$pkgname/"
|
||||
license=(MIT)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/sass/libsass/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("659828c854af391c10a16954425fbeeb5fa036189dea45555cd8046338f7469eb7f8d84134030ce644921514b8f397ef6070b56dfb116ea7ce94328d64576518")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
[[ -f VERSION ]] || echo "${pkgver}" > VERSION
|
||||
autoreconf -i
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local conf_args=(
|
||||
--prefix=/usr
|
||||
--disable-static
|
||||
--enable-shared
|
||||
)
|
||||
./configure "${conf_args[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -vDm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
43
dev-libs/libsigc++-2.12.1.PKGBUILD
Normal file
43
dev-libs/libsigc++-2.12.1.PKGBUILD
Normal file
@@ -0,0 +1,43 @@
|
||||
pkgname=libsigc++
|
||||
pkgver=2.12.1
|
||||
_ver=${pkgver%.*}
|
||||
pkgdesc="Callback Framework for C++"
|
||||
homepage="https://libsigcplusplus.github.io/libsigcplusplus/"
|
||||
arch=(x86_64)
|
||||
license=(LGPL-2.1-or-later)
|
||||
depends=(
|
||||
gcc
|
||||
glibc
|
||||
)
|
||||
makedepends=(
|
||||
meson
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}")
|
||||
sha512sums=("5e5c920807952c732a9acb139f707fdf556786133c18bc8842130803f864ba1f260e1d4a51be0a9892c2228bcfdf129a9a2ce91e3d20077870431a53a87a9f2a")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
#leaf_filter_flags "-fno-exceptions" #`leaf_filter_flags` to be implymented
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D benchmark=false
|
||||
-D build-documentation=false
|
||||
-D build-examples=false
|
||||
-D build-tests=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
42
dev-libs/libxmlb-0.3.24.PKGBUILD
Normal file
42
dev-libs/libxmlb-0.3.24.PKGBUILD
Normal file
@@ -0,0 +1,42 @@
|
||||
pkgname=libxmlb
|
||||
pkgver=0.3.24
|
||||
pkgdesc="Library to help create and query binary XML blobs"
|
||||
homepage="https://github.com/hughsie/libxmlb"
|
||||
license=("LGPL-2.1+")
|
||||
depends=(glib:2 xz-utils zstd)
|
||||
bdepends=(meson)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/hughsie/libxmlb/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("534e5fe01727b9427137c51984c9ddced91b842c712d4f34f582193c838429b396be6e444246b324d39f6732fdf582a7d89570049f4f48d4a161aff82e33aa49")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D lzma=enabled
|
||||
-D zstd=enabled
|
||||
-D gtkdoc=false
|
||||
-D introspection=false
|
||||
-D stemmer=false
|
||||
-D tests=true
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_check() {
|
||||
meson test -C build --print-errorlogs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
rm -rf "${pkgdir}"/usr/{libexec,share}/installed-tests
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
58
dev-libs/protobuf-31.1.PKGBUILD
Normal file
58
dev-libs/protobuf-31.1.PKGBUILD
Normal file
@@ -0,0 +1,58 @@
|
||||
pkgname=protobuf
|
||||
pkgver=31.1
|
||||
pkgdesc="Google's Protocol Buffers - Extensible mechanism for serializing structured data"
|
||||
homepage="https://protobuf.dev/"
|
||||
license=("BSD")
|
||||
depends=(abseil-cpp zlib)
|
||||
_patches=("${pkgname}-30.0-findJsonCpp.patch")
|
||||
_patch_sums=("e3212111ada7f0a9dba717c70a9257b366a9cb6dfecfbcb67cf76645dcecf653cfb23b99ac394be16fa9c3baa8439be59ef5fa64631f31263da6c82c875665a5")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz"
|
||||
"FindJsonCpp.cmake"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
urls=("https://github.com/protocolbuffers/protobuf/releases/download/v${pkgver}/${sources[0]}"
|
||||
"FindJsonCpp.cmake"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
sha512sums=("5bf730e37183defcb29cf4831128f536ad8bcdce2b2b46b297d95f3de4a037b9ff3b6c57df66a039256dcefd828ba9d43c32b01a7a82aa5c881a9ae12cadb643"
|
||||
"4a824ac0a73eebf622f999c4a78add515fea92eb44e6a1bc754343567e747f5258ca0d1c600644c67691583779a9cad814a6daf983e666c389fcaa90a2ec0aa6"
|
||||
"${_patch_sums[@]}"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
for _patch in ${_patches[@]}; do
|
||||
patch -p1 -i ${filedir}/${_patch}
|
||||
done
|
||||
cp "${filedir}/FindJsonCpp.cmake" cmake
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local cmake_args=(
|
||||
-D CMAKE_BUILD_TYPE=release
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D protobuf_BUILD_CONFORMANCE=no
|
||||
-D protobuf_BUILD_LIBPROTOC=yes
|
||||
-D protobuf_BUILD_LIBUPB=yes
|
||||
-D protobuf_BUILD_PROTOBUF_BINARIES=yes
|
||||
-D protobuf_BUILD_PROTOC_BINARIES=yes
|
||||
-D protobuf_BUILD_SHARED_LIBS="yes"
|
||||
-D protobuf_BUILD_TESTS=no
|
||||
-D protobuf_DISABLE_RTTI="no"
|
||||
-D protobuf_INSTALL="yes"
|
||||
-D protobuf_TEST_XML_OUTDIR=no
|
||||
-D protobuf_WITH_ZLIB=yes
|
||||
-D protobuf_VERBOSE=no
|
||||
-D CMAKE_MODULE_PATH="cmake"
|
||||
-D protobuf_LOCAL_DEPENDENCIES_ONLY="yes"
|
||||
)
|
||||
cmake -B build "${cmake_args[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -vDm644 editors/proto.vim -t "${pkgdir}"/usr/share/vim/vimfiles/syntax
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
40
dev-libs/protobuf/FindJsonCpp.cmake
Normal file
40
dev-libs/protobuf/FindJsonCpp.cmake
Normal file
@@ -0,0 +1,40 @@
|
||||
find_path(JsonCpp_INCLUDE_DIR "json/json.h"
|
||||
PATH_SUFFIXES "jsoncpp"
|
||||
DOC "jsoncpp include directory")
|
||||
mark_as_advanced(JsonCpp_INCLUDE_DIR)
|
||||
|
||||
find_library(JsonCpp_LIBRARY
|
||||
NAMES jsoncpp
|
||||
DOC "jsoncpp library")
|
||||
mark_as_advanced(JsonCpp_LIBRARY)
|
||||
|
||||
if (JsonCpp_INCLUDE_DIR AND EXISTS "${JsonCpp_INCLUDE_DIR}/json/version.h")
|
||||
file(STRINGS "${JsonCpp_INCLUDE_DIR}/json/version.h" _JsonCpp_version_lines
|
||||
REGEX "JSONCPP_VERSION_[A-Z]+")
|
||||
string(REGEX REPLACE ".*# *define +JSONCPP_VERSION_MAJOR +([0-9]+).*" "\\1" _JsonCpp_version_major "${_JsonCpp_version_lines}")
|
||||
string(REGEX REPLACE ".*# *define +JSONCPP_VERSION_MINOR +([0-9]+).*" "\\1" _JsonCpp_version_minor "${_JsonCpp_version_lines}")
|
||||
string(REGEX REPLACE ".*# *define +JSONCPP_VERSION_PATCH +([0-9]+).*" "\\1" _JsonCpp_version_patch "${_JsonCpp_version_lines}")
|
||||
set(JsonCpp_VERSION "${_JsonCpp_version_major}.${_JsonCpp_version_minor}.${_JsonCpp_version_patch}")
|
||||
unset(_JsonCpp_version_major)
|
||||
unset(_JsonCpp_version_minor)
|
||||
unset(_JsonCpp_version_patch)
|
||||
unset(_JsonCpp_version_lines)
|
||||
endif ()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(JsonCpp
|
||||
REQUIRED_VARS JsonCpp_LIBRARY JsonCpp_INCLUDE_DIR
|
||||
VERSION_VAR JsonCpp_VERSION)
|
||||
|
||||
if (JsonCpp_FOUND)
|
||||
set(JsonCpp_INCLUDE_DIRS "${JsonCpp_INCLUDE_DIR}")
|
||||
set(JsonCpp_LIBRARIES "${JsonCpp_LIBRARY}")
|
||||
|
||||
if (NOT TARGET JsonCpp::JsonCpp)
|
||||
add_library(JsonCpp::JsonCpp SHARED IMPORTED)
|
||||
set_target_properties(JsonCpp::JsonCpp PROPERTIES
|
||||
IMPORTED_LOCATION "${JsonCpp_LIBRARY}"
|
||||
IMPORTED_IMPLIB "${JsonCpp_LIBRARY}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${JsonCpp_INCLUDE_DIR}")
|
||||
endif ()
|
||||
endif ()
|
||||
44
dev-libs/protobuf/protobuf-30.0-findJsonCpp.patch
Normal file
44
dev-libs/protobuf/protobuf-30.0-findJsonCpp.patch
Normal file
@@ -0,0 +1,44 @@
|
||||
From 2fe6cac5797bead74c473c795fdc5f9d50703894 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Zander <negril.nx+gentoo@gmail.com>
|
||||
Date: Thu, 6 Mar 2025 13:19:01 +0100
|
||||
Subject: [PATCH] fix JsonCPP name
|
||||
|
||||
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
|
||||
|
||||
diff --git a/cmake/conformance.cmake b/cmake/conformance.cmake
|
||||
index 7377841..dba05aa 100644
|
||||
--- a/cmake/conformance.cmake
|
||||
+++ b/cmake/conformance.cmake
|
||||
@@ -1,9 +1,9 @@
|
||||
# Don't run jsoncpp tests.
|
||||
set(JSONCPP_WITH_TESTS OFF)
|
||||
|
||||
-if (NOT TARGET jsoncpp_lib)
|
||||
+if (NOT TARGET JsonCpp::JsonCpp)
|
||||
if (NOT protobuf_FORCE_FETCH_DEPENDENCIES)
|
||||
- find_package(jsoncpp)
|
||||
+ find_package(JsonCpp)
|
||||
endif()
|
||||
|
||||
# Fallback to fetching Googletest from github if it's not found locally.
|
||||
@@ -21,7 +21,7 @@ if (NOT TARGET jsoncpp_lib)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
-if (NOT TARGET jsoncpp_lib)
|
||||
+if (NOT TARGET JsonCpp::JsonCpp)
|
||||
message(FATAL_ERROR
|
||||
"Cannot find jsoncpp dependency that's needed to build conformance tests.\n"
|
||||
"If instead you want to skip these tests, run cmake with:\n"
|
||||
@@ -151,7 +151,7 @@ add_test(NAME conformance_cpp_test
|
||||
set(JSONCPP_WITH_TESTS OFF CACHE BOOL "Disable tests")
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
- target_link_libraries(conformance_test_runner jsoncpp_lib)
|
||||
+ target_link_libraries(conformance_test_runner JsonCpp::JsonCpp)
|
||||
else()
|
||||
target_link_libraries(conformance_test_runner jsoncpp_static)
|
||||
endif()
|
||||
--
|
||||
2.48.1
|
||||
|
||||
39
dev-libs/snowball-stemmer-2.2.0.PKGBUILD
Normal file
39
dev-libs/snowball-stemmer-2.2.0.PKGBUILD
Normal file
@@ -0,0 +1,39 @@
|
||||
pkgname=snowball-stemmer
|
||||
pkgver=2.2.0
|
||||
pkgdesc="Snowball compiler and stemming algorithms"
|
||||
homepage="https://snowballstem.org/ https://github.com/snowballstem/snowball/"
|
||||
license=("BSD")
|
||||
slot="0/${pkgver%%.*}"
|
||||
_patches=("snowball-stemmer-2.2.0-shared-library.patch")
|
||||
_patch_sums=("611dc546bd3744d0c9d86fea2206707eafbe6c9bd2384bbe6d017a4e8a5ef919eeb32e594157e6767a63398f7cdb2fc9d87969eb544756a7c853d33efdc45693")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
urls=("https://github.com/snowballstem/snowball/archive/v${pkgver}.tar.gz"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
sha512sums=("02c43313de9de2518ea51cfb11f1c29145fc046c7838329bfdefd70b604009ad44b6db8175c25b0db31f03db30a6aec5857aa35775a9c204ec976df9cae62957"
|
||||
"${_patch_sums[@]}"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
for _patch in ${_patches[@]}; do
|
||||
patch -p1 -i ${filedir}/${_patch}
|
||||
done
|
||||
}
|
||||
|
||||
src_build() {
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install -D snowball stemwords -t "$pkgdir/usr/bin"
|
||||
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
install -Dm644 include/libstemmer.h -t "$pkgdir/usr/include"
|
||||
install -Dm644 libstemmer.so.${pkgver} -t "$pkgdir/usr/lib"
|
||||
ln -s libstemmer.so.${pkgver} "$pkgdir/usr/lib/libstemmer.so.${pkgver%%.*}"
|
||||
ln -s libstemmer.so.${pkgver%%.*} "$pkgdir/usr/lib/libstemmer.so"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
@@ -0,0 +1,59 @@
|
||||
This is based on a patch taken from alpinelinux, however, duplicated
|
||||
libstemmer.o and stemwords targets were removed and the patch was
|
||||
rebased on top of v2.2.0 tag.
|
||||
|
||||
Created shared library contains a lot of relocations, which slow down loading.
|
||||
It is known issue and probably the main reason why upstream does not support
|
||||
shared library yet [1].
|
||||
|
||||
[1] https://github.com/snowballstem/snowball/issues/34#issuecomment-203200078
|
||||
|
||||
Alpinelinux-patch: https://git.alpinelinux.org/aports/tree/community/snowball/libstemmer-library.patch?id=28f9d9e192876c43fd96bc5856cd9d8a50dd49c0
|
||||
Upstream-issue: https://github.com/snowballstem/snowball/issues/34
|
||||
|
||||
diff --git a/GNUmakefile b/GNUmakefile
|
||||
index 98eb1fa..9b539ec 100644
|
||||
--- a/GNUmakefile
|
||||
+++ b/GNUmakefile
|
||||
@@ -4,6 +4,8 @@
|
||||
# which hard-code it.
|
||||
SNOWBALL_VERSION = 2.2.0
|
||||
|
||||
+MAJOR_VERSION := $(shell echo $(SNOWBALL_VERSION) | cut -d. -f1)
|
||||
+
|
||||
ifeq ($(OS),Windows_NT)
|
||||
EXEEXT = .exe
|
||||
endif
|
||||
@@ -170,12 +172,17 @@ C_OTHER_OBJECTS = $(C_OTHER_SOURCES:.c=.o)
|
||||
JAVA_CLASSES = $(JAVA_SOURCES:.java=.class)
|
||||
JAVA_RUNTIME_CLASSES=$(JAVARUNTIME_SOURCES:.java=.class)
|
||||
|
||||
-CFLAGS=-O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations
|
||||
-CPPFLAGS=
|
||||
+CFLAGS+=-fPIC -W -Wall -Wmissing-prototypes -Wmissing-declarations
|
||||
+CPPFLAGS+=
|
||||
|
||||
INCLUDES=-Iinclude
|
||||
|
||||
-all: snowball$(EXEEXT) libstemmer.a stemwords$(EXEEXT) $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS)
|
||||
+all: snowball$(EXEEXT) libstemmer.a libstemmer.so stemwords$(EXEEXT) $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS)
|
||||
+
|
||||
+libstemmer.so: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS)
|
||||
+ $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname,$@.$(MAJOR_VERSION),-version-script,libstemmer/symbol.map -o $@.$(SNOWBALL_VERSION) $^
|
||||
+ ln -s $@.$(SNOWBALL_VERSION) $@.$(MAJOR_VERSION)
|
||||
+ ln -s $@.$(SNOWBALL_VERSION) $@
|
||||
|
||||
algorithms.mk: libstemmer/mkalgorithms.pl libstemmer/modules.txt
|
||||
libstemmer/mkalgorithms.pl algorithms.mk libstemmer/modules.txt
|
||||
diff --git a/libstemmer/symbol.map b/libstemmer/symbol.map
|
||||
new file mode 100644
|
||||
index 0000000..7a3d423
|
||||
--- /dev/null
|
||||
+++ b/libstemmer/symbol.map
|
||||
@@ -0,0 +1,6 @@
|
||||
+SB_STEMMER_0 {
|
||||
+ global:
|
||||
+ sb_stemmer_*;
|
||||
+ local:
|
||||
+ *;
|
||||
+};
|
||||
45
dev-libs/spdlog-1.15.3.PKGBUILD
Normal file
45
dev-libs/spdlog-1.15.3.PKGBUILD
Normal file
@@ -0,0 +1,45 @@
|
||||
pkgname=spdlog
|
||||
pkgver=1.15.3
|
||||
pkgdesc="Fast C++ logging library"
|
||||
homepage="https://github.com/gabime/spdlog"
|
||||
license=("MIT")
|
||||
_patches=("spdlog-force_external_fmt.patch")
|
||||
_patch_sums=("257c7f7f56e66b88a16238a2c81887f2d5ba9692c18bf5fc371b95f44936018ec7c4a0abd0e54f38cb6a7957f82a1b95af9d238fa7fa16631f0be1980d76f692")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
urls=("https://github.com/gabime/${pkgname}/archive/v${pkgver}.tar.gz"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
sha512sums=("21c35f4091850ea3a0cd6a24867e06e943df70d76cd5a7ec0b15a33e0e9e0cc3584ed7930e1ac6f347e7e06f0e002d0e759884eaf05310014e24ea0e0419fcc4"
|
||||
"${_patch_sums[@]}"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
for _patch in ${_patches[@]}; do
|
||||
patch -p1 -i ${filedir}/${_patch}
|
||||
done
|
||||
find include/spdlog/ -type f -name "*.orig" -delete
|
||||
rm -r include/spdlog/fmt/bundled
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local cmake_args=(
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D CMAKE_BUILD_TYPE=release
|
||||
-DSPDLOG_BUILD_BENCH=no
|
||||
-DSPDLOG_BUILD_EXAMPLE=no
|
||||
-DSPDLOG_FMT_EXTERNAL=yes
|
||||
-DSPDLOG_BUILD_SHARED=yes
|
||||
-DSPDLOG_BUILD_TESTS=no
|
||||
)
|
||||
cmake -B build "${cmake_args[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
15
dev-libs/spdlog/spdlog-force_external_fmt.patch
Normal file
15
dev-libs/spdlog/spdlog-force_external_fmt.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff --git a/include/spdlog/tweakme.h b/include/spdlog/tweakme.h
|
||||
index 24361f30..6b4fc14c 100644
|
||||
--- a/include/spdlog/tweakme.h
|
||||
+++ b/include/spdlog/tweakme.h
|
||||
@@ -71,7 +71,9 @@
|
||||
// In this case spdlog will try to include <fmt/format.h> so set your -I flag
|
||||
// accordingly.
|
||||
//
|
||||
-// #define SPDLOG_FMT_EXTERNAL
|
||||
+#ifndef SPDLOG_FMT_EXTERNAL
|
||||
+#define SPDLOG_FMT_EXTERNAL
|
||||
+#endif
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
34
dev-python/pygobjest-3.50.1.PKGBUILD
Normal file
34
dev-python/pygobjest-3.50.1.PKGBUILD
Normal file
@@ -0,0 +1,34 @@
|
||||
pkgname=pygobject
|
||||
pkgver=3.50.1
|
||||
pkgdesc="Python bindings for GObject Introspection"
|
||||
homepage="https://pygobject.gnome.org"
|
||||
license=("LGPL-2.1+")
|
||||
depends=(glib gobject-introspection libffi)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
|
||||
sha512sums=("5708756cbc8e2b697442953a7f3d391ace98f1b7811cb905b0d80185f020bf32a775d70c49d1620a9733e83a6862314f2a72fa1b77cb26a01e84b3bff72e068e")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D pycairo=disabled
|
||||
-D tests=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
python -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
31
dev-util/blueprint-compiler-0.18.0.PKGBUILD
Normal file
31
dev-util/blueprint-compiler-0.18.0.PKGBUILD
Normal file
@@ -0,0 +1,31 @@
|
||||
pkgname=blueprint-compiler
|
||||
pkgver=0.18.0
|
||||
pkgdesc="Compiler for Blueprint, a markup language for GTK user interfaces"
|
||||
homepage="https://gnome.pages.gitlab.gnome.org/blueprint-compiler/ https://gitlab.gnome.org/GNOME/blueprint-compiler/"
|
||||
license=("LGPL-3+")
|
||||
depends=("dev-python/pygobject:3")
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
|
||||
sha512sums=("0f15a0e997ec8edced82053f345abbfa4a77ca77dd5976d39e135c3b8af137f712ce2cb5b33abba7450ff440fb48dcb136186e2e0b7d54d0393d5778e8b19142")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D docs=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir" --no-rebuild
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
48
dev-util/itstool-2.0.7.PKGBUILD
Normal file
48
dev-util/itstool-2.0.7.PKGBUILD
Normal file
@@ -0,0 +1,48 @@
|
||||
pkgname=itstool
|
||||
pkgver=2.0.7
|
||||
pkgdesc="Translation tool for XML documents that uses gettext files and ITS rules"
|
||||
homepage="https://itstool.org/"
|
||||
license=("GPL-3+")
|
||||
depends=("dev-python/lxml")
|
||||
_patches=("itstool-2.0.7-raw-string-testrunner.patch")
|
||||
_patch_sums=("9864daaf40dcbb3a5074ea73d98275a1c5590044b4c1e74f980a78978a706153d5c70c347da5424757e877b0cc49307804a228404daf8f276568e214436c5610")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz"
|
||||
"${pkgname}-2.0.7-switch-to-lxml.patch.xz"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
_commit="19f9580f27aa261ea383b395fdef7e153f3f9e6d"
|
||||
urls=("https://github.com/itstool/itstool/archive/${_commit}.tar.gz"
|
||||
"https://dev.gentoo.org/~sam/distfiles/dev-util/itstool/${sources[1]}"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
sha512sums=("52ec7c97891bb55628a34141e39029003fa09bb3f79baeeaaf782710bc14e6e4eda4c5ca360728db68928cd27f331ff0e0f6ee8a954ad723e4619f0d2193e50c"
|
||||
"40e69baa1d644aa8bdf305fee396ee4bd15203f2d55aa3d7ece088a176a35624711eaa31ef05d6f3e6a0bfdd1ed39ab41911fc968099fe34802afdc4142b200a"
|
||||
"${_patch_sums[@]}"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
for _patch in ${_patches[@]}; do
|
||||
patch -p1 -i ${filedir}/${_patch}
|
||||
done
|
||||
cp -v ${distdir}/${sources[1]} ./
|
||||
xz -d ${sources[1]}
|
||||
patch -p1 -i ${sources[1]%.xz}
|
||||
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
15
dev-util/itstool/itstool-2.0.7-raw-string-testrunner.patch
Normal file
15
dev-util/itstool/itstool-2.0.7-raw-string-testrunner.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
Followup fix to:
|
||||
https://github.com/itstool/itstool/commit/32c7d07664dc37765100285d1202d488cd6a27e8
|
||||
but for the test runner, which we can now run.
|
||||
|
||||
--- a/tests/run_tests.py
|
||||
+++ b/tests/run_tests.py
|
||||
@@ -379,7 +379,7 @@ class ITSTestRunner(unittest.TextTestRun
|
||||
test_binary_path = os.path.join(ITSTOOL_DIR, "itstool_test")
|
||||
shutil.copy(os.path.join(ITSTOOL_DIR, "itstool.in"), test_binary_path)
|
||||
data_dir = os.path.join(ITSTOOL_DIR, "its")
|
||||
- call("sed -i -e 's/@DATADIR@/%s/' %s" % (data_dir.replace('/', '\/'), test_binary_path), shell=True)
|
||||
+ call("sed -i -e 's/@DATADIR@/%s/' %s" % (data_dir.replace('/', r'\/'), test_binary_path), shell=True)
|
||||
|
||||
result = super(ITSTestRunner, self).run(test)
|
||||
|
||||
44
gui-apps/awww-0.11.2.PKGBUILD
Normal file
44
gui-apps/awww-0.11.2.PKGBUILD
Normal file
@@ -0,0 +1,44 @@
|
||||
pkgname=awww
|
||||
pkgver=0.11.2
|
||||
pkgdesc="Efficient animated wallpaper daemon for wayland, controlled at runtime"
|
||||
homepage="https://codeberg.org/LGFae/awww"
|
||||
depends=(
|
||||
dav1d
|
||||
gcc
|
||||
glibc
|
||||
lz4
|
||||
)
|
||||
makedepends=(
|
||||
cargo
|
||||
scdoc
|
||||
wayland
|
||||
wayland-protocols
|
||||
)
|
||||
license=(GPL-3)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://codeberg.org/LGFae/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha512sums=("586637b4df570ed064f88ae1307a55652e55dc40739fde0c91852d13feed5897a0b32bf8d166723d42ef43884ceea0fba1e42d1fabb148943fc30831bca33159")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
cargo fetch --locked
|
||||
}
|
||||
|
||||
src_build() {
|
||||
cargo build --frozen --release --all-features
|
||||
./doc/gen.sh
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install -vDm755 -t "$pkgdir/usr/bin" \
|
||||
target/release/swww \
|
||||
target/release/swww-daemon
|
||||
|
||||
install -vDm644 -t "${pkgdir}/usr/share/man/man1" doc/generated/*.1
|
||||
|
||||
install -vDm644 completions/swww.bash "${pkgdir}/usr/share/bash-completion/completions/awww"
|
||||
install -vDm644 completions/_swww -t "${pkgdir}/usr/share/zsh/site-functions"
|
||||
install -vDm644 completions/swww.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
42
gui-apps/grim-1.5.0.PKGBUILD
Normal file
42
gui-apps/grim-1.5.0.PKGBUILD
Normal file
@@ -0,0 +1,42 @@
|
||||
pkgname=grim
|
||||
pkgver=1.5.0
|
||||
pkgdesc="Grab images from a Wayland compositor"
|
||||
homepage="https://gitlab.freedesktop.org/emersion/grim"
|
||||
license=("MIT")
|
||||
depends=(
|
||||
wayland
|
||||
libpng
|
||||
pixman
|
||||
wayland-protocols
|
||||
)
|
||||
bdepends=(wayland-scanner)
|
||||
sources=("${pkgname}-v${pkgver}.tar.bz2")
|
||||
urls=("https://gitlab.freedesktop.org/emersion/grim/-/archive/v${pkgver}/${sources[0]}")
|
||||
sha512sums=("5eccc172a4d21be7e541f201a86909647d54533749c6dc679b8e68383a310a832f42cf8b5096ef61838c9c7b3213b32b4f54103a67b238ede718b4be834a0aed")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D jpeg=disabled
|
||||
-D man-pages=disabled
|
||||
-D bash-completions=false
|
||||
-D fish-completions=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
install -vDm644 contrib/completions/bash/grim.bash "${pkgdir}"/usr/share/bash-completion/completions/grim
|
||||
install -vDm644 contrib/completions/fish/grim.fish "${pkgdir}"/usr/share/fish/vendor_completions.d/grim.fish
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
38
gui-apps/rofi-2.0.0.PKGBUILD
Normal file
38
gui-apps/rofi-2.0.0.PKGBUILD
Normal file
@@ -0,0 +1,38 @@
|
||||
pkgname=rofi
|
||||
pkgver=2.0.0
|
||||
pkgdesc="A window switcher, application launcher and dmenu replacement"
|
||||
homepage="https://davatorium.github.io/rofi"
|
||||
arch=('x86_64')
|
||||
license=('MIT')
|
||||
depends=('bash' 'cairo' 'gdk-pixbuf:2' 'glib:2' 'glibc' 'libxkbcommon' 'pango' 'wayland')
|
||||
makedepends=('meson' 'pandoc' 'wayland-protocols')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://github.com/davatorium/rofi/releases/download/${pkgver}/${sources[0]}")
|
||||
sha512sums=("0531f7da2a6e363b2c97c47778cadc4a84eb58903ea91ce683ff98d7c6e23172fa0df59a42f7236a4a0e80020c21c72cbc126ffe260491082ab9cc19ef6673d5")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D drun=true
|
||||
-D window=true
|
||||
-D check=disabled
|
||||
-D wayland=enabled
|
||||
-D xcb=disabled
|
||||
-D imdkit=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
37
gui-apps/slurp-1.5.0.PKGBUILD
Normal file
37
gui-apps/slurp-1.5.0.PKGBUILD
Normal file
@@ -0,0 +1,37 @@
|
||||
pkgname=slurp
|
||||
pkgver=1.5.0
|
||||
pkgdesc="Select a region in a Wayland compositor and print it to the standard output"
|
||||
homepage="https://github.com/emersion/slurp"
|
||||
license=("MIT")
|
||||
depends=(
|
||||
wayland-protocols
|
||||
wayland
|
||||
cairo
|
||||
libxkbcommon
|
||||
)
|
||||
bdepends=(wayland-scanner)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/emersion/${pkgname}/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=("77c4efdaa4ac411f43c598e5d654bcf61f969a5e403df6110757a7b217e02d55d0ba797729e42f8219d3bba79f58bcb36746799de765d3b25f301bf9ac3c1888")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D man-pages=disabled
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
39
gui-apps/swappy-1.5.1.PKGBUILD
Normal file
39
gui-apps/swappy-1.5.1.PKGBUILD
Normal file
@@ -0,0 +1,39 @@
|
||||
pkgname=swappy
|
||||
pkgver=1.5.1
|
||||
pkgdesc="A Wayland native snapshot and editor tool, inspired by Snappy on macOS"
|
||||
gomepage="https://github.com/jtheoof/swappy"
|
||||
license=("MIT")
|
||||
depends=(
|
||||
glib:2
|
||||
cairo
|
||||
gdk-pixbuf:2
|
||||
pango
|
||||
"fontawesome[otf]"
|
||||
xorg-proto
|
||||
)
|
||||
bdepends=(scdoc)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/jtheoof/${pkgname}/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=("688ad9006965d6a3f9d2997335bc3e8172e4f6f53551bb92603cdc1f14138c25f9f7d28a87aa1cbcefc94f5da1701443a2ddf0e883b648ecc5a0b0ca28588217")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D man-pages=enabled
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
33
gui-apps/swaync-0.12.3.PKGBUILD
Normal file
33
gui-apps/swaync-0.12.3.PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
pkgname=swaync
|
||||
_name="SwayNotificationCenter"
|
||||
pkgver=0.12.3
|
||||
pkgdesc="A simple notification daemon with a GTK gui for notifications and control center"
|
||||
homepage="https://github.com/ErikReider/SwayNotificationCenter"
|
||||
license=("GPL-3")
|
||||
depends=(sassc glib:2 gobject-introspection granite json-glib libgee gtk4-layer-shell gtk:4 libadwaita libhandy libpulse dbus gdk-pixbuf:2)
|
||||
bdepends=(blueprint-compiler)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/ErikReider/${_name}/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=("847fa8b46f432d40f4c1c7a8559d5b3f5b431784e3dc7afb90edb57533c6662116af2d78965b2e4b9f635432b108e3a1ad518d739c6fa13ee317b0d80bcbb8cf")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D pulse-audio=true
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
42
gui-apps/swayosd-0.2.1.PKGBUILD
Normal file
42
gui-apps/swayosd-0.2.1.PKGBUILD
Normal file
@@ -0,0 +1,42 @@
|
||||
pkgname=swayosd
|
||||
pkgver=0.2.1
|
||||
pkgdesc="GTK based on screen display for keyboard shortcuts like caps-lock and volume"
|
||||
homepage="https://github.com/ErikReider/SwayOSD"
|
||||
license=("GPL-3")
|
||||
depends=(
|
||||
glib:2
|
||||
libevdev
|
||||
libinput
|
||||
gtk4-layer-shell
|
||||
libpulse
|
||||
cairo
|
||||
gdk-pixbuf:2
|
||||
gtk+:3
|
||||
pango
|
||||
)
|
||||
bdepends=(ninja sassc)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/ErikReider/SwayOSD/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=("473ab6660ad1ef8d3c7fbcad611f08dcc72e81b0e6df2714bcb2c2644361f8cea82efddd9597197e85520132ddd5e7a5c28b936170a2477208f2ad2e608c4063")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
cargo fetch --locked --target "$(rustc --print host-tuple)"
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
101
gui-apps/waybar-0.14.0.PKGBUILD
Normal file
101
gui-apps/waybar-0.14.0.PKGBUILD
Normal file
@@ -0,0 +1,101 @@
|
||||
pkgname=waybar
|
||||
pkgver=0.14.0
|
||||
pkgdesc="Highly customizable Wayland bar for Sway and Wlroots based compositors"
|
||||
homepage="https://github.com/Alexays/Waybar"
|
||||
license=("MIT")
|
||||
BDEPEND="
|
||||
>=app-text/scdoc-1.9.2
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/wayland-scanner
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="
|
||||
dev-cpp/cairomm:0
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/gtkmm:3.0
|
||||
dev-libs/glib:2
|
||||
dev-libs/jsoncpp:=
|
||||
dev-libs/libsigc++:2
|
||||
>=dev-libs/libfmt-8.1.1:=
|
||||
>=dev-libs/spdlog-1.10.0:=
|
||||
dev-libs/date:=
|
||||
dev-libs/wayland
|
||||
>=gui-libs/gtk-layer-shell-0.9.0
|
||||
media-video/pipewire:=
|
||||
x11-libs/gtk+:3[wayland]
|
||||
x11-libs/libxkbcommon
|
||||
evdev? ( dev-libs/libevdev )
|
||||
gps? ( sci-geosciences/gpsd:= )
|
||||
jack? ( virtual/jack )
|
||||
libinput? ( dev-libs/libinput:= )
|
||||
logind? (
|
||||
|| ( sys-apps/systemd
|
||||
sys-auth/elogind )
|
||||
)
|
||||
mpd? ( media-libs/libmpdclient )
|
||||
mpris? ( >=media-sound/playerctl-2 )
|
||||
network? ( dev-libs/libnl:3 )
|
||||
pipewire? ( media-video/wireplumber:0/0.5 )
|
||||
pulseaudio? ( media-libs/libpulse )
|
||||
sndio? ( media-sound/sndio:= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tray? (
|
||||
dev-libs/libayatana-appindicator
|
||||
dev-libs/libdbusmenu[gtk3]
|
||||
)
|
||||
udev? ( virtual/libudev:= )
|
||||
upower? ( sys-power/upower:= )
|
||||
wifi? ( sys-apps/util-linux )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/wayland-protocols
|
||||
test? ( dev-cpp/catch:0 )
|
||||
"
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/Alexays/${pkgname}/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("dc3d18f7117be8cce5979029110770699b0d9d737337c3cf27361d6ceda6fcde33dac9781e406a70eb24c9e0e95e3801d47e81d44bfb61c311510fb30dd975a7")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D man-pages=disabled
|
||||
-D cava=disabled # depends on LukashonakV/cava fork, but media-sound/cava is karlstav/cava
|
||||
-D libevdev=disabled
|
||||
-D gps=disabled
|
||||
-D jack=disabled
|
||||
-D libinput=enabled
|
||||
-D logind=enabled
|
||||
-D mpd=disabled
|
||||
-D mpris=disabled
|
||||
-D libnl=enabled
|
||||
-D pulseaudio=enabled
|
||||
-D wireplumber=enabled
|
||||
-D pipewire=enabled
|
||||
-D sndio=disabled
|
||||
-D systemd=enabled
|
||||
-D tests=disabled
|
||||
-D dbusmenu-gtk=enabled
|
||||
-D libudev=enabled
|
||||
-D upower_glib=disabled
|
||||
-D rfkill=disabled
|
||||
-D login-proxy=false
|
||||
-D experimental=false
|
||||
-D niri=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson configure build --no-pager
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
30
gui-apps/wl-clipboard-2.2.1.PKGBUILD
Normal file
30
gui-apps/wl-clipboard-2.2.1.PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
pkgname=wl-clipboard
|
||||
pkgver=2.2.1
|
||||
pkgdesc="Wayland clipboard utilities"
|
||||
homepage="https://github.com/bugaevc/wl-clipboard"
|
||||
license=("GPL-3")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/bugaevc/${pkgname}/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=("fdda519df42e1dbfb112ab7d8195a0f36cf5cf18fffffa8f32ac4688a08009e206b96a169da641f909c9acf244eb6a5201811842b4d3111e1ccdb1ce8fb4db43")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D fishcompletiondir="/usr/share/fish/vendor_completions.d"
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
108
gui-libs/gtk-4.18.6.PKGBUILD
Normal file
108
gui-libs/gtk-4.18.6.PKGBUILD
Normal file
@@ -0,0 +1,108 @@
|
||||
pkgname=gtk
|
||||
pkgver=4.18.6
|
||||
pkgdesc="GTK is a multi-platform toolkit for creating graphical user interfaces"
|
||||
homepage="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
|
||||
license=("LGPL-2+")
|
||||
depends=(
|
||||
at-spi2-core
|
||||
cairo
|
||||
desktop-file-utils
|
||||
fontconfig
|
||||
fribidi
|
||||
gcc-libs
|
||||
gdk-pixbuf2
|
||||
glib2
|
||||
glibc
|
||||
graphene
|
||||
gtk-update-icon-cache
|
||||
harfbuzz
|
||||
iso-codes
|
||||
libegl
|
||||
libpng
|
||||
librsvg
|
||||
libxkbcommon
|
||||
pango
|
||||
shared-mime-info
|
||||
vulkan-loader
|
||||
wayland
|
||||
)
|
||||
makedepends=(
|
||||
docbook-xsl
|
||||
gobject-introspection
|
||||
meson
|
||||
python-gobject
|
||||
sassc
|
||||
shaderc
|
||||
vulkan-headers
|
||||
wayland-protocols
|
||||
)
|
||||
_hook="gtk4-querymodules.HOOK"
|
||||
_hook_sum="0faeb757f9c9bde8a295c8312c512e9519d6007ad5ee72ac6e65f79d4aec8bc426ece530744e0c36e46df41a2769ff0bcf8ae3c425d3beacae30ddd04f5414ff"
|
||||
_patches=("0001-gdk-add-a-poison-macro-to-hide-GDK_WINDOWING_ge_4.18.5.patch")
|
||||
_patch_sums=("3df25aa8c17f7858febf1e0d3171a078736968d90114729830654c0ebaac53e9cf5ce0ab317065ac7eb0a8572f16ceb5d323755138d9ba7c013232b10e0085ab")
|
||||
sources=("${pkgname}-${pkgver}.tar.xz"
|
||||
"${_hook}"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}"
|
||||
"${_hook}"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
sha512sums=("636bc3adf01f444dfbf10a3fdce82cdd7b2914b9ff251e98e006a987c3216ef22f5ae8759aa5f2385d1e82813ab8bf2c8adc4f8d6db230e9f507b44fac10e359"
|
||||
"${_hook_sum}"
|
||||
"${_patch_sums[@]}"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
for _patch in ${_patches[@]}; do
|
||||
patch -p1 -i ${filedir}/${_patch}
|
||||
done
|
||||
|
||||
# Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
|
||||
sed -i \
|
||||
-e '/gtk4-update-icon-cache/d' \
|
||||
docs/reference/gtk/meson.build \
|
||||
tools/meson.build
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D x11-backend=false
|
||||
-D wayland-backend=true
|
||||
-D broadway-backend=false
|
||||
-D win32-backend=false
|
||||
-D android-backend=false
|
||||
-D macos-backend=false
|
||||
-D media-gstreamer=disabled
|
||||
-D print-cpdb=disabled
|
||||
-D print-cups=disabled
|
||||
-D vulkan=enabled
|
||||
-D cloudproviders=disabled
|
||||
-D sysprof=disabled
|
||||
-D tracker=disabled
|
||||
-D colord=disabled
|
||||
-D f16c=enabled
|
||||
-D introspection=enabled
|
||||
-D documentation=false
|
||||
-D screenshots=false
|
||||
-D man-pages=true
|
||||
-D profile=default
|
||||
-D build-demos=false
|
||||
-D build-testsuite=false
|
||||
-D build-examples=false
|
||||
-D build-tests=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
leaf_install_hook "${filedir}/${_hook}"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
38
gui-libs/gtk-layer-shell-0.9.2.PKGBUILD
Normal file
38
gui-libs/gtk-layer-shell-0.9.2.PKGBUILD
Normal file
@@ -0,0 +1,38 @@
|
||||
pkgname=gtk-layer-shell
|
||||
pkgver=0.9.2
|
||||
pkgdesc="Library to create desktop components for Wayland using the Layer Shell protocol"
|
||||
homepage="https://github.com/wmww/gtk-layer-shell"
|
||||
license=("MIT-with-advertising" "LGPL-3+")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/wmww/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha512sums=("7ecbefca73f3bcba709f2b5f4153203592cb345ebce8aee27e75365d615e9a8f66ec28f9d42bae8828da9427082b0df190e820593301a80ac8b730c61a75b708")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D examples=false
|
||||
-D docs=false
|
||||
-D tests=true
|
||||
-D introspection=false
|
||||
-D vapi=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_check() {
|
||||
meson test -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
@@ -0,0 +1,93 @@
|
||||
From e00bc31abbc489f1787cd5b2d5c441dbb82ed03a Mon Sep 17 00:00:00 2001
|
||||
From: Eli Schwartz <eschwartz93@gmail.com>
|
||||
Date: Wed, 19 Jun 2024 21:28:31 -0400
|
||||
Subject: [PATCH] gdk: add a "poison" macro to hide GDK_WINDOWING_*
|
||||
|
||||
Many packages perform automagic dependencies on gdk's backend
|
||||
implementations by checking if the macro is defined and then using the
|
||||
code it unlocks, rather than having a buildsystem option such as
|
||||
-Dwayland=true.
|
||||
|
||||
It's unfeasible to patch every such package's source code to add
|
||||
configure options and respect them. Instead add a truly filthy hack and
|
||||
permit gtk itself to selectively show or hide the windowing system in
|
||||
use.
|
||||
|
||||
By default, we assume this macro is never defined. It should only ever
|
||||
be defined inside an ebuild, as such:
|
||||
|
||||
```
|
||||
use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND
|
||||
use X || append-cflags -DGENTOO_GTK_HIDE_X11
|
||||
```
|
||||
|
||||
When seen, this will prevent code using "#ifdef GDK_WINDOWING_*" from
|
||||
seeing the define, so the automagic dependency won't be picked up. It
|
||||
will also cause any attempt to #include the backend-specific headers to
|
||||
bug out.
|
||||
|
||||
Bug: https://bugs.gentoo.org/624960
|
||||
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
|
||||
Signed-off-by: Lukas Schmelting <lschmelting@posteo.com>
|
||||
---
|
||||
gdk/gdkconfig.h.meson | 7 +++++++
|
||||
gdk/wayland/gdkwayland.h | 4 ++++
|
||||
gdk/x11/gdkx.h | 4 ++++
|
||||
3 files changed, 15 insertions(+)
|
||||
|
||||
diff --git a/gdk/gdkconfig.h.meson b/gdk/gdkconfig.h.meson
|
||||
index 17276e0..03cf61c 100644
|
||||
--- a/gdk/gdkconfig.h.meson
|
||||
+++ b/gdk/gdkconfig.h.meson
|
||||
@@ -10,11 +10,18 @@
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
+#ifndef GENTOO_GTK_HIDE_X11
|
||||
#mesondefine GDK_WINDOWING_X11
|
||||
+#endif
|
||||
+
|
||||
#mesondefine GDK_WINDOWING_ANDROID
|
||||
#mesondefine GDK_WINDOWING_BROADWAY
|
||||
#mesondefine GDK_WINDOWING_MACOS
|
||||
+
|
||||
+#ifndef GENTOO_GTK_HIDE_WAYLAND
|
||||
#mesondefine GDK_WINDOWING_WAYLAND
|
||||
+#endif
|
||||
+
|
||||
#mesondefine GDK_WINDOWING_WIN32
|
||||
|
||||
#mesondefine GDK_RENDERING_CAIRO
|
||||
diff --git a/gdk/wayland/gdkwayland.h b/gdk/wayland/gdkwayland.h
|
||||
index 8464459..5d84619 100644
|
||||
--- a/gdk/wayland/gdkwayland.h
|
||||
+++ b/gdk/wayland/gdkwayland.h
|
||||
@@ -24,6 +24,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
+#ifdef GENTOO_GTK_HIDE_WAYLAND
|
||||
+ #error "A Gentoo ebuild has hidden wayland and it cannot be used in this compilation unit. Please file a bug if you see this error."
|
||||
+#endif
|
||||
+
|
||||
#include <gdk/gdk.h>
|
||||
|
||||
#define __GDKWAYLAND_H_INSIDE__
|
||||
diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h
|
||||
index 6bef6b6..d4f8b94 100644
|
||||
--- a/gdk/x11/gdkx.h
|
||||
+++ b/gdk/x11/gdkx.h
|
||||
@@ -24,6 +24,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
+#ifdef GENTOO_GTK_HIDE_X11
|
||||
+ #error "A Gentoo ebuild has hidden x11 and it cannot be used in this compilation unit. Please file a bug if you see this error."
|
||||
+#endif
|
||||
+
|
||||
#include <gdk/gdk.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
--
|
||||
2.49.0
|
||||
|
||||
5
gui-libs/gtk/gtk4-querymodules.HOOK
Normal file
5
gui-libs/gtk/gtk4-querymodules.HOOK
Normal file
@@ -0,0 +1,5 @@
|
||||
target=(/usr/lib/gtk-4.0/4.0.0/*)
|
||||
triggers=("install" "remove")
|
||||
operation() {
|
||||
gio-querymodules /usr/lib/gtk-4.0/4.0.0/
|
||||
}
|
||||
44
gui-libs/gtk4-layer-shell-1.1.1.PKGBUILD
Normal file
44
gui-libs/gtk4-layer-shell-1.1.1.PKGBUILD
Normal file
@@ -0,0 +1,44 @@
|
||||
pkgname=gtk4-layer-shell
|
||||
pkgver=1.1.1
|
||||
pkgdesc="A library for using the Layer Shell Wayland protocol with GTK4."
|
||||
homepage="https://github.com/wmww/gtk4-layer-shell"
|
||||
license=("MIT")
|
||||
depends=(vala wayland gtk:4 glib:2 meson ninja wayland-protocols wayland-scanner gobject-introspection)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/wmww/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha512sums=("5c47e1df308fe9ee53bc16458209b845854307fd1d939a0342568f3a1a22bc2b40b8d817642c69a81be4c2d291495b1f900c084276c605952eead103b3cb6a02")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nofallback
|
||||
-D python.bytecompile=1
|
||||
-D examples=false
|
||||
-D docs=false
|
||||
-D tests=false
|
||||
-D smoke-tests=false
|
||||
-D introspection=true
|
||||
-D vapi=true
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
#src_check() {
|
||||
# install -d -m 0700 "${TMPDIR}"/xdg-runtime
|
||||
# export XDG_RUNTIME_DIR="${TMPDIR}"/xdg-runtime
|
||||
# export GDK_BACKEND=wayland
|
||||
# unset WAYLAND_DISPLAY
|
||||
# meson test -C build
|
||||
#}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
37
gui-libs/libadwaita-1.7.7.PKGBUILD
Normal file
37
gui-libs/libadwaita-1.7.7.PKGBUILD
Normal file
@@ -0,0 +1,37 @@
|
||||
pkgname=libadwaita
|
||||
pkgver=1.7.7
|
||||
pkgdesc="Building blocks for modern GNOME applications"
|
||||
homepage="https://gnome.pages.gitlab.gnome.org/libadwaita/ https://gitlab.gnome.org/GNOME/libadwaita"
|
||||
license=("LGPL-2.1+")
|
||||
depends=(glib:2 gtk:4 appstream fribidi gobject-introspection)
|
||||
bdepends=(vala gettext sassc)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
|
||||
sha512sums=("af59e6813794ef2ac1aa22fa4d295caacbe3b58b6398b4c1d6ab14f454d308a4040ad286132f3731e3706e1dfc036df50d15e09cd748f975724a9226b9f74d52")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nofallback
|
||||
-D python.bytecompile=1
|
||||
-D profiling=false
|
||||
-D introspection=enabled
|
||||
-D vapi=true
|
||||
-D documentation=false
|
||||
-D tests=false
|
||||
-D examples=false
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
39
gui-libs/libhandy-1.8.3.PKGBUILD
Normal file
39
gui-libs/libhandy-1.8.3.PKGBUILD
Normal file
@@ -0,0 +1,39 @@
|
||||
pkgname=libhandy
|
||||
pkgver=1.8.3
|
||||
pkgdesc="Building blocks for modern adaptive GNOME apps"
|
||||
homepage="https://gitlab.gnome.org/GNOME/libhandy/"
|
||||
license=("LGPL-2.1+")
|
||||
slot="1"
|
||||
depends=(glib:2 gtk+:3 gobject-introspection xorg-proto)
|
||||
bdepends=(libxml:2 gettext)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
|
||||
sha512sums=("1e0ae363d2a4993c9667243715256b27cb0ecb898fa8f4ea1a914fbeb36c0a9c26447f8f13f92f5a855e45ada49f732adeb30b88d81f3ee5f984bca48db3ae65")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D profiling=false
|
||||
-D introspection=enabled
|
||||
-D vapi=true
|
||||
-D gtk_doc=false
|
||||
-D tests=false
|
||||
-D examples=false
|
||||
-D glade_catalog=disabled
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
46
gui-libs/xdg-desktop-portal-wlr-0.7.1.PKGBUILD
Normal file
46
gui-libs/xdg-desktop-portal-wlr-0.7.1.PKGBUILD
Normal file
@@ -0,0 +1,46 @@
|
||||
pkgname=xdg-desktop-portal-wlr
|
||||
pkgver=0.7.1
|
||||
pkgdesc='xdg-desktop-portal backend for wlroots'
|
||||
homepage="https://github.com/emersion/xdg-desktop-portal-wlr"
|
||||
arch=('x86_64')
|
||||
license=('MIT')
|
||||
provides=('xdg-desktop-portal-impl')
|
||||
depends=(
|
||||
'libdrm'
|
||||
'inih'
|
||||
'pipewire'
|
||||
'mesa'
|
||||
'systemd'
|
||||
'wayland'
|
||||
'xdg-desktop-portal'
|
||||
)
|
||||
makedepends=(
|
||||
'meson'
|
||||
'wayland-protocols'
|
||||
)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/emersion/${pkgname}/releases/download/v${pkgver}/${sources[0]}")
|
||||
sha512sums=("87aa5255d3de3203c2bfa6986c2acbffbfd414d12fb72aeca25249d3b528ffb948858a787c9c4206b18faaddd6ce09c95c257e969cc3cfeee8e376c3846f2b9d")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local meson_args=(
|
||||
--prefix=/usr
|
||||
--buildtype=release
|
||||
--wrap-mode=nodownload
|
||||
-D python.bytecompile=1
|
||||
-D sd-bus-provider=libsystemd
|
||||
)
|
||||
meson setup build "${meson_args[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
install -vDm644 "contrib/wlroots-portals.conf" -t "${pkgdir}/usr/share/xdg-desktop-portal"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
@@ -24,5 +24,8 @@ src_check() {
|
||||
|
||||
src_install() {
|
||||
make prefix="${pkgdir}/usr" install
|
||||
sed -i 's|^prefix=.*$|prefix=/usr|' "${pkgdir}"/usr/lib/pkgconfig/*.pc
|
||||
rm -v "${pkgdir}/usr/lib/libzstd.a"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
18
media-fonts/fontawesome-6.5.1.PKGBUILD
Normal file
18
media-fonts/fontawesome-6.5.1.PKGBUILD
Normal file
@@ -0,0 +1,18 @@
|
||||
pkgname=fontawesome
|
||||
pkgver=6.5.1
|
||||
pkgdesc="The iconic font"
|
||||
homepage="https://fontawesome.com"
|
||||
license=("CC-BY-4.0" "OFL-1.1")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/FortAwesome/Font-Awesome/archive/${pkgver}.tar.gz")
|
||||
sha512sums=("da8b9c42241e370330d01d73a8cd279bc16589bf94a6edbbd4b18924341d3db7e03258170cae31c43ee73285373544907ca31a27dbe71765cd7637531e80d418")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install -Dvm644 otfs/*.otf -t "${pkgdir}/usr/share/fonts/${pkgname}"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user