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

Install Camera Flatpak #247

Merged
merged 7 commits into from
Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: io.elementary.camera
Section: x11
Maintainer: Cody Garver <cody@elementary.io>
Build-Depends: appstream,
meisenzahl marked this conversation as resolved.
Show resolved Hide resolved
debhelper (>= 9),
debhelper (>= 10.5.1),
desktop-file-utils,
gettext,
libcanberra-dev,
Expand All @@ -20,7 +20,7 @@ Homepage: https://github.com/elementary/camera
Package: io.elementary.camera
Architecture: any
Priority: optional
Depends: gstreamer1.0-gtk3, ${misc:Depends}, ${shlibs:Depends}
Depends: flatpak, ${misc:Depends}
Conflicts: pantheon-camera, snap-photobooth
Replaces: pantheon-camera, snap-photobooth
Description: Camera app for Pantheon
Expand Down
1 change: 0 additions & 1 deletion debian/io.elementary.camera.install

This file was deleted.

10 changes: 10 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

set -e

flatpak remote-add --if-not-exists --system appcenter https://flatpak.elementary.io/repo.flatpakrepo
flatpak install --system --noninteractive appcenter io.elementary.camera//stable || true

#DEBHELPER#

exit 0
9 changes: 9 additions & 0 deletions debian/prerm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

set -e

flatpak remove --system --noninteractive io.elementary.camera//stable || true

#DEBHELPER#

exit 0
3 changes: 0 additions & 3 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ export DEB_BUILD_OPTIONS=nocheck

%:
dh $@ --buildsystem=meson

override_dh_missing:
dh_missing --fail-missing --list-missing