I've noticed other packages use the "epoch" variable in the PKGBUILD file to prevent warnings about downgrades. The wiki mentions it – https://wiki.archlinux.org/index.php/PKGBUILD#epoch – but gives a warning that "epoch should only be used when absolutely required to do so", and I'm not sure if this is in fact one such situation.
It might be worth looking into?
Edit: also, though you may not care about such a minor thing: in the pkgver function, the echo line seems to have a trailing space (i.e. it's currently written 'echo "$_major.$_minor.$_revision" ', with the space at the end), which shows up rather noticeably when using git diff.
Search Criteria
Package Details: kodi-git r67025.2e06c189dd88-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/kodi-git.git (read-only, click to copy) |
---|---|
Package Base: | kodi-git |
Description: | A software media player and entertainment hub for digital media (master branch, gles renderer) |
Upstream URL: | https://kodi.tv |
Licenses: | GPL2 |
Conflicts: | kodi, kodi-gbm, kodi-gles, kodi-wayland, kodi-x11 |
Provides: | kodi-common, kodi-gbm, kodi-wayland, kodi-x11 |
Submitter: | BlackIkeEagle |
Maintainer: | graysky |
Last Packager: | graysky |
Votes: | 85 |
Popularity: | 0.001142 |
First Submitted: | 2014-10-23 06:38 (UTC) |
Last Updated: | 2024-11-13 19:34 (UTC) |
Dependencies (105)
- bluez-libs (bluez-gitAUR)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- dav1d (dav1d-gitAUR)
- desktop-file-utils (desktop-file-utils-gitAUR)
- exiv2 (exiv2-gitAUR)
- fmt (fmt-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- lcms2 (lcms2-ff-gitAUR, lcms2-gitAUR, lcms2-ffAUR)
- libass (libass-gitAUR)
- libbluray (libbluray-gitAUR)
- libcdio (libcdio-gitAUR)
- libcec (libcec-gitAUR)
- libdisplay-info (libdisplay-info-gitAUR)
- libinput (libinput-noaccumAUR, libinput-multiplierAUR, libinput-three-finger-dragAUR)
- libmicrohttpd (libmicrohttpd-gitAUR)
- libnfs (libnfs-gitAUR)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR)
- libplist (libplist-gitAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libva (libva-gitAUR, intel-media-stack-binAUR, libva-headlessAUR)
- libvdpau
- libxkbcommon (libxkbcommon-gitAUR)
- libxrandr (libxrandr-gitAUR)
- libxslt (libxslt-gitAUR)
- lirc (lirc-gitAUR)
- lzo
- mariadb-libs (mariadb-libs-gitAUR, libmysqlclient81AUR, libmysqlclient80AUR, libmysqlclientAUR, mariadb-lts-libs)
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-amber)
- pcre
- python-pillow (python-pillow-gitAUR)
- python-pycryptodomex
- python-simplejson
- shairplay (shairplay-gitAUR)
- smbclient
- sndio (sndio-gitAUR)
- spdlog (spdlog-gitAUR)
- sqlite (sqlite-fossilAUR, libsql-sqlite3AUR)
- taglib (taglib-gitAUR)
- tinyxml (tinyxml-gitAUR)
- tinyxml2 (tinyxml2-gitAUR)
- waylandpp (waylandpp-gitAUR)
- bluez-libs (bluez-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- dav1d (dav1d-gitAUR) (make)
- doxygen (doxygen-gitAUR, doxygen-yapAUR) (make)
- exiv2 (exiv2-gitAUR) (make)
- fmt (fmt-gitAUR) (make)
- ghostscript (make)
- giflib (giflib-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glew (glew-libepoxyAUR, glew-waylandAUR, glew-osmesa-gitAUR, glew-wayland-gitAUR, glew-gitAUR) (make)
- gperf (gperf-gitAUR) (make)
- graphviz (make)
- gtest (googletest-gitAUR) (make)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR) (make)
- jdk21-openjdk (zing-21-binAUR, jdk21-temurinAUR) (make)
- libass (libass-gitAUR) (make)
- libbluray (libbluray-gitAUR) (make)
- libcdio (libcdio-gitAUR) (make)
- libcec (libcec-gitAUR) (make)
- libdisplay-info (libdisplay-info-gitAUR) (make)
- libgl (nvidia-340xx-utilsAUR, libglvnd-gitAUR, amdgpu-pro-oglpAUR, amdgpu-pro-oglp-legacyAUR, libglvnd) (make)
- libinput (libinput-noaccumAUR, libinput-multiplierAUR, libinput-three-finger-dragAUR) (make)
- libmicrohttpd (libmicrohttpd-gitAUR) (make)
- libmodplug (libopenmpt-modplugAUR, libmodplug-gitAUR) (make)
- libmpeg2 (make)
- libnfs (libnfs-gitAUR) (make)
- libplist (libplist-gitAUR) (make)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (make)
- libva (libva-gitAUR, intel-media-stack-binAUR, libva-headlessAUR) (make)
- libvdpau (make)
- libxkbcommon (libxkbcommon-gitAUR) (make)
- libxrandr (libxrandr-gitAUR) (make)
- libxslt (libxslt-gitAUR) (make)
- lirc (lirc-gitAUR) (make)
- lzo (make)
- mariadb-libs (mariadb-libs-gitAUR, libmysqlclient81AUR, libmysqlclient80AUR, libmysqlclientAUR, mariadb-lts-libs) (make)
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-amber) (make)
- meson (meson-gitAUR) (make)
- nasm (nasm-gitAUR) (make)
- pcre (make)
- pipewire (pipewire-gitAUR, pipewire-full-gitAUR) (make)
- python-pillow (python-pillow-gitAUR) (make)
- python-pybluez (python-pybluez-gitAUR) (make)
- python-pycryptodomex (make)
- python-setuptools (make)
- python-simplejson (make)
- rapidjson (rapidjson-gitAUR) (make)
- shairplay (shairplay-gitAUR) (make)
- smbclient (make)
- sndio (sndio-gitAUR) (make)
- spdlog (spdlog-gitAUR) (make)
- swig (swig-gitAUR) (make)
- taglib (taglib-gitAUR) (make)
- tinyxml (tinyxml-gitAUR) (make)
- tinyxml2 (tinyxml2-gitAUR) (make)
- upower (upower-gitAUR, upower-nocriticalAUR, upower-nosystemd-gitAUR) (make)
- wayland-protocols (wayland-protocols-gitAUR) (make)
- waylandpp (waylandpp-gitAUR) (make)
- bluez (bluez-gitAUR, bluez-ps3AUR) (optional) – Blutooth support
- pipewire (pipewire-gitAUR, pipewire-full-gitAUR) (optional) – PipeWire support
- pulseaudio (pulseaudio-dummyAUR, pulseaudio-gitAUR) (optional) – PulseAudio support
- python-pybluez (python-pybluez-gitAUR) (optional) – Bluetooth support
- upower (upower-gitAUR, upower-nocriticalAUR, upower-nosystemd-gitAUR) (optional) – Display battery level
Required by (0)
Sources (10)
- git+https://github.com/xbmc/xbmc.git#branch=master
- https://ffmpeg.org/releases/ffmpeg-7.1.tar.gz
- https://mirrors.kodi.tv/build-deps/sources/crossguid-ca1bf4b810e2d188d04cb6286f957008ee1b7681.tar.gz
- https://mirrors.kodi.tv/build-deps/sources/flatbuffers-23.3.3.tar.gz
- https://mirrors.kodi.tv/build-deps/sources/fstrcmp-0.7.D001.tar.gz
- https://mirrors.kodi.tv/build-deps/sources/libudfread-1.1.2.tar.gz
- libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz
- libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz
- libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz
- pr24972.patch
Latest Comments
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 54 Next › Last »
Throne3d commented on 2017-11-15 22:54 (UTC) (edited on 2017-11-15 22:56 (UTC) by Throne3d)
Lenovsky commented on 2017-11-12 00:10 (UTC)
The version format has changed, ignore the warning about downgrading package.
The new format is recommended by ArchWiki [1] and is following: RELEASE.rREVISION where REVISION is a number of revisions since beginning of the history.
[1] https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver.28.29_function
Niklas commented on 2017-10-24 11:28 (UTC) (edited on 2017-10-24 11:28 (UTC) by Niklas)
My pkgver uses this for kodi-git
printf "%s.%s.r%s.%s\n" "$(grep 'VERSION_MAJOR' version.txt | sed 's/[^0-9\.]*//g')" "$(grep 'VERSION_MINOR' version.txt | sed 's/[^0-9\.]*//g')" "$(git describe --tags --long | cut -d '-' -f 3)" "$(git rev-parse --short HEAD)"
result: 18.0.r4271.75bddb4e05
Lenovsky commented on 2017-10-23 23:23 (UTC) (edited on 2017-10-23 23:23 (UTC) by Lenovsky)
First of all, I'd like to thank BlackIkeEagle for all the work. I'll do my best to keep it on track.
Second, I wonder if there's a specific reason why we don't use recommended version format: RELEASE.rREVISION? [1]. Git tags won't work, but we can easily use version.txt [2]. It may look like this:
_major=$(cat version.txt | grep "VERSION_MAJOR" | sed 's/VERSION_MAJOR //')
_minor=$(cat version.txt | grep "VERSION_MINOR" | sed 's/VERSION_MINOR //')
_revision=$(printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)")
echo "$_major.$_minor.$_revision"
And last but not least:
@graysky Thanks for pointing it out - it's already updated.
[1] https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver.28.29_function
[2] https://github.com/xbmc/xbmc/blob/master/version.txt
graysky commented on 2017-10-22 13:36 (UTC) (edited on 2017-10-22 13:36 (UTC) by graysky)
@Lenovsky - I did it, and it builds and runs. Please see: https://gist.github.com/graysky2/8106be1c6021bc6e5cd6c890aa732360
graysky commented on 2017-10-22 12:43 (UTC) (edited on 2017-10-22 12:48 (UTC) by graysky)
You will probably want to update this to sync up with external ffmpeg. See the latest kodi PKGBUILD in [community].
cmake, deps, and makedepends are different
tixetsal commented on 2017-10-17 19:34 (UTC)
Thanks to BlackIkeEagle for all of the hard work, and long live Lenovsky!
a36233 commented on 2017-10-16 16:15 (UTC)
It fails building with:
kodi-git/src/xbmc/xbmc/guilib/FFmpegImage.cpp:254:3: error: ‘AVCodecParameters’ was not declared in this scope
AVCodecParameters* codec_params = m_fctx->streams[0]->codecpar;
kodi-git/src/xbmc/xbmc/guilib/FFmpegImage.cpp:254:22: error: ‘codec_params’ was not declared in this scope
AVCodecParameters* codec_params = m_fctx->streams[0]->codecpar;
kodi-git/src/xbmc/xbmc/guilib/FFmpegImage.cpp:264:7: error: ‘avcodec_parameters_to_context’ was not declared in this scope
if (avcodec_parameters_to_context(m_codec_ctx, codec_params) < 0)
kodi-git/src/xbmc/xbmc/guilib/FFmpegImage.cpp:395:9: error: ‘avcodec_send_frame’ was not declared in this scope
ret = avcodec_send_frame(avctx, frame);
...
Alad commented on 2017-09-28 11:01 (UTC)
All: if you use this package, please adopt it so others can continue to benefit.
BlackIkeEagle commented on 2017-09-23 06:07 (UTC)
I just disowned this, I don't have enough time to keep up with everything.
Pinned Comments
graysky commented on 2022-06-11 11:49 (UTC)
@laichiaheng - kodi is bound to a specific version of ffmpeg which is generally older than Arch's package. We avoid incompatibilities by using that specific version (ie internal ffmpeg). Recommend that you build kodi in clean chroot. See: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
I wrote a script that automates much of that called clean-chroot-manager offered here in the AUR.