Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
976 B

7 years ago
7 years ago
7 years ago
7 years ago
  1. # Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
  2. pkgname=kde-servicemenus-mediainfo
  3. pkgver=1
  4. pkgrel=1
  5. pkgdesc="A KDE service menus for media information (KDE5 Dolphin action)"
  6. arch=('any')
  7. url="https://store.kde.org/p/998430"
  8. license=('GPL')
  9. depends=('ffmpeg' 'dolphin' 'kdialog')
  10. source=(
  11. 'https://dl.opendesktop.org/api/files/download/id/1460731765/107335-AudioVideoinfo-qt.desktop'
  12. 'program-cleanup.patch'
  13. )
  14. md5sums=('bf395c70ce7a6f69352ce21ab6cd168e'
  15. '10c6e8c32362917b96e57247219af126')
  16. prepare() {
  17. mkdir -p ${srcdir}/${pkgname}
  18. cp ${srcdir}/107335-AudioVideoinfo-qt.desktop ${srcdir}/${pkgname}
  19. cd ${srcdir}/${pkgname}
  20. patch -Np1 -i "${srcdir}/program-cleanup.patch"
  21. }
  22. package() {
  23. mv ${srcdir}/${pkgname}/107335-AudioVideoinfo-qt.desktop ${srcdir}/${pkgname}/mediainfo-qt.desktop
  24. mkdir -p ${pkgdir}/usr/share/kservices5/ServiceMenus/
  25. install -m 644 ${srcdir}/${pkgname}/*.desktop ${pkgdir}/usr/share/kservices5/ServiceMenus/
  26. }