archlinuxcn / lilac

Lilac is the build bot for archlinuxcn
GNU General Public License v3.0
114 stars 40 forks source link

Feature Request: 自动添加optdepends到makedepends #67

Closed petronny closed 5 years ago

petronny commented 6 years ago

AUR上的很多包的某些支持都是只写optdepends的 如果能自动加到makedepends就能打开这些支持 作为binary源应该还是默认打开所有支持的吧?

yuyichao commented 6 years ago

这属于为了写的不对的 PKGBUILD 让正确的 PKGBUILD 不能正常工作了. 如果 AUR 为了源码编译方便缺少 makedepends 的话只要支持在 lilac.py 里面另加编译依赖就好, 不应该从 optdepends 猜.

lilydjwg commented 6 years ago

可以添加一个将 optdepends 添加到 makedepends 的 API,由 lilac.py 自行决定是否使用。