rom-properties/appveyor-dpkg.sh
David Korth de43b12882 [tracker] Add support for tracker-3.0.
Besides the filename and path changes, these changes were needed:

- Tracker 3.3.0-alpha added a function tracker_file_get_content_identifier(),
  which is used for the content identifier. I'm only calling this function
  if we're using API version 3. (TODO: Only for 3.3.0 or later, maybe.)

- tracker_file_get_content_identifier() is part of libtracker-miners-common,
  which is statically linked into every extractor. As such, we can't simply
  dlsym() the function from libtracker_extract. (We *could* get it from one
  of the existing extractors, since they're exporting all of the symbols,
  but that's an implementation detail that could change later.)

- tracker-file-utils.c implements tracker_file_get_content_identifier().
  This file requires libblkid and (optionally) BTRFS_IOC_INO_LOOKUP.
  CMakeLists.txt now checks for those and links in libblkid.

- Add libblkid to other relevant files, plus FindBlkid.cmake.

- Rename the .rule files to 14- so they take precedence over tracker-3's
  own 15-executable.rule and 15-games.rule.
2024-03-29 22:53:45 -04:00

42 lines
698 B
Bash
Executable File

#!/bin/sh
set -ev
add-apt-repository --remove "deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main"
apt-get update
apt-get -y install \
libcurl4-openssl-dev \
zlib1g-dev \
libpng-dev \
libjpeg-dev \
nettle-dev \
pkg-config \
libtinyxml2-dev \
gettext \
libseccomp-dev \
\
libzstd-dev \
liblz4-dev \
liblzo2-dev \
\
libqt4-dev \
kdelibs5-dev \
\
qtbase5-dev \
qttools5-dev-tools \
extra-cmake-modules \
libkf5kio-dev \
libkf5widgetsaddons-dev \
libkf5filemetadata-dev \
\
libglib2.0-dev \
libgtk2.0-dev \
libgdk-pixbuf2.0-dev \
libthunarx-2-dev \
libcanberra-dev \
libgsound-dev \
libgtk-3-dev \
libcairo2-dev \
libnautilus-extension-dev \
libblkid-dev