cinnamon done (I hope)
This commit is contained in:
1 parent
7fef3d6d4c
commit
82f555518e
3 files changed
+13
-8
No files matched your search
@@ -12,7 +12,7 @@ depends=(nm-applet accountsservice cinnamon-control-center cinnamon-menus
|
||||
cinnamon-session cinnamon-settings-daemon cjs gnome-backgrounds gsound gstreamer libcroco
|
||||
libgnomekbd libkeybinder3 librsvg muffin nemo polkit-gnome py3-cairo py3-dbus py3-pygobject
|
||||
py3-pam py3-pexpect py3-pillow py3-inotify py3-tz py3-tinycss2 py3-xapp py3-requests
|
||||
timezonemap xapp xdg-desktop-portal-xapp
|
||||
timezonemap xapp xdg-desktop-portal-xapp libxkbfile
|
||||
)
|
||||
makedepends=(meson gobject-introspection intltool)
|
||||
md5sums=('f1984b3296868dba9bb481faa3dbaf50')
|
||||
@@ -34,5 +34,7 @@ build(){
|
||||
|
||||
package(){
|
||||
ninja -C build install $jobs
|
||||
# remove broken symlink
|
||||
rm -f $DESTDIR/etc/xdg/menus/cinnamon-applications-merged
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('GPL')
|
||||
source=("https://github.com/linuxmint/cjs/archive/refs/tags/${version}.tar.gz")
|
||||
depends=(js102)
|
||||
depends=(mozjs102)
|
||||
makedepends=()
|
||||
md5sums=('991e1bbf2ebf7cca4e93cfce66c4a876')
|
||||
group=(gnome.extra)
|
||||
|
||||
@@ -25,19 +25,22 @@ export CXX=clang++
|
||||
export CFLAGS="$CFLAGS -O2"
|
||||
export CXXFLAGS="$CXXFLAGS -O2"
|
||||
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
|
||||
export MOZBUILD_STATE_PATH="$srcdir/mozbuild"
|
||||
export MOZBUILD_STATE_PATH="$HOME/mozbuild"
|
||||
export MOZ_NOSPAM=1
|
||||
export PYTHON=/usr/bin/python3
|
||||
export RUST_TARGET="$CTARGET"
|
||||
export RUST_TARGET="x86_64"
|
||||
export SHELL=/bin/ash
|
||||
export RUSTFLAGS="$RUSTFLAGS -C debuginfo=1"
|
||||
|
||||
|
||||
prepare(){
|
||||
echo "ac_add_options --prefix=/usr" >> ./mozconfig.opt
|
||||
}
|
||||
|
||||
build(){
|
||||
./mach build --directory $DESTDIR
|
||||
./mach build
|
||||
}
|
||||
|
||||
package(){
|
||||
cd obj
|
||||
cd obj-opt
|
||||
make DESTDIR="$DESTDIR" install
|
||||
rm -f "$DESTDIR"/usr/lib/*.ajs
|
||||
}
|
||||
Reference in new issue
Block a user