Skip to content

Commit

Permalink
[profiled] use ogg instead of wav (which doens't exists)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlich committed Aug 13, 2021
1 parent 900f538 commit 11b000e
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 2 deletions.
81 changes: 81 additions & 0 deletions profiled-git/0001-use-ogg-instead-of-wav.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
From b1cbbbcb913097d19145fd6e69bddf3ed51c429d Mon Sep 17 00:00:00 2001
From: Jozef Mlich <jmlich83@gmail.com>
Date: Fri, 13 Aug 2021 08:52:09 +0000
Subject: [PATCH] use ogg instead of wav

---
ini/10.meego_default.ini | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/ini/10.meego_default.ini b/ini/10.meego_default.ini
index 1f0fda4..85b1731 100644
--- a/ini/10.meego_default.ini
+++ b/ini/10.meego_default.ini
@@ -24,19 +24,19 @@ calendar.alarm.enabled = BOOLEAN

[fallback]

-ringing.alert.tone = ring-1.wav
+ringing.alert.tone = ring-1.ogg
ringing.alert.type = Ringing
ringing.alert.volume = 50

vibrating.alert.enabled = On

-sms.alert.tone = ring-4.wav
+sms.alert.tone = ring-4.ogg
sms.alert.volume = 50

-im.alert.tone = ring-4.wav
+im.alert.tone = ring-4.ogg
im.alert.volume = 50

-email.alert.tone = alert-3.wav
+email.alert.tone = alert-3.ogg
email.alert.volume = 50

keypad.sound.level = 0
@@ -70,13 +70,13 @@ ringing.alert.volume = 35

vibrating.alert.enabled = Off

-sms.alert.tone = default-beep.wav
+sms.alert.tone = default-beep.ogg
sms.alert.volume = 35

-im.alert.tone = default-beep.wav
+im.alert.tone = default-beep.ogg
im.alert.volume = 35

-email.alert.tone = default-beep.wav
+email.alert.tone = default-beep.ogg
email.alert.volume = 35

keypad.sound.level = 0
@@ -88,19 +88,19 @@ calendar.alarm.enabled = On

[outdoors]

-ringing.alert.tone = ring-1.wav
+ringing.alert.tone = ring-1.ogg
ringing.alert.type = Ringing
ringing.alert.volume = 90

vibrating.alert.enabled = On

-sms.alert.tone = ring-4.wav
+sms.alert.tone = ring-4.ogg
sms.alert.volume = 90

-im.alert.tone = ring-4.wav
+im.alert.tone = ring-4.ogg
im.alert.volume = 90

-email.alert.tone = alert-3.wav
+email.alert.tone = alert-3.ogg
email.alert.volume = 90

keypad.sound.level = 1
--
2.32.0

7 changes: 5 additions & 2 deletions profiled-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

pkgname=profiled-git
pkgver=1.0.12.r0.g32b02ae
pkgrel=1
pkgrel=2
pkgdesc="Sailfish Profile daemon, manages user settings"
arch=('x86_64' 'aarch64')
url="https://github.com/sailfishos/profiled"
Expand All @@ -14,8 +14,9 @@ makedepends=('git' 'doxygen')
provides=("${pkgname%-git}")
source=(
"${pkgname}::git+${url}"
'0001-use-ogg-instead-of-wav.patch'
)
sha256sums=('SKIP')
sha256sums=('SKIP' 'SKIP')

pkgver() {
cd "${srcdir}/${pkgname}"
Expand All @@ -28,6 +29,8 @@ pkgver() {
prepare() {
cd "$srcdir/${pkgname}"
git submodule update --init --recursive
patch -p1 --input="${srcdir}/0001-use-ogg-instead-of-wav.patch"

}

build() {
Expand Down

0 comments on commit 11b000e

Please sign in to comment.