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
Search Criteria
Package Details: kodi-git r67165.504c69cc3b2b-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.000137 |
First Submitted: | 2014-10-23 06:38 (UTC) |
Last Updated: | 2024-12-08 16:30 (UTC) |
Dependencies (105)
- bluez-libs (bluez-gitAUR)
- curl (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-multiplierAUR, libinput-noaccumAUR, libinput-three-finger-dragAUR, libinput-gitAUR)
- libmicrohttpd (libmicrohttpd-gitAUR)
- libnfs (libnfs-gitAUR)
- libpipewire (libpipewire-full-gitAUR, libpipewire-gitAUR)
- libplist (libplist-gitAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libva (libva-gitAUR, intel-media-stack-binAUR, libva-headlessAUR)
- Show 85 more dependencies...
Required by (0)
Sources (9)
- 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
Latest Comments
« First ‹ Previous 1 .. 11 12 13 14 15 16 17 18 19 20 21 .. 55 Next › Last »
Niklas commented on 2017-10-24 11:28 (UTC) (edited on 2017-10-24 11:28 (UTC) by Niklas)
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.
Niklas commented on 2017-09-11 21:46 (UTC)
kodi-dev-git is part of this package, every time you install kodi-git makepkg will also build kodi-dev-git, which contains the files necessary for plugin development etc. The "dev" does not stand for "development version".
It apparently is actively maintained since the maintainer keeps committing an updated version number every day, which is redundant since the pkgver function will update it anyway.
dschrempf commented on 2017-09-11 17:22 (UTC)
@raneon: I noticed that `wayland++-git` is orphaned, but there is `waylandpp` or `waylandpp-git`.
Also, there are two (redundant?) packages kodi-git and kodi-dev-git. Is there a difference?
Further, equests from April (@a36233, `rapidjson-git` -> `rapidjson`) as well as August (@kevku) have not been answered nor implemented by the package manager. Is this package still actively maintained?
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.