16行目: 16行目:
  sudo zypper install dbus-1-devel libexpat-devel systemd-devel glib2-devel gobject-introspection-devel mozjs78-devel
  sudo zypper install dbus-1-devel libexpat-devel systemd-devel glib2-devel gobject-introspection-devel mozjs78-devel
<br>
<br>
[https://www.freedesktop.org/software/polkit/releases/ PolKitの公式Webサイト]または[https://gitlab.freedesktop.org/polkit/polkit GitLab]にアクセスして、ソースコードをダウンロードする。<br>
[https://www.freedesktop.org/software/polkit/releases/ PolKitの公式Webサイト]または[https://gitlab.freedesktop.org/polkit/polkit/-/tags GitLab]にアクセスして、ソースコードをダウンロードする。<br>
ダウンロードしたファイルを解凍する。<br>
ダウンロードしたファイルを解凍する。<br>
  tar xf polkit-<バージョン>.tar.gz
  tar xf polkit-<バージョン>.tar.gz
  cd polkit-<バージョン>
  cd polkit-<バージョン>
<br>
また、<code>git clone</code>コマンドを実行して、PolKitのソースコードをダウンロードする。<br>
git clone https://gitlab.freedesktop.org/polkit/polkit.git
cd polkit
<br>
<br>
PolKitをビルドおよびインストールする。<br>
PolKitをビルドおよびインストールする。<br>
また、設定可能なオプションの一覧は、<code>meson configure</code>コマンドで取得することができる。<br>
設定可能なオプションの一覧は、<code>meson configure</code>コマンドで取得することができる。<br>
  meson setup build --prefix=<PolKitのインストールディレクトリ> -Dexample=true
  meson setup build --prefix=<PolKitのインストールディレクトリ> -Dexample=true
  meson compile -C build
  meson compile -C build