Username: Password: Remember me
Search - Advanced
Package Details

android-studio 4.1.1.0-1
http://tools.android.com/
The official Android IDE (Stable branch)

Category: devel

Submitter: javimalvarez
Maintainer: FranzMari
Votes: 11

License: Apache

Last Updated: 2021/01/01 - 09:40:34 +0000
First Submitted: 2013/05/16 - 05:00:33 +0000

Tarball :: PKGBUILD

Dependenciesalsa-lib freetype2 libxrender libxtst 

Sources

Comment by: sampla on Sun, 09 Aug 2020 15:18:44 +0000


I got the package built with the changes in my previous comment. To see how justified it was to change the package's license from "Apache" to "Custom" (since Wikipedia lists Android Studio's license as "Freeware + Source code"), I checked the licenses files in the package.…

Aside from the terms I did not read at https://developer.android.com/studio/terms.html, running a messy shell "one-liner" to sort through all licenses in the package shows what appears to be two proprietary bundled libraries, namely DNG SDK and OROMatcher.

Shell "one-liner": xs=($(pacman -Qlq android-studio | grep -i licen)); for x in "${xs[@]}"; do ([ -f "$x" ] && grep -qiE 'Apache License|Open Source License|GNU Public License|GENERAL PUBLIC LICENSE|Software without restriction|Eclipse Public License|BSD license|source code must retain the above copyright|Common Public License|MOZILLA PUBLIC LICENSE|The FreeType Project LICENSE|"Old MIT" license|Altered source versions must be plainly marked as such|Boost Software License|The Apache Software Foundation|Apache Ant 1.6.1 license is located in' "$x") || echo "$x"; done

(1. Make a list of files that contain "licen" in the path (matches both spellings of licence). 2. Loop through them. 3. Make sure it's a file and contains a known license-indicating string. 4. If not, show the filename.)

Ignoring directories, this leaves three license files unmatched:

/opt/android-studio/license/dev01_license.txt
/opt/android-studio/license/libdng_sdk.txt
/opt/android-studio/license/oromatcher_license.txt

The first one is an empty file(!). The other two are proprietary. Thus this package is not fully open source.

Comment by: sampla on Sun, 09 Aug 2020 13:03:32 +0000


PKGBUILD changes (checksum taken from downloads page; currently untested because it's 0.9 GiB and I'm not on fibre):

pkgver=4.0.1.0
_build=193.6626763

license=('Custom')

sha256sums=('f2f82744e735eae43fa018a77254c398a3bab5371f09973a37483014b73b7597'
            '73cd2dde1d0f99aaba5baad1e2b91c834edd5db3c817f6fb78868d102360d3c4')