diff options
Diffstat (limited to 'repo/apps')
-rw-r--r-- | repo/apps/cava/cava.xibuild | 27 | ||||
-rw-r--r-- | repo/apps/chromium/chromium.xibuild | 2 | ||||
-rw-r--r-- | repo/apps/firefox/firefox.xibuild | 41 | ||||
-rw-r--r-- | repo/apps/gimp/gimp.xibuild | 27 | ||||
-rw-r--r-- | repo/apps/sxiv/sxiv.xibuild | 18 |
5 files changed, 95 insertions, 20 deletions
diff --git a/repo/apps/cava/cava.xibuild b/repo/apps/cava/cava.xibuild new file mode 100644 index 0000000..9a60b50 --- /dev/null +++ b/repo/apps/cava/cava.xibuild @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME="cava" +DESC="Console-based Audio Visualizer for ALSA" + +MAKEDEPS="make " +DEPS="alsa-lib fftw iniparser musl ncurses " + +PKG_VER=0.8.2 +SOURCE="https://github.com/karlstav/cava/archive/$PKG_VER.tar.gz" + +prepare () { + ./autogen.sh +} + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/apps/chromium/chromium.xibuild b/repo/apps/chromium/chromium.xibuild index 2edfbd3..afe4bb3 100644 --- a/repo/apps/chromium/chromium.xibuild +++ b/repo/apps/chromium/chromium.xibuild @@ -3,7 +3,7 @@ NAME="chromium" DESC="Chromium webbrowser (ungoogled)" -MAKEDEPS="meson ninja hwids compiler-rt lld pciutils" +MAKEDEPS="meson ninja hwids lld pciutils" DEPS="alsa-lib at-spi2-atk at-spi2-core atk cairo dbus eudev expat ffmpeg4 flac font-opensans fontconfig freetype2 glib gtk3 harfbuzz lcms2 libdrm libevent libjpeg-turbo libpng pulseaudio libwebp libx11 libxcb libxcomposite libxdamage libxext libxfixes libxkbcommon libxml2 libxrandr libxslt mesa musl nspr nss opus pango re2 snappy wayland xdg-utils nodejs" PKG_VER=100.0.4896.127 diff --git a/repo/apps/firefox/firefox.xibuild b/repo/apps/firefox/firefox.xibuild index a24eb51..ac49349 100644 --- a/repo/apps/firefox/firefox.xibuild +++ b/repo/apps/firefox/firefox.xibuild @@ -3,14 +3,28 @@ NAME="firefox" DESC="Firefox web browser" -MAKEDEPS="make rustc cbindgen wasi-sdk" -DEPS="alsa-lib atk cairo dbus ffmpeg fontconfig freetype2 gdk-pixbuf glib gtk3 icu libevent libffi libpng libvpx libwebp libx11 libxcb libxcomposite libxdamage libxext libxfixes libxrandr musl nspr nss pango pixman zlib " +MAKEDEPS="make rust cbindgen" +DEPS="nodejs alsa-lib atk cairo dbus ffmpeg fontconfig freetype2 gdk-pixbuf glib gtk3 icu libevent libffi libpng libvpx libwebp libx11 libxcb libxcomposite libxdamage libxext libxfixes libxrandr musl nspr nss pango pixman zlib dbus-glib" -PKG_VER=99.0.1 -releasedate=2022-04-12 +PKG_VER=100.0.2 SOURCE="https://ftp.mozilla.org/pub/firefox/releases/$PKG_VER/source/firefox-$PKG_VER.source.tar.xz" -ADDITIONAL="stab.h sandbox-sched_setscheduler.patch sandbox-largefile.patch sandbox-fork.patch mallinfo.patch fix-webrtc-glibcisms.patch fix-rust-target.patch fix-fortify-system-wrappers.patch firefox-safe.desktop disable-neon-in-aom.patch disable-moz-stackwalk.patch avoid-redefinition.patch allow-custom-rust-vendor.patch " +ADDITIONAL=" +allow-custom-rust-vendor.patch +avoid-redefinition.patch +disable-moz-stackwalk.patch +disable-neon-in-aom.patch +firefox-safe.desktop +firefox.desktop +fix-fortify-system-wrappers.patch +fix-rust-target.patch +fix-webrtc-glibcisms.patch +mallinfo.patch +sandbox-fork.patch +sandbox-largefile.patch +sandbox-sched_setscheduler.patch +stab.h +" prepare () { apply_patches @@ -39,12 +53,12 @@ build () { export CXX="clang++" export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/firefox" - ../mach configure \ + ../mach configure \ + --without-wasm-sandboxed-libraries \ --prefix=/usr \ --disable-elf-hack \ --enable-rust-simd \ --enable-sandbox \ - \ --disable-cargo-incremental \ --disable-crashreporter \ --disable-install-strip \ @@ -54,14 +68,12 @@ build () { --disable-strip \ --disable-tests \ --disable-updater \ - \ --enable-alsa \ --enable-dbus \ --enable-default-toolkit=cairo-gtk3-wayland \ --enable-dom-streams \ --enable-ffmpeg \ --enable-hardening \ - --enable-linker=lld \ --enable-necko-wifi \ --enable-official-branding \ --enable-optimize="$CFLAGS -O2" \ @@ -69,7 +81,6 @@ build () { --enable-release \ --enable-system-ffi \ --enable-system-pixman \ - \ --with-distribution-id=xilinux \ --with-libclang-path=/usr/lib \ --with-system-ffi \ @@ -83,8 +94,7 @@ build () { --with-system-png \ --with-system-webp \ --with-system-zlib \ - --with-unsigned-addon-scopes=app,system \ - --without-wasm-sandboxed-libraries + --with-unsigned-addon-scopes=app,system && ../mach build } @@ -128,11 +138,4 @@ package () { pref("extensions.autoDisableScopes", 11); pref("extensions.shownSelectionUI", true); EOF - - # Generate appdata file - mkdir "$PKG_DEST"/usr/share/metainfo/ - export VERSION="$PKG_VER" - export DATE="$releasedate" - envsubst < "$builddir"/taskcluster/docker/firefox-flatpak/org.mozilla.firefox.appdata.xml.in > "$PKG_DEST"/usr/share/metainfo/org.mozilla.firefox.appdata.xml - } diff --git a/repo/apps/gimp/gimp.xibuild b/repo/apps/gimp/gimp.xibuild new file mode 100644 index 0000000..f063a19 --- /dev/null +++ b/repo/apps/gimp/gimp.xibuild @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME="gimp" +DESC="GNU Image Manipulation Program" + +MAKEDEPS="make gettext" +DEPS="babl cairo fontconfig freetype2 gdk-pixbuf gexiv2 glib gtk2 harfbuzz json-glib lcms2 bzip2 libexecinfo intltool libjpeg-turbo libmypaint mypaint-brushes libpng librsvg libwebp libx11 libxext libxfixes libxmu libxpm musl pango poppler-glib gegl tiff xz zlib python glib-networking poppler-data" + +PKG_VER=2.10.30 +SOURCE="https://download.gimp.org/pub/gimp/v${PKG_VER%.*}/gimp-$PKG_VER.tar.bz2" + +build () { + ./configure \ + --disable-dependency-tracking \ + --sysconfdir=/etc \ + --enable-mp \ + --enable-gimp-console \ + --disable-python \ + --without-aa \ + --disable-check-update + + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/apps/sxiv/sxiv.xibuild b/repo/apps/sxiv/sxiv.xibuild new file mode 100644 index 0000000..a4afd5d --- /dev/null +++ b/repo/apps/sxiv/sxiv.xibuild @@ -0,0 +1,18 @@ +#!/bin/sh + +NAME="sxiv" +DESC="Simple X Image Viewer" + +MAKEDEPS="make" +DEPS="fontconfig giflib imlib2 libexif libx11 libxft musl " + +PKG_VER=26 +SOURCE="https://github.com/muennich/sxiv/archive/v$PKG_VER.tar.gz" + +build () { + make PREFIX=/usr +} + +package () { + make PREFIX=/usr DESTDIR=$PKG_DEST install +} |