Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
6 changes: 6 additions & 0 deletions debian/agm-dbus.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<busconfig>
<policy user="root">
<allow own="org.Qti.AgmService"/>
<allow send_type="method_call"/>
</policy>
</busconfig>
17 changes: 17 additions & 0 deletions debian/agm_server.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[Unit]
Description=Agm Server Init

[Service]
Type=dbus
User=root
Group=root
BusName=org.Qti.AgmService
SystemdService=dbus-org.Qti.AgmService.service
Restart=always
ExecStartPre=/bin/sleep 7
ExecStart=/usr/bin/agm_server -s
ExecReload=/usr/bin/agm_server -r
NotifyAccess=main

[Install]
WantedBy=multi-user.target
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
audioreach-graphmgr (1.0.0) unstable; urgency=low

* Initial release.

-- Radhika Garg <radhgarg@qti.qualcomm.com> Mon, 15 Dec 2025 15:19:40 +0530
26 changes: 26 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Source: audioreach-graphmgr
Section: misc
Priority: optional
Maintainer: Radhika Garg <radhgarg@qti.qualcomm.com>
Rules-Requires-Root: no
Build-Depends: debhelper-compat (= 13),
libglib2.0-0,
libglib2.0-dev,
pkg-config,
audioreach-graphservice,
audioreach-conf,
libtinyalsa2,
libtinyalsa-dev,
libexpat1-dev,
git,
libssl-dev,
ca-certificates,
autotools-dev
Standards-Version: 4.6.2


Package: audioreach-graphmgr
Architecture: arm64
Depends: ${misc:Depends}
Description: Qualcomm audio graphservice

3 changes: 3 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Copyright (c) Qualcomm Technologies, Inc. Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause-Clear

31 changes: 31 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/usr/bin/make -f

%:
dh $@

override_dh_auto_configure:
dh_auto_configure -- --with-glib --with-syslog --with-no-ipc



override_dh_auto_build:
git clone https://github.com/AudioReach/audioreach-graphmgr.git audioreach-graphmgr
cd audioreach-graphmgr && git checkout master

override_dh_auto_install:
dh_auto_install
# Additional manual installation that Yocto's do_install:append did
ifeq ($(NO_IPC),)
# Install systemd service
install -D -m0644 debian/agm_server.service \
debian/agm-server/etc/systemd/system/agm_server.service

# Enable service by default (multi-user.target.wants)
install -d debian/agm-server/etc/systemd/system/multi-user.target.wants
ln -sf /etc/systemd/system/agm_server.service \
debian/agm-server/etc/systemd/system/multi-user.target.wants/agm_server.service

# Install dbus config
install -D -m0644 debian/agm-dbus.conf \
debian/agm-server/etc/dbus-1/system.d/agm-dbus.conf
endif
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
Loading