Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add libunity #55

Merged
merged 4 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions libunity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: libunity
buildsystem: autotools
build-options:
prepend-path: /usr/lib/sdk/vala/bin
prepend-ld-library-path: /usr/lib/sdk/vala/lib
env:
ACLOCAL_FLAGS: "-I /app/share/aclocal"
sources:
- type: archive
url: https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/libunity/7.1.4+19.04.20190319-0ubuntu1/libunity_7.1.4+19.04.20190319.orig.tar.gz
sha256: 56ecb380d74bf74caba193d9e8ad6b0c85ccf9eeb461bc9731c2b8636e1f1492

- type: patch
path: patches/libunity/0001-Fix-FTB-with-recent-vala-requiring-non-public-abstra.patch

- type: patch
path: patches/libunity/libunity-7.1.4-vala-053.patch
cleanup:
- /bin
- /share/unity
- /share/glib-2.0
- /share/unity-scopes
modules:
- name: gnome-common
buildsystem: autotools
config-opts:
- --disable-schemas-compile
- --disable-silent-rules
- --disable-static
sources:
- type: archive
url: https://download.gnome.org/sources/gnome-common/3.7/gnome-common-3.7.4.tar.xz
sha256: 2af2d97010d2a9aeb3b99dd2ce07d1ef023e15a27b412ffe4f067f016ff7117b
cleanup:
- "*"

- name: automake
buildsystem: simple
build-commands:
- ln -s /usr/bin/automake ${FLATPAK_DEST}/bin/automake-1.13
cleanup:
- "*"

- shared-modules/intltool/intltool-0.51.json

- name: aclocal
buildsystem: simple
build-commands:
- ln -s /usr/bin/aclocal ${FLATPAK_DEST}/bin/aclocal-1.13
cleanup:
- "*"

- name: dee
buildsystem: autotools
sources:
- type: archive
url: https://launchpad.net/dee/1.0/1.2.7/+download/dee-1.2.7.tar.gz
sha256: 1bf0336ce684aa0f48d6eae2469628c1a9b43695a77443bc31a5790aa673bf8a

- type: patch
path: patches/dee/dee-1.2.7-deprecated-g_type_class_add_private.patch

- type: patch
path: patches/dee/dee-1.2.7-fix-g_string_free-usage.patch

- type: patch
path: patches/dee/dee-1.2.7-gcc6-fixes.patch
cleanup:
- /bin

- name: libdbusmenu-glib
buildsystem: autotools
build-options:
cflags: "-Wno-error"
env:
HAVE_VALGRIND_FALSE: "#"
HAVE_VALGRIND_TRUE: ""
config-opts:
- --disable-static
- --disable-gtk-doc
- --enable-introspection=yes
TingPing marked this conversation as resolved.
Show resolved Hide resolved
- --disable-vala
- --disable-dumper
- --disable-tests
- --with-gtk=3
sources:
- type: archive
url: https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz
sha256: b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a

- type: patch
path: patches/libdbusmenu-glib/no-Werror.patch
4 changes: 4 additions & 0 deletions org.electronjs.Electron2.BaseApp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
runtime-version: '23.08'
separate-locales: false
sdk-extensions:
- org.freedesktop.Sdk.Extension.vala
cleanup:
- /include
- /lib/pkgconfig
Expand Down Expand Up @@ -36,6 +38,8 @@ modules:
url: https://download.gnome.org/sources/libnotify/0.8/libnotify-0.8.3.tar.xz
sha256: ee8f3ef946156ad3406fdf45feedbdcd932dbd211ab4f16f75eba4f36fb2f6c0

- libunity.yml

- name: gvfs-trash
buildsystem: simple
build-commands:
Expand Down
Loading