AOSC-Archive / autobuild3

AOSC OS package maintenance toolkit (version 3)
https://aosc.io
GNU General Public License v2.0
24 stars 17 forks source link

PM: PKGRECOM: What will this package enhance? #57

Open Artoria2e5 opened 8 years ago

Artoria2e5 commented 8 years ago

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.

MingcongBai commented 8 years ago

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...

a blind thought...

Artoria2e5 commented 8 years ago

worse.(

MingcongBai commented 8 years ago

worse.(

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