autobuild3 icon indicating copy to clipboard operation
autobuild3 copied to clipboard

PM: PKGRECOM: What will this package enhance?

Open Artoria2e5 opened this issue 8 years ago • 3 comments

This definition is present in pacman, in a form of:

optdepends=('cups: printing support'
            'sane: scanners support'
            'libgphoto2: digital cameras support'
            'alsa-lib: sound support'
            'giflib: GIF images support'
            'libjpeg: JPEG images support'
            'libpng: PNG images support')

Sadly, with our current IFS-based processing, the only possible way is:

PKGRECOM='cups sane libgphoto alsa-lib giflib libjpeg libpng'
PKGRECOM_INFO=('printing support' 'scanners support'  )# ... 

That is quite unsatisfactory.

Artoria2e5 avatar Aug 16 '15 06:08 Artoria2e5

autobulid/info file to provide a file with multiple columns?

recommend    libjpeg-turbo    provides support to read JPEG files
recommend    nodejs           JavaScript style bindings

Where...

  • Column one sets the variable
  • Column two provides the packages
  • Column three provides more information on the addition

a blind thought...

MingcongBai avatar Aug 18 '15 04:08 MingcongBai

worse.(

Artoria2e5 avatar Aug 18 '15 08:08 Artoria2e5

worse.(

Fine... You said use arrays, but can you explain that idea here?

MingcongBai avatar Aug 18 '15 16:08 MingcongBai