Commit Graph

6 Commits

Author SHA1 Message Date
Michael Forney
46e64ebcc0 mpv: Update to 0.27.0 2017-09-25 19:23:06 -07:00
Michael Forney
14b1fe37ed mpv: Update to 0.26.0 2017-08-04 00:19:39 -07:00
Michael Forney
e06e633c0a mpv: Update to 0.25.0 2017-06-05 21:45:55 -07:00
Michael Forney
bdbcebab86 mpv: Update to 0.24.0 2017-02-12 23:03:22 -08:00
Michael Forney
b83a0e6ee3 mpv: Update to 0.23.0 2017-01-01 05:21:38 -08:00
Michael Forney
293f5a93b7 Move to flat package hierarchy
Note to self: never try to move submodules again

To migrate your existing submodules (more or less):

	set -x
	set -e

	mkdir .git/modules/pkg
	for old in */*/src ; do
	        new="pkg/${old#*/}"
	        if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
			continue
		fi
		git -C ".git/modules/$old" config core.worktree "../../../../../$new"
		rmdir "$new"
		mv "$old" "$new"
	        sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp"
	        mv "$new/.git.tmp" "$new/.git"
		mkdir ".git/modules/${new%/src}"
	        mv ".git/modules/$old" ".git/modules/$new"

		rm "${old%/src}"/*.ninja
		mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
		rmdir "${old%/src}" || true
	done
	sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp
	mv .git/config.tmp .git/config
2016-12-13 23:10:30 -08:00